CSC108H1 Exam Solutions Fall 2018: Newline, Substring, Precondition
yifanyang and 39659 others unlocked
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.