True/False Indicate whether the
statement is true or false.
|
|
1.
|
Programs that control digital devices are usually written in a high-level
programming language, such as C, Basic, COBOL, or Java.
|
|
2.
|
Unlike the case with text, sounds, and images that have to be digitized by a
digital device to work with them, source code does not have to be converted into a digital format
before the processor can use it.
|
|
|
|
|
3.
|
When the computer completes an instruction, the Control Unit in the accompanying
figure increments the instruction pointer to the memory address of the next instruction, and the
instruction cycle begins again.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
4.
|
A(n) ____ converts all the statements in a program in a single batch, resulting
in a collection of instructions called object code.
a. | compiler | c. | instructor | b. | interpreter | d. | coder |
|
|
5.
|
A microprocessor’s set of preprogrammed activities is called a(n) ____
set.
a. | command | c. | key | b. | instruction | d. | baseline |
|
|
6.
|
After a compiler converts source code into the 0s and 1s that correspond to
instructions in the microprocessor’s instruction set, the end product is called ____
code.
a. | control | c. | index | b. | key | d. | machine |
|
|
7.
|
When you compile source code, the resulting collection of instructions is called
____ code, which is placed in a new file.
a. | indexed | c. | interpreted | b. | object | d. | machine |
|
|
8.
|
____ code instructions are a series of 0s and 1s that correspond to a
processor’s instruction set.
a. | Machine | c. | Unit | b. | Control | d. | Register |
|
|
|
|
|
9.
|
The item marked ____ in the accompanying figure performs arithmetic operations,
such as addition and subtraction.
a. | Control Unit | c. | 3 | b. | Accumulator | d. | RAM |
|
|
10.
|
The item marked 3 in the accompanying figure uses ____ to hold data that is
being processed.
a. | words | c. | control units | b. | registers | d. | cache |
|
|
11.
|
The ALU uses data from its registers to perform arithmetic and logical
operations, the results of which are placed in the item marked ____ in the accompanying
figure.
a. | Control Unit | c. | Register 1 | b. | Accumulator | d. | RAM |
|
|
12.
|
The microprocessor's ____ unit fetches each instruction.
a. | instruction | c. | circuit | b. | integrated | d. | control |
|
|
13.
|
A(n) ____ code is a command word for an operation such as add, compare, or
jump.
a. | object | c. | matrix | b. | op | d. | machine |
|
|
14.
|
The ____ for an instruction specifies the data, or the address of the data, for
an operation.
a. | parameter | c. | operand | b. | variable | d. | method |
|
|
15.
|
When a program begins, the memory address of the first instruction is placed in
a part of the microprocessor’s control unit called an instruction ____.
a. | index | c. | pointer | b. | variable | d. | constant |
|