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