fall2003quiz1sol

fall2003quiz1sol - 1.00/1.001 Introduction to Computers and...

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

View Full Document Right Arrow Icon
1.00/1.001 Introduction to Computers and Engineering Problem Solving Quiz 1 October 3, 2003 Name: Email Address: TA: Section: You have 90 minutes to complete this exam. For coding questions, you do not need to include comments, and you should assume that all necessary files have already been imported. Good luck. Question Points Question 1 / 30 Question 2 / 30 Question 3 / 40 Total / 100 1.00 Fall 2003 Quiz 1 1/7 10/03/2003
Background image of page 1

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

View Full DocumentRight Arrow Icon
Problem 1. Circle TRUE or FALSE for each of the following statements: 1. The size of a Vector is less than or equal to the capacity of a Vector . TRUE FALSE 2. A do loop will be executed at least once even if the boolean condition being tested is false. TRUE FALSE 3. Both an array and a Vector can grow automatically as needed. TRUE FALSE 4. Converting a float to an int requires explicit casting. TRUE FALSE 5. String is a Java primitive data type. TRUE FALSE 6. If two public classes are defined in separate files, but belong to the same package, they can access each other's private variables. TRUE FALSE 7. A static method cannot have a reference to an object as an argument .
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 11/29/2011 for the course CIVIL 1.00 taught by Professor Georgekocur during the Spring '05 term at MIT.

Page1 / 7

fall2003quiz1sol - 1.00/1.001 Introduction to Computers and...

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