Exam2005 - 1 (12) 2 (8) 3 (15) 4 (15) 5 (15) 6 (25) 7 (10)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 (12) 2 (8) 3 (15) 4 (15) 5 (15) 6 (25) 7 (10) Tot. (100) Universit dOttawa Facult de gnie cole dingnierie et de technologie de linformation University of Ottawa Faculty of Engineering School of Information Technology and Engineering ITI 1220/1620 Fall 2005 Introduction to Computing I FINAL EXAMINATION Length of Examination: 3 hours December 16, 2005, 09:30 Professor: Alan Williams Page 1 of 14 Instructions: Please read carefully! 1. This is a closed-book test. No books, papers, calculators or other electronic devices are permitted. 2. Answer all questions on the question sheet in the area provided. Les rponses en franais sont acceptes. Questions answered in pencil will not be re-graded even if there is a marking error. 3. Algorithms are to be described using the format from the lectures and the notes. 4. You can use the back of the question sheet pages, or page 13, for calculations and other work. Pages 13 and 14 can be detached as they will not be marked. 5. If a question appears to be unclear, state a hypothesis and proceed to answer the question. 6. No student will be allowed to leave the exam room during the last 15 minutes of the exam. 7. When time is called at the end of the exam, turn your paper over immediately. Stay in your place, and remain quiet until the proctors have collected all papers and give clearance to leave. Identification: (complete this section using ink) Family name : _________________________________________________ Given names : _________________________________________________ Student number : _______________ Signature :____________________________________ ITI 1220/1620 Final Examination Page 2 of 14 Question 1A) (4 marks) In this question, use only the following ( algorithm format ) Boolean expressions: comparison operators: <, >, =, , , and Boolean logical operators: NOT, AND, OR arithmetic operators: +, -, *, /, and MOD (modulo) variable names and constants. Use parentheses where necessary. Do not use Java syntax! The Ontario Drive Clean program requires that a car must pass an emissions test for licence renewal if both of the following conditions are met: The cars model year MY is odd and the current year CY is even, or vice versa The difference between the current year and the model year is at least 3 but no more than 20....
View Full Document

This note was uploaded on 01/06/2011 for the course CSI 1120 taught by Professor Inkpen during the Fall '07 term at University of Ottawa.

Page1 / 14

Exam2005 - 1 (12) 2 (8) 3 (15) 4 (15) 5 (15) 6 (25) 7 (10)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online