CS 111 Exam 2 Study Guide
The exam will be held IN LECTURE on Wednesday, May 12. It will consist of the following:
YOU MUST BRING PHOTO ID to the exam. (Either your Queens College student ID, or some other photo ID such as a driver's license or passport.) While taking the exam, you must have your photo ID out on your desk. During the exam, one of the proctors will walk around the room checking ID's. Be ready to show the proctor the name on page 1 of your exam, so that the proctor can compare it to the name on your photo ID.
The exam is cumulative and will assume you know everything that has been covered since the beginning of the semester, with emphasis on the material covered in the tutorials for Assignments 7 and 8. Among other things, make sure you know how to pass both two-dimensional arrays and arrays of records/structs as parameters to functions, both with and without using typedefs. (The exam will specify whether or not you are to use a typedef in each problem.)
Also, make sure you fully understand functions, as covered in the tutorials for Assignments 5 and 6, including parameter-passing, return values, and scope of variables. And make sure you underetand how to decide which of the three kinds of loops (for, while, and do/while) is most appropriate to a given problem. Also, you will need to know how to do text file input.
To be adequately prepared, you will need to have done both (1) the practice problems for Assignment 8 and (2) Assignment 7 (the actual assigned homework, as well as the practice problems).
In addition to reading the textbook and tutorials, you should review the examples accompanying the tutorials, plus the examples covered both in lecture and in recitation.
Back to: