CPSC 225 Intermediate Programming Spring 2025

CPSC 225 Exam 2 Review Information

The exam will be held during the Thursday lab period in Rosenberg 009. Take care of any necessary business before class so that you do not need to leave the room during the exam.

Though it will be in the lab, the exam will be written (not on the computer). It will be closed book, but you may have one page of notes which you will turn in with your exam. Important: "One page" means one side of an 8.5x11" piece of paperhardcopies only, you may not use a tablet or laptop or other device to access your notes during the exam. (It's fine to create your notes electronically if you want, just make sure you print them out before class!) In addition, your notes must be personally prepared by you — you may not use generative AI to produce a set of notes, copy another student's notes, or make copies of your own for others. (Creating your own notes is an essential part of the learning process — deciding what to include requires engagement with the material which reinforces understanding and improves long-term retention of the material, provides an opportunity for review in order to identify gaps in your knowledge in time to ask questions before the exam, increases confidence in what you do know, and encourages taking ownership of your own learning.)

The exam will primarily cover new material not on the previous exam, up to but not including binary trees. Specific topics are listed below.

Topics

Linked Lists

Analysis of Algorithms

Streams

You should be familiar with the various classes relating to streams that were introduced in class (including what they are for), but you do not need to memorize all of their methods — you will be provided with an excerpt from the API for any you are asked to use.

ADTs and Collections

For using Java Collections classes, you should be familiar with the various interfaces, classes, and methods but you do not need to memorize any methods — you will be provided with an excerpt from the API for any you are asked to use.

Questions

Types of questions you might encounter include (but are not limited to):

When asked to write code, you will be graded on syntax — while you won't lose points for occasional typo sorts of errors (like a missing semicolon) which would be easily caught by Eclipse, frequent or major mistakes which indicate that you don't know what the correct syntax should be or would get in the way of being able to produce a working program (even with the assistance of Eclipse) will lose points.