chpt 1
A byte is a collection of:
Eight bits
Internally, the central processing unit (CPU) consists of two parts:
The control unit and the arithmetic and logic unit (ALU)
When a computer is running a program, the CPU is engaged in a process formally known as:
The fetch/decode/execute cycle
Which of the following is a secondary storage device?
USB drives
Key words are:
Words that have a special meaning in the programming language
Which of the following will run the compiled program ReadIt?
java ReadIt
Which of the following will compile a program called ReadIt?
javac ReadIt.java
Which of the following is NOT part of the programming process?
All the above are parts of the programming process.
A runtime error is usually the result of:
A logical error
RAM is usually:
A volatile type of memory, used only for temporary storage
________ refers to the physical components that a computer is made of.
Hardware
Each different type of CPU has its own:
Machine language
Byte code instructions are:
Read and interpreted by the JVM
Syntax is:
Rules that must be followed when writing a program
These are used to indicate the end of a Java statement.
Semicolons
Another term for programs is:
Software
Variables are:
Symbolic names made up by the programmer that represents locations in the computer's RAM
Encapsulation refers to the combining of data and code into a single object.
TRUE
The Java Virtual Machine is a program that reads Java byte code instructions and executes them as they are read.
TRUE