CPSC 112 Midterm: CS 112 Yale 15Fall Exam1

53 views8 pages
31 Jan 2019
Course
Professor

Document Summary

Cis 110 fall 2015 introduction to computer programming. My signature below certi es that i have complied with the university of pennsylvania"s code of aca- demic integrity in completing this examination. 68 pts: do not open this exam until told by the proctor. If a page becomes loose, reattach it with the provided staplers: staple all scratch paper to your exam. Do not take any sheets of paper with you: if you require extra paper, please use the backs of the exam pages or the extra pages provided at the end of the exam. If you forgot to bring your id, talk to an exam proctor immediately: we wish you the best of luck. Fill in the data type and nal value of the variable a. (assume a is always declared with the most appropriate data type. ) Write ce as the data type if the statements will cause compiler error, or. Re if they will cause a run-time error.