Hands on Testing Java: Lab #1

Prelab Questions

Type in your answers to each of these questions in a file named prelab01.txt in your Prelab Questions directory. Turn in your answers before the beginning of your laboratory session.

Short Answer Questions

Question #1: You will be using the ____________ programming environment (i.e., IDE).

Question #2: A ____________ is a program that translates Java source code into byte-code.

Question #3: How do you create a new directory (or folder)?

Question #4: A program is implemented as a ____________ class in Java.

Question #5: Using the scientific method, you can only definitively ____________ a hypothesis with an experiment.

Programming Questions

Describe what each of the following statements do. It is not assumed that you've programmed ever before; this is an exercise in reading code.

Code #1:

theScreen.println("Hello!");

Code #2:

temperature = theKeyboard.readInt();

Code #3:

dogAge = calendarAge * 7;