Ch. 1 Chapter Quiz
The ____ decodes an instruction and generates electrical signals
control unit
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions
fetch
this is a set of instructions that must be followed when constructing a program
syntax
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
Even when there is no power to the computer, data can be held in;
secondary storage
Mistakes that cause a running program to produce incorrect results are called
logic erros
Computer programs are also known as
software
the statements by the programmer are called:
source code
in the process of translating a source code file into an executable file, which of the following is the correct sequence?
source code, preprocessor, modified source code, compiler, object code, linker, executable code
Internally, the CPU consists of two parts:
the control unit and the arithmetic and logic unit
The name for a memory location that may hold data is
variable
Programmer- defined names of memory locations that may hold data are:
variables
An Integrated Development Environment typically consists of
a debugger a text editor a compiler
An example of a secondary storage device is
a hard disk
The programmer usually enters source code into a computer using:
a text editor
a set of well-defined steps for performing a task or solving a problem is known as a(n)
algorithm
The computers main memory is commonly known as:
RAM
Characters or symbols that perform operations on one or more operands are
operators
in a broad sense, the two primary categories or programming languages are:
low-level language and high-level
A(n) ______ is a set of instructions that the computer follows to solve a problem
program