CSCI 112
Lab 10 - Linked Lists


Objectives:


Readings:


Deliverables: (DUE BY MIDNIGHT ON 04/26/2013)


TO DO (for this lab)

of students' classes.

Order your list by course numbers. Assume all of the courses to be "CS".


6  ¬ (number of students)
1001 1005 1008 1019 1021 1032  ¬ (student ids)
4 ¬ (number of initial classes)
1008 CS221 1 3 ¬ (student id, class id, sec, credits)
1001 CS222 2 3 ¬ (student id, class id, sec, credits)
1032 CS201 1 3 ¬ (student id, class id, sec, credits)
1001 CS350 1 3 ¬ (student id, class id, sec, credits)
2 ¬ (number of modifications)
del 1008 CS221 ¬ (a deletion)
add 1032 CS324 3 4 ¬ (an addition)

An example output for the above input follows:

1001 : CS222 2 3
     : CS350 1 3
1005 :
1008 : CS221 1 3
1019 :
1021 :
1032 : CS201 1 3
-------------------
After Modifications
-------------------
1001 : CS222 2 3
     : CS350 1 3
1005 :
1008 :
1019 :
1021 :
1032 : CS201 1 3
     : CS324 3 4

·        Helpful Hints (analyze these files):