CSE143

Miniquiz #1

Thursday 10/3/2002

1 point per question, 1 minute per question

 

1. In Chapter 1, spruce, pine, and hickory are used in an illustration of (circle one):

    abstraction

    a Rube Goldberg

    successive snapshots

 

2. The intermediate language into which the compiler translates a Java program is (circle one)

    English

    C++

    C

    byte-code

3. From the chess example of Chapter 2, label the following as either Class, Object, or Property (one of each):

        white queen ____      position ______    Piece _____

4. "immutable" objects in Java (pick one)...

        cannot speak

         never change (after creation)

         cannot be queried

5. True or False: According to the textbook authors (Chapter 3), the compiler insists only that we use legal identifiers when naming entities in a Java program; it does not matter to the compiler what specific identifiers we use.

6. True or False: In the opinion of the textbook authors, it is just as essential that your code be comprehensible to a human reader as to the compiler.