Written exam: Closed book.

Time/Location:See calendar.



Practicum exam: Given during the last lab period

Final Exam Information

The exams in this course are cumulative in that topics from the 6 and 12 week marking periods (including types/expressions, control structures, file I/O, problem solving, functions, Strings, pointers, and arrays) are fair game on the final. The below is an outline of the main topics covered since the 12-week exam that may help you in organizing your studies for the final exam.

Structs: User-defined types of heterogeneous data(structs), arrays of user-defined types, sorting user-defined types, overloading operators for user-defined types,

Ethics:Copyright law regarding information found on the internet, permissible distribution of such information, recognizing when a scenario is in violation of copyright law.

Pointers. Pointers to pre-defined types such as ints and doubles.Memory allocation (new). Pointers to heterogeneous objects (structs), pointers to single objects. Deallocation of dynamically allocated memory (delete). NULL pointers.

Static arrays. Static vs dynamic array allocation

Multi-file programs. Header (.h) vs Implementation (.cpp) files. Conditional compilation.

Linked Lists.User-defined Node types for linked lists. Traversing linked lists. List creation, sorting and inserting into liked lists.

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


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


Written Exam: You will not be asked to write complete programs on the Written Exam, but functions and fragments of code that accomplish certain tasks are fair game. You will be asked to write complete, compiling, programs on the Practicum exam.

You will be provided with a copy of the ASCII and operator precedence/associativity tables so don't worry about having to memorize them.


Practicum Exam: The most important thing is to thoroughly review the lecture notes, homework and labs.

As per the course policy, you may only use your notes, the official class notes from the course webpage, and your textbook for the practicum, and you may not receive help from anyone.



Good luck on your preparation for the exams.Come in and see us for EI if you get stuck, thatís why we are here.


Here is a Sample Written Final Exam (NOTE -- this gives you some sample questions, but is far from comprehensive -- see the topic list above and previous review info. Expect to see a little bit more writing "snippets" of code on the actual exam. And make sure you really, fully understand types!)

(solution to written exam -- but try it yourself first!)


Here is a Sample Practicum Final Exam