CSC108H1 Exam Solutions Fall 2018: Newline, Substring, Precondition

92 views11 pages
31 Oct 2018
School
Course
Professor
yifanyang and 39659 others unlocked
CSC108H1 Full Course Notes
21
CSC108H1 Full Course Notes
Verified Note
21 documents

Document Summary

Do not turn this page until you have received the signal to start. (please ll out the identi cation section above, write your name on the back of the test, and read the instructions below. ) This midterm consists of 5 questions on 6 pages (including this one). When you receive the signal to start, please make sure that your copy is complete. Comments are not required except where indicated, although they may help us mark your answers. They may also get you part marks if you can"t gure out how to write the code. No error checking is required: assume all user input and all argument values are valid. If you use any space for rough work, indicate clearly what you want marked. Beside each code fragment in the table below, give the output. If the code would cause an error, write.

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