FW09-E - April 2009 Final Examination VERSION 1 COMP 208...

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

View Full Document Right Arrow Icon
COMP 208 1 of 15 April 20, 2009 Final Examination Version 1 April 2009 Final Examination VERSION 1 COMP 208 -- Computers in Engineering Monday, April 20, 2009 9:00 – 12:00 A.M. Examiner: Prof. Nathan Friedman Assoc Examiner: Prof. Amir Rabbani Student Name: McGill ID: INSTRUCTIONS: This is a CLOSED BOOK CLOSED BOOK CLOSED BOOK examination. This examination consists of 25 multiple choice questions and 2 (two) programming questions, for a total of 27 questions. o The Examination Security Monitor Program detects pairs of students with unusually similar answer patterns on multiple-choice exams. Data generated by this program can be used as admissible evidence, either to initiate or corroborate an investigation or a charge of cheating under Section 16 of the Code of Student Conduct and Disciplinary Procedures. Mark your multiple choice answers on the computer sheet using PENCIL ONLY PENCIL ONLY. Answer questions 26 and 27 in the examination booklet provided. The examination consists of XX pages including the cover page. FACULTY FACULTY FACULTY STANDARD CALCULATOR STANDARD CALCULATOR STANDARD CALCULATOR permitted ONLY. This examination paper and answer booklets MUST BE RETURNED MUST BE RETURNED MUST BE RETURNED MUST BE RETURNED Grading: Grading: Grading: o Questions 1 Questions 1 – 10 10 10 are worth are worth are worth 1 mark mark mark each each each each o Questions 11 Questions 11 Questions 11-20 are worth 3 marks each 20 are worth 3 marks each 20 are worth 3 marks each 20 are worth 3 marks each o Questions 21 Questions 21 – 25 are worth 4 25 are worth 4 25 are worth 4 marks each marks each marks each o Questions 26 and 27 Questions 26 and 27 are worth 20 marks each are worth 20 marks each are worth 20 marks each are worth 20 marks each
Background image of page 1

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

View Full DocumentRight Arrow Icon
COMP 208 2 of 15 April 20, 2009 Final Examination Version 1 Question 1 The C function srand() is used to a) Generate a pseudorandom number. b) Reclaim dynamically allocated storage c) Reset the counter for determining how many operations a program performs d) Restart a random number generator e) None of the above Question 2 The function prototype in C must include both the type and name of each parameter that will be defined in the function definition. a) True b) False Question 3 Simpson’s method can be used to find the root of a non-linear equation. a)
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/15/2010 for the course COMP COMP 206 taught by Professor Vybihal during the Spring '04 term at McGill.

Page1 / 15

FW09-E - April 2009 Final Examination VERSION 1 COMP 208...

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