Top-Rated Free Essay
Preview

Chapter 1 Review Questions

Satisfactory Essays
291 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 1 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 like read, write, or add are known as _______________ languages.

A – High Level

3) The rules of a programming language constitute its

D – Syntax

4) A _______________ translates high-level language statements into machine code.

C – Compiler

5) Named 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 objects attributes also are known as its _______________.

B - Orientation

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

You May Also Find These Documents Helpful

Related Topics