CSCA08H3 Midterm: CSCA08_2012_Fall_Midterm_Soln.pdf
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 3 questions on 8 pages (including this one). When you receive the signal to start, please make sure that your copy is complete. Comments and docstrings 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. [1 mark] what is the output of the following? x = 4 y = x + 5 x = 7 print(x, y)