CPSC 112 Midterm: CS 112 Yale 12 Spring Midterm Solution

36 views8 pages
31 Jan 2019
Course
Professor

Document Summary

Cis 110 midterm instructions: you have 50 minutes to nish this exam. Time will begin when called by a proctor and end precisely 50 minutes after that time. If you continue writing after the time is called, you will receive a zero for the exam: this exam is closed-book, closed-notes, and closed-computational devices. Except where noted, you can assume that code included in the question is correct and use it as a reference for java syntax: this exam is long. Otherwise all code must be written out as normal: please do not separate the pages of the exam. Id, please talk to an exam proctor immediately. Miscellaneous (a) write your name, recitation number, and pennkey (username) on the front of the exam. (b) sign the certi cation that you comply with the penn academic integrity code. Give the type and value of each of the following java expressions.