CS-2250: Starting out with C++: Chapter 1 Quiz
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
Logical error
In a broad sense, the two primary categories of programming languages are:
Low-level and High-level
Unix and Windows 2000 are examples of _______________ operating systems.
Multi tasking
The computer's main memory is commonly known as:
RAM
The statements written by the programmer are called
Source code
Programmer-defined names of memory locations that may hold data are:
Variables
This is a complete instruction that causes the computer to perform some action.
Statement
Which of the following is a preprocessor directive?
#include <iostream>
An example of a secondary storage device is:
A hard drive
A set of well-defined steps for performing a task or solving a problem is known as a(n):
Algorithm
This step will uncover any syntax error in the program
Compiling
The ________ decodes an instruction and generates electrical signals
Control unit
The heart of a computer is its central processing unit. The CPU's job is: A. To fetch instructions B. To carry out the operations commanded by the instructions C. To produce some outcome or resultant information D. All of the above E. None of the above
D. All of the above
The programming process consists of several steps, which include:
Design, Creation, Testing, and Debugging
The purpose of a memory address is:
To identify the location of a byte in memory
Integrated Development Environment typically consists of: a. A text editor b. A compiler c. A debugger d. All of the above e. None of the above
d. All of the above
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*.
Which of the following is not one of the five major components of a computer system?
Preprocessor
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