COP1334 Ch. 1 Quiz
Machine language is an example of a high-level language. T/F
False
An example of a secondary storage device is:
The disk drive
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.
The computer's main memory is commonly known as:
RAM
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
A CPU really only understands instructions that are written in machine language. T/F
True
In C++, key words are written in all lowercase letters. T/F
True
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs. T/F
True
The name for a memory location that may hold data is:
Variable
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
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 stepping through each statement.
Desk Checking
The preprocessor executes after the compiler. T/F
False
Which of the following is a preprocessor directive?
#include <iostream>
An Integrated Development Environment typically consists of: *A text editor *A compiler *A debugger *All of these *None of these
All of these
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 *All of these *None of these
All of these
Characters or symbols that perform operations on one or more operands are:
Operators
Which of the following is 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 a set of rules that must be followed when constructing a program.
Syntax
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:
A text editor