fall2003quiz2sol (1)

fall2003quiz2sol (1) - 1.00 / 1.001 Introduction to...

Info iconThis preview shows pages 1–4. 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 2 - November 7, 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 / 20 Question 2 / 5 Question 3 / 40 Question 4 / 20 Question 5 / 15 Total / 100
Background image of page 1

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

View Full DocumentRight Arrow Icon
Question 1. True or False (20 points) Answer the following questions about Java by circling TRUE or FALSE as appropriate. 1) The value of a reference to an array cannot be changed once the reference is assigned. T R U E FALSE 2) Suppose a function f(x) has a unique root x 1 . If we use the bisection method with an initial bracket that does not include x 1 , we will never converge to the root. TRUE F A L S E 3) An abstract class can contain concrete methods. TRUE F A L S E 4) A class inheriting from an abstract class A must override all the methods of A . T R U E FALSE 5) If a concrete class Carpet implements an interface IColor , then the statement IColor c = new Carpet(); is legal. TRUE F A L S E 6) If a class inherits from another class, it can access all of the base class's data members and invoke all of the base class's methods.
Background image of page 2
TRUE F A L S E Question 2. (5 points) What is round-off error?
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

fall2003quiz2sol (1) - 1.00 / 1.001 Introduction to...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online