Study Guides (248,516)
Canada (121,604)
All (2)
Final

026afinal06.doc

20 Pages
227 Views
Unlock Document

Department
Computer Science
Course
Computer Science 1026A/B
Professor
All Professors
Semester
Spring

Description
CS026a Final ExaminationDecember 19 2006 Page 1 of 20THE UNIVERSITY OF WESTERN ONTARIOLONDON CANADACOMPUTER SCIENCE 026aFINAL EXAMINATIONDECEMBER 19 20063 HOURSNAME STUDENT NUMBER Question1202140 41 42 43 44 45 46 47 48 There are no cheat sheets books or other reference materials allowed for this examNo calculators cell phones or other electronic devices are permitted either49 50 TOTAL Out of 160 marksCS026a Final ExaminationDecember 19 2006Page 2 of 20Part ITrueFalseDetermine whether the given statement is true or false Circle your answer on this examination paper 20 marks total 1 mark each1Every complete Java program must contain at least one static methodaTruebFalse2Wherever there is state equality between two object references there must also be identity equalityaTruebFalse3The starting index position for an array in Java is 1aTruebFalse loop it is possible to have multiple Java statements 4In the initialization portion of a forexecutedaTruebFalse5In Java x20 and x20 provide the same resultsaTruebFalse6In Java ab is equivalent to abaTruebFalse7In Java class names start with an uppercase letter with the rest of the word being in lowercaseIf there are multiple words the first letter of each is also in uppercaseaTruebFalse8A method whose visibility is public can be referenced outside of the class in which it is definedaTruebFalse9In defining a new class you must explicitly define a constructor for that classaTruebFalse10The Object class in Java has a toString methodaTruebFalse
More Less

Related notes for Computer Science 1026A/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