CSCI 161: Spring 2013 Midterm 1
Sample solutions

Question Mark
1. Linked list reverse function
[6 marks]
 
2. File I/O
[6 marks]
 
3. Enqueue, dequeue using a linked list
[6 marks]
 
4. Linked list remove method
[6 marks]
 
5. Command line arguments: show the output
[6 marks]
 
Exam Total

[30 marks]