CPSC 124 Introduction to Programming Fall 2004

Exam 2 Review Guide

While the main focus of the exam will be on the topics covered since the last exam (listed below), it will by necessity not ignore topics from earlier in the semester - you can't just forget about writing loops or subroutines, for example.


The focus of the exam will be topics from sections 3.7, 4.5-4.6, 5.1-5.6, and 6.2.

These topics include (but aren't limited to):

You should also know all of terms that have been introduced.

You should be familiar with the classes used in the book and in lab (e.g. Card, Deck, Hand, MovingBall, etc) but you would be provided with a description of them for reference if you are asked to use them. Being familiar with their operations, however, will save you valuable time!

Sample Questions

Possible types of questions included (but aren't limited to):

The end-of-chapter quizzes and programming exercises for chapters 4 and 5 are excellent practice.