This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Mehran Sahami Handout #28 CS106A October 24, 2007 Practice Midterm Examination Midterm Time: Tuesday, October 30, 7:00 8:30 P . M . Midterm Location: Kresge Auditorium Portions of this handout by Eric Roberts and Patrick Young This handout is intended to give you practice solving problems that are comparable in format and difficulty to those which will appear on the midterm examination next Tuesday. Exam is open book, open notes, closed computer The examination is open-book (specifically the course textbook The Art and Science of Java and the Karel the Robot coursereader) and you may make use of any handouts, course notes/slides, printouts of your programs or other notes you've taken in the class. You may not, however, use a computer of any kind (i.e., you cannot use laptops on the exam). Coverage The midterm exam covers the material presented in class through today (October 24th), which means that you are responsible for the Karel material plus Chapters 1 through 9 of the class textbook The Art and Science of Java , plus the use of mouse listeners from Chapter 10 (sections 10.1-10.4). Data files (which will be covered in class on Friday) are not covered on the exam. General instructions 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. Each question is marked with the number of points assigned to that problem. The total number of points is 90. We intend for the number of points to be roughly comparable to the number of minutes you should spend on that problem. In all questions, you may include methods or definitions that have been developed in the course, either by writing the import line for the appropriate package or by giving the name of the method and the handout or chapter number 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. Blank pages for solutions omitted in practice exam In an effort to save trees, the blank pages that would be provided in a regular exam for writing your solutions have been omitted from this practice exam. In the real exam, we would certainly provide the blank pages for you to write your solutions....
View Full Document
This note was uploaded on 02/15/2010 for the course CS 106A taught by Professor Sahami,m during the Fall '08 term at Stanford.
- Fall '08