Second Summer 2002


Chapter One Warmups: Some Very High-level Questions.

  1. Explain the difference between using a computer program and programming a computer.

  2. What distinguishes a computer from a typical household appliance?

  3. Which parts of the computer can store program code? Which can store user data?

  4. Which parts of the computer serve to give information to the user? Which parts take user input?

  5. What is the Java virtual machine?

  6. What is an applet?

  7. On your own computer find the exact location (folder or directory name) of
  8. Explain the special role of the \ escape character in Java character strings.

  9. How do you discover syntax errors? How do you discover logic errors?

  10. Write an algorithm to settle the following question: a bank account starts out with $10,000. Interest is compounded at the end of every month at 6 percent per year (0.5 percent per month). At the beginning of every month, $500 is withdrawn to meet college expenses after the interest has been credited. After how many years is the account depleted?

  11. Explain the difference between an object and an object reference.

  12. Explain the difference between an object and a class.

  13. Explain the difference between an object and a method.


Last updated: Jul 28, 2002 by Adrian German for A201