CS1027midtermMaster2012.doc

14 Pages
139 Views
Unlock Document

Department
Computer Science
Course
Computer Science 1037A/B
Professor
Eric Schost
Semester
Winter

Description
The University of Western OntarioDepartment of Computer ScienceComputer Science 1027b Midterm Exam Master March 10 20122 hoursPrint your nameStudent number InstructionsFill in your name and student number above immediatelyAnswer all the questions in the exam in the spaces providedYou have 2 hours to complete the examThe exam has 8 questions on 15 pages and is out of a possible 80 marksThe marks for each individual question are given Allow approximately 15 minute per mark on averageThere is a page for rough work at the end of the exam paperRead the questions carefullyDO NOT TURN THIS PAGE UNTIL DIRECTED TO DO SO1 max 152 max 53 max 104 max 155 max 106 max 107 max 108 max 5TOTAL max 80115 marks TrueFalse Circle your answersa1 mark If two object references are equal in state then they refer to the same objectTrueFalseb1 mark The time complexity of an algorithm consists of the most dominant term of its growth functionTrueFalsec1 mark Polymorphism allows a reference variable to point to objects of unrelated typesTrueFalse d1 mark Generic types are bound at compile timeTrueFalsee1 mark An interface can be used even when it is not implemented by another classTrueFalsef1 mark Data encapsulation requires that instance variables be declared as privateTrueFalsenOg1 mark A time complexity of for a program means that it will run in constant timeTrueFalseh1 mark Inherited variables and methods can be used in a derived class as if they had been declared locallyTrueFalse2
More Less

Related notes for Computer Science 1037A/B

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit