Review Questions
1. The most basic circuitry-level computer language, which consists of on and off switches, is _____________.
b. machine language
2. Languages that let you use a vocabulary of descriptive terms, such as “read,” “write,” or “add,” are known as _____________ languages.
a. high-level
3. The rules of a programming language constitute its _____________.
a. objects
4. A _____________ translates high-level language statements into machine code.
c. compiler
5. Computer memory locations are called _____________.
b. variables
6. The individual operations used in a computer program are often grouped into logical units called _____________.
a. procedures
7. Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of _____________.
c. object-oriented programming
8. The values of an object’s attributes also are known as its _____________.
b. orientations
9. An instance of a class is a(n) _____________.
a. object
10. Java is architecturally _____________.
c. neutral
11. You must compile classes written in Java into _____________.
a. bytecode
12. All Java programming statements must end with a _____________.
c. semicolon
13. Arguments to methods always appear within _____________.
a. parentheses
14. In a Java program, you must use _____________ to separate classes, objects, and methods.
c. dots
15. All Java programs must have a method named _____________.
b. main()
16. Nonexecuting program statements that provide documentation are called _____________.
c. comments
17. Java supports three types of comments: _____________, _____________, and javadoc.
a. line, block
18. After you write and save a Java application file, you _____________ it.
d. compile and then interpret
19. The command to execute a compiled Java application is _____________.
d. java
20. You save text files containing Java source code using the file extension _____________.
a. .java
Review