Java Reference
In-Depth Information
REVIEW EXERCISES
Exercise R1.1. Explain the difference between using a computer program
and programming a computer.
Exercise R1.2. What distinguishes a computer from a typical household
appliance?
Exercise R1.3. Rank the storage devices that can be part of a computer
system by
a. Speed
b. Cost
c. Storage capacity
Exercise R1.4. What is the Java virtual machine?
Exercise R1.5. What is an applet?
Exercise R1.6. What is an integrated programming environment?
Exercise R1.7. What is a console window?
Exercise R1.8. Describe exactly what steps you would take to back up your
work after you have typed in the
HelloPrinter.java
program.
Exercise R1.9. On your own computer or on a lab computer, find the exact
location (folder or directory name) of
a. The sample file
HelloPrinter.java
, which you wrote with the
editor
b. The Java program launcher
java.exe
or
java
c. The library file
rt.jar
that contains the run-time library
Exercise R1.10. How do you discover syntax errors? How do you discover
logic errors?