1.
In Java, the mechanism that allows you to combine data and operations on the data into a single unit is called a(n) ____.
A. 
B. 
C. 
D. 
2.
A(n) ____ consists of data and the operations on those data.
A. 
B. 
C. 
D. 
3.
A program called a(n) ____ loads the bytecode of your program and other programs provided by the SDK and used in the program to create the executable code
A. 
B. 
C. 
D. 
4.
The bytecode for a Java program is saved in the file with the ____ extension.
A. 
B. 
C. 
D. 
5.
To develop a program to solve a problem, you start by ____.
A. 
B. 
Implementing the solution in Java
C. 
D. 
Entering the solution into a computer system
6.
Consider the following program.
public class HelloWorld
{
public static void main(String[] args)
{
System.out.print("Hello World ")
}
}
The missing semicolon in the code above will be caught by the ____.
A. 
B. 
C. 
D. 
7.
To run a Java ____, you must use either a Web browser or an applet viewer.
A. 
B. 
C. 
D. 
8.
In a Java program, the file name must be the same as the ____.
A. 
B. 
C. 
D. 
9.
When all ____ errors are removed, the compiler generates the machine code (bytecode in Java).
A. 
B. 
C. 
D. 
10.
The ____ translates a program written in a high-level language into the equivalent machine language.
A. 
B. 
C. 
D. 
11.
The source program is written in ____.
A. 
B. 
C. 
D. 
12.
A program called a(n) ____ translates the assembly language instructions into machine language.
A. 
B. 
C. 
D. 
13.
The term ZB refers to ____.
A. 
B. 
C. 
D. 
14.
The term PB refers to ____.
A. 
B. 
C. 
D. 
15.
The term EB refers to ____.
A. 
B. 
C. 
D. 
16.
The term GB refers to ____.
A. 
B. 
C. 
D. 
17.
____ represent information with a sequence of 0s and 1s.
A. 
B. 
C. 
D. 
18.
The digit 0 or 1 is called a binary digit, or ____.
A. 
B. 
C. 
D. 
19.
The term MB refers to ____.
A. 
B. 
C. 
D. 
20.
The system program that loads first when you turn on your PC is called the ____.
A. 
B. 
C. 
D. 
21.
Which of the following is NOT an output device?
A. 
B. 
C. 
D. 
22.
The devices that feed data and programs into computers are called ____.
A. 
B. 
C. 
D. 
23.
All of the following are examples of secondary storage except ____.
A. 
B. 
C. 
D. 
24.
When the power is switched off, everything in ____ is lost.
A. 
B. 
C. 
D. 
25.
The ____ carries out all arithmetic and logical operations.
A. 
B. 
C. 
D.