CS 106B Midterm: CS 106B Midterm 1 Spring 2013
Document Summary
This midterm exam is open-book, open-note, but closed-computer. Answer each of the questions included in the exam. Write all of your answers directly on the examination paper, including any work that you wish to be considered for partial credit. In all questions, you may include func- tions, classes, or other definitions that have been developed in the course, either by writing the. #include line for the appropriate header or by giving the name of the function or class and the handout, chapter number, or lecture in which that definition appears. Unless otherwise indicated as part of the instructions for a specific problem, comments will not be required on the exam. Uncommented code that gets the job done will be sufficient for full credit on the problem. On the other hand, comments may help you to get partial credit if they help us determine what you were trying to do.