Ch. 1 Practice Quiz
Internally, the CPU consists of two parts:
The control unit and the arithmetic and logic unit
Programmer-defined names of memory locations that may hold data are:
Variables
A set of well-defined steps for performing a task or solving a problem is known as a(n)
algorithm
The __ decodes an instruction and generates electrical signals
Control Unit
A variable declaration announces the name of a variable that will be used in a program, as well as:
the type of data it will be used to hold
At the heart of a computer is its central processing unit. The CPU's job is:
to produce some outcome or resultant information to fetch instructions to carry out the operations by the instructions
The name for a memory location that may hold data is:
variable
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?
Fetch
An example of a secondary storage device is:
a hard disk
The programmer usually enters source code into a computer using
a text editor
During which stage does the central processing unit analyze the instruction and encode it in the form of a number, and then generate an electrical signal?
decode
Mistakes that cause a running program to produce incorrect results are called?
logic errors
In a broad sense, the two primary categories of programming languages are:
low-level and high-level
Characters or symbols that perform operations on one or more operands are:
operators
Even when there is no power to the computer, data can be held in:
secondary storage
Computer programs are also known as:
software
The statements written by the programmer are called:
source code
In the process of translating a source file into a executable file. which of the following is the correct sequence?
source code, preprocessor, modified source code, compiler, object code, liner, executable code
This is a complete instruction that causes the computer to perform some action
statement