CS 215 - Fundamentals of Programming II
Spring 2008 - Exam 2 Review Sheet


Notes and Reminders:



Exam 2 will be on Friday, March 28. You may bring one 8.5inx11in size sheet of paper with notes on one side to the exam. You may print out the sheet, but it must be in a 9-point font or larger. E.g., please do not photoreduce or print 4 pages on a side. If you handwrite your notes, they may be as small as you like. You may handwrite notes in the margins of a printout.


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 or analyses and designs using concepts such as selection, repetition, functions, and Big-O algorithm analysis. Emphasis will on the material in Chapters 5-8 (except Sections 5.6, 7.5, 8.2, 8.5 and 8.6) and covered in lectures, and homework and projects assigned through Wednesday, March 19. The exam will consist of questions similar to the homework problems, programming projects, and other exercises in the textbook.


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. Template functions - declaration and use

  2. Vectors - declaration and use, comparison to arrays

  3. Pointers and dynamic allocation, including multi-dimensional arrays, the destructor, the copy constructor, and assignment operator

  4. Lists and iterators - declaration and use

  5. Stacks and queues - declaration and use

03/18/08 1 of 1