CPSC 112 Midterm: CS 112 Yale 13Fall Exam1

40 views13 pages
31 Jan 2019
Course
Professor

Document Summary

My signature below certi es that i have complied with the university of pennsylvania"s code of aca- demic integrity in completing this examination. 100 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. String str = "java"; int z = 14 / str. length(); System. out. println(z); (a) 14 / 4 (b) 3 (c) 3. 5 (d) none, this code will result in an error. 2. 1) (7 points) give the data type and value that z contains in each of the following expressions.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents