CSCI 159: Fall 2025 Final Exam Cover Page
Sections F25N01-F25N02 (Dr. Wessels)
- You have 3 hours to complete the exam (1:00-4:00)
- There are 9 questions on the exam worth 10 marks each.
Your best 8 marks will be recorded out of a total of 80 marks.
- Answer in the exam booklets provided, extra booklets are available if needed. Be sure
to clearly number each of your answers in the booklet.
- The exam is closed book, closed notes, no calculators, phones, or other electronic aids
of any form may be used during the exam, but you are permitted one double-sided 8.5x11" sheet
of reference notes ("cheatsheet").
- The use of ear plugs/protection is permitted, but NOT the use of
headphones or headsets (with or without attached devices).
- Be sure to check your exam to make sure all 9 questions are included.
Question Headings
Question 1: Write a complete program [10]
Question 2: Functions and parameters [10]
Question 3: Recursion [10]
Question 4: Loops [10]
Question 5: Scopes and nesting [10]
Question 6: Arrays (and null terminators) [10]
Question 7: Sorting and searching [10]
Question 8: Arrays of structs [10]
Question 9: Pointers and dynamic allocation [10]