CPS 125 Midterm: CPS 125 Winter 2009 Programming Questions
Document Summary
March 6, 2009 4:10 p. m. - duration: 60 minutes. > all bags must be placed at the front of the room. No hats that have visors nor coats are allowed at your seat. Put those at front of the room as well. > a 2 mark penalty will be applied for incorrectly filled in section number and/or failure to circle your professor"s name. > the test has 3 questions and a duration of 60 minutes. Stop writing and put down your pen when instructed. > university regulations regarding student behaviour will be fully applied. > have your photo id visible at all times during the test. > use meaningful variable names in all programs (speed, colour, weight are meaningful; a, b, c, x are not). Penalties up to 2 marks per question may be applied for bad naming. > penalties up to 2 marks per question may be appplied for extraneous (unnecessary) code.