CS 210 –
Fundamentals of Programming I
Spring 2007 – Practical Exam
Review Sheet
Reminders and announcements:
Programming Assignment 5 is due on Tuesday, February 27, or Wednesday, February 28, at 4:30pm (i.e. regular time).
There is no class for Section 2 on Thursday, March 1. Have a good spring break!
The Programming Practical Exam will be on Tuesday, February 27 and Wednesday, February 28. There are 4 possible sessions (1-3 and 3:15-5:15 both days). Make sure that you have signed up for a time. For this exam, you will be expected to write programs using Visual Studio 2005 C++ to the specifications given in the exam. The exam is open textbook (Savitch), and open hardcopy class notes (both your own and those on the course website, but not anyone else's notes). You also are allowed only hardcopy printouts of your assignments. These are the only aids you may use in completing the exam. In particular, you will not be allowed to use an existing project and/or copy and paste from the files from an existing project. Make sure you know how to create a new project and add a new or existing source file to the project.
The exam will consist of 2 problems. You may be given a file with some code already written that you will be asked to modify or enhance, and/or you may be asked to write an entire program. The exam will be cumulative and comprehensive with respect to basic programming constructs in the sense that you are expected to be able to read and write code using concepts such as selection, repetition, and functions with value and reference parameters. Material covered in lecture and assignments through Exam 1will be tested. Overloaded functions, output formatting, file streams, and arrays will not be on the exam. The exam will be similar to the in-class exercises and programming assignments.
The following is a list of topics that will be emphasized, but it is in no way to be construed as an exclusive list.
Declaration and use of constants and variables, use of arithmetic, relational, and logical operators, assignment statements.
Basic use of input and output statements (i.e., format manipulators will not be on the exam).
Use of selection constructs: if and case constructs and their implementations.
Use of repetition constructs: pre-test loops, post-test loops, counter-controlled loops and their implementations
Implementation of functions, including how to define and use them, (actual) arguments vs. (formal) parameters, value vs. reference parameters, and the use of the void type.
02/19/07