CS 106B Midterm: CS 106B Midterm 2 4 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 giving the name of the function or class and the handout, chapter number, or lecture in which that definition appears. You do not need to prototype helper functions before using them, nor do you need to #include any stanford library headers. 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.