ITI1120_Midterm2010_sol

ITI1120_Midterm2010_sol - Universit dOttawa Facult de gnie...

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

View Full Document Right Arrow Icon
Université d’Ottawa Faculté de génie École d’ingénierie et de technologie de l’information University of Ottawa Faculty of Engineering School of Information Technology and Engineering ITI 1120 Winter 2010 Introduction to Computing I Midterm Examination Length of Examination: 1.5 hours Feb 24, 2010, 11:30 Professor: Diana Inkpen Page 1 of 9 Instructions: Please read carefully! 1. Complete all sections of the identification area in ink. 2. This is a closed-book test. No books, papers, calculators or other electronic devices are permitted. 3. Answer all questions on the question sheet in the area provided. Questions answered in pencil will not be re-graded even if there is a marking error. 4. The marks allocated to each question are indicated. Not all questions are worth the same amount, so plan your time accordingly. The midterm will be scored out of 40 marks, which represents 20% of your final grade. 5. Algorithms are to be described using the format from the lectures and the notes. 6. You can use the back of the question sheet pages, or page 9, for calculations and other work. Page 9 can be detached as it will not be marked. 7. Les réponses en français sont acceptées. Identification: Name: ___________________________ Student number: ___________________ For use of grader: Question Marks available Marks received 1 8 2 12 3 8 4 12 Total 40
Background image of page 1

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

View Full DocumentRight Arrow Icon
Page 2 of 9 Question 1 (8 marks total – 4 marks for each part) Part a) The integer X has the value 3, and the array Y initially contains the following values: {2, 4, 6, 8, 10}. Specify if the following Boolean expressions evaluate to true or to false. Circle the letter T corresponding to true, or the letter F corresponding to false, for each of
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the 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 / 9

ITI1120_Midterm2010_sol - Universit dOttawa Facult de gnie...

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