IC210 Fall 2012

12-Week Exam Topics

The exams are cumulative in that you need to have built on your knowledge of types/expressions, control structures, file I/O, and problem solving covered by the 6-week exam. That being said, the below is an outline of the main topics covered since the 6-week exam that may help you in organizing your studies for the 12-week exam.

        Functions: Function prototypes, function definitions, and function calls. Return type and arguments/parameters. Pass by value and pass by reference parameter passing. Recursive functions, base cases and recursive cases. Implicit and explicit type conversions during function calls.

        Strings: Manipulating strings as arrays.

        Pointers and arrays: Pointers to homogeneous collections of objects (arrays). Use of new and delete with dynamically allocated memory. Typical array operations such as traversing arrays, and summing the contents of an array. Multi-dimensional arrays (e.g., 2D arrays). Not on this exam: searching and sorting with arrays.

        Problem Solving: You need to be able to reason about types, expressions, control structures, functions, strings, pointers and arrays and use them to solve problems.

You will not be asked to write complete programs on the Written Exam, but fragments of code that accomplish certain tasks are fair game. You will be asked to write complete programs on the Practicum exam. The most important thing is to thoroughly review the lecture notes, homework and labs. If needed, you will be provided with a copy of the ASCII and operator precedence/associativity tables, so don't worry about having to memorize them.


Written exam: Closed book. Given during class on MONDAY 29 OCT 2012.


Practicum exam: Given during your regularly scheduled lab period on Thursday 1 NOV 2012. As per the course policy, you may only use your notes, the official class notes from the course webpage, or your textbook for the practicum, and you may not receive help from anyone.


Note that both the Written and Practicum exams will be multi-section exams and that in accordance with USNAINST 1531.53A you may NOT communicate anything about these exams with anyone using any medium until your instructor tells you that you can.


See the course calendar and/or handouts for sample exam material.