Reminders:
●
●
SI sessions for this class are available Monday and Thursday evenings 7:308:30pm in KC267.
Programming Assignment 3 and Homework 3 are due at 4:30pm (i.e. regular time) on
Wednesday/Thursday, February 8/9.
The Programming Practical Exam will be on Wednesday/Thursday, February 8/9, during the regularly scheduled class period. Up to 10 students using their own computers will be asked to sit in KC255 to complete the exam so that everyone will have room to spread out notes.
For this exam, you will be expected to write programs in C using CodeBlocks to the specifications given in the exam. The exam is open textbook (Hanley and Koffman), and open hardopy 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 are not be allowed to reuse an existing project and/or copy and paste from the files from an existing project. All code submitted must the result of typing during the exam period.
This exam will consist of 1 problem. You will 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 input/output, assignment and expressions, selection, repetition, and functions (both predefined in libraries and written by you) that may have received parameters. Material covered in lecture and assignments through Wednesday/Thursday,
February 3/4, will be tested. Switch statements, nested loops, and passed back function parameters will not be on the exam. The exam will be similar to the inclass 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.
1. Declaration and use of constants and variables, use of arithmetic, relational, and logical operators, assignment statements.
2. Use of input and output statements (i.e., scanf and printf functions).
3. Use of selection constructs: ifstatements and multibranch ifstatements.
4. Use of repetition constructs: pretest loops, posttest loops, counting loops and their implementations (whileloop, forloop, dowhileloop).
5. Implementation of functions, including how to define and use them, (actual) arguments vs.
(formal) parameters, received parameters, and the use of the void
type.
01/31/2012 Page 1 of 1 D. Hwang