C++ Mid Term Review 1-37
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
not one of the five major components of a computer system?
Preprocessor
A(n) ____________ is a set of instructions that the computer follows to solve a problem.
Program
This is used in a program to mark the beginning or ending of a statement, or separate items in a list.
Punctuation
The computer's main memory is commonly known as:
RAM
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
the process of translating a source file into an executable file
Source code, preprocessor, modified source code, compiler, object code, linker, executable code.
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
Internally, the CPU consists of two parts:
The Control Unit and the Arithmetic and Logic Unit
What does the term hardware refer to?
The physical components that a computer is made of
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 fetch instructions To carry out the operations commanded by the instructions To produce some outcome or resultant information
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
An example of a secondary storage device is:
A hard disk
An Integrated Development Environment typically consists of:
A text editor A compiler A debugger
What statement best describes a variable and its primary purpose?
A variable is a named storage location in the computer's memory used for holding a piece of information.
A set of well-defined steps for performing a task or solving a problem is known as a(n):
Algorithm
Which of the following best describes an operator?
An operator allows you to perform operations on one or more pieces of data.
_______________ are used to translate each source code instruction into the appropriate machine language instruction.
Compilers
This step will uncover any syntax errors in your program.
Compiling
The ________ decodes an instruction and generates electrical signals.
Control Unit
The programming process consists of several steps, which include:
Design, Creation, Testing, and Debugging
This term refers to the programmer reading the program from the beginning and steping through each statement.
Desk Checking
Three primary activities of a program are:
Input, Processing, and Output
Words that have a special meaning and may be used only for their intended purpose are known as:
Key Words
Mistakes that cause a running program to produce incorrect results are called:
Logic errors
preprocessor directive?
#include <iostream>
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
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?
fetch
Unix and Windows 2000 are examples of _______________ operating systems.
multi-tasking
Computer programs are also known as
software