Final Exam Review¶
The following resources will help you prepare for the final exam.
Begin by taking the sample exam on your own so you know what you need to study.
Then watch the lab walkthrough videos, and review the study materials from the previous exams.
Sample Exam¶
Take the sample exam on your own, closed book, without a computer. Set a 2-hour timer so you can practice finishing in the time alloted.
The actual exam will be similar in nature and length to the sample exam.
cs159_f25_final_practice_exam.pdf
Solution¶
Work through the exam on your own first, then check your answers against the solution only after you have completed the exam.
cs159_f25_final_practice_exam_SOLUTION.pdf
Extra Practice¶
Here are some additional resources to help you practice the new concepts for the final exam.
Collections¶
-
The Map-1 and Map-2 sections from CodingBat are good for practicing Maps in Java.
- Map-1 problems focus on basic map operations.
- Map-2 problems focus on using maps to solve problems. (⭐ good practice)
-
LearnCS.online also has interactive textbook lectures and additional practice problems:
Recursion¶
-
The Recursion-1 is a good section for practicing recursion problems in Java.
-
The Tracing Recursion activity has a number of exercises you may want to repeat, or create similar problems to practice tracing recursive code.
- (Tip: Ask AI tools like ChatGPT to generate similar recursion tracing problems for you to practice!)
-
LearnCS.online has chapters on Recursion too:
Recursion Walkthrough Video¶
Here is a video of Dr. Wang working through the CodingBat Recursion-1 problems from the lab (tip - watch at 2x speed!):
Previous Review Pages¶
We also recommend you go through and review the materials from the previous exams, since the final will be comprehensive.