CIS 163 AA - Java Programming I - Section 5811
Worksheet #1
Due Monday, September 12, 2005

Name:

I. Definitions: please explain the following terms:

  1. software

  2. white space

  3. literal

  4. class

  5. method

  6. encapsulated

  7. primitive data type

  8. class library

  9. reserved word

  10. call a method

II. Question or short essay

  1. What is the difference between a high level language and a low level language?

  2. What are two ways to include comments in a program? Why include comments?

  3. What are the syntax rules for creating identifier names for a program's identifiers?

  4. What is the difference between Java applets and Java applications?

  5. What are widening conversions? Why should narrowing conversions be avoided?
III. Programming Exercises Write source code for the following:

    Write an application that prints your initials in large block letters. Make each letter by printing out a sequence of the corresponding regular characters. Hand in a printed copy of your source code.