CSCI 160: Fall 2015 Midterm 1
Sections F15N01-F15N04 (Dr. Wessels)
CLEARLY PRINT YOUR NAME HERE:
You will also be provided with a short, two-sided,
C++ quick-reference sheet.
You have 80 minutes to complete the exam (11:30-12:50)
There are 5 questions on the exam, worth 7.5 marks each, your best 4 answers will be used (thus the exam is out of 30 marks).
Answer directly on the exam paper, using the backs of pages if extra space is required.
The exam is closed book, closed notes, no calculators, phones, or other electronic aids of any form may be used during the exam.
Be sure to check your exam to make sure all pages are included: 6 pages including this cover page.
Question
Mark
1. Write a program
[7.5 marks]
2. Write a function
[7.5 marks]
3. Modify a program
[7.5 marks]
4. Show the function call sequence
[7.5 marks]
5. Fix a function
[7.5 marks]
Exam Total (best 4)
[30 marks]