CPS 125 Midterm: CPS125 Winter 2009 Programming Questions
Document Summary
April 27, 2009 12 p. m. - duration: 120 minutes. > read a question carefully and completely before asking about it. > all bags and communication devices must be placed at the front of the room. No hats that have visors, hoodies nor coats are allowed at your seat. Put those at front of the room as well. > the exam has 5 questions and a duration of 120 minutes. Stop writing and put down your pen when instructed at the end of the test. > a 2 mark penalty will be applied for incorrectly filled in section number and/or failure to circle your professor"s name. > have your photo id visible at all times during the test. > use meaningful variable names in all programs (speed, colour, weight are meaningful; a, x, c4 are not). Penalties up to 2 marks per question may be applied for bad naming.