CSCI 160: Fall 2015 Midterm 2 and Sample Solutions
Sections F15N01-F15N04 (Dr. Wessels)

Question Mark
1. Modify a program (loops)
[6 marks]
 
2. Show the output (loops, nested loops)
[6 marks]
 
3. Modify a program (recursion, loops)
[6 marks]
 
4. Show the output (recursion)
[6 marks]
 
5. Write a function (arrays)
[6 marks]
 
6. Show the output (arrays)
[6 marks]
 
Exam Total (best 5)

[30 marks]