Chapter 1 C++
A(n) ________ is a set of instructions that the computer follows to solve a problem.
Program
The computer's main memory is commonly known as:
RAM
This is a complete instruction that causes the computer to perform some action.
Statement
This is a set of rules that must be followed when constructing a program.
Syntax
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
Internally, the CPU consists of two parts:
the control unit and the arithmetic and log unit
During which stage does the central processing unit analyze the instruction and encode it in the form of a number, and then generate an electronic signal?
Decode
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
the purpose of a memory address is:
to identify the location of a byte in memory
The name for a memory location that may hold data is:
variable
Programmer-defined names of memory locations that may hold data are:
variables
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?
Fetch
The programmer usually enters source code into a computer using:
text editor
An example of a secondary storage device is:
a hard disk
The programming process consists of several steps, which include:
design, creation, testing, and debugging
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
The statements written by the programmer are called:
source code
In the process of translating a source 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