Chapter 1 Study Guide
Internally, the central processing unit (CPU) consists of two parts
E) the arithmetic and logic unit (ALU) and the control unit.
Even when there is no power to the computer, data can be held in
a secondary storage device
A ________ is a complete instruction that causes the computer to perform some action
a statement
A storage location in the computer's memory that can hold a piece of data is called
a variable
True/False: Executable code is computer code that contains no errors.
false
True/False: Most modern computers can understand and execute pseudocode.
false
Three primary activities of a typical program are
input, processing, and output.
IDE stands for
integrated development environment
Words with a special meaning that may be used only for their intended purpose are known as
keywords.
Mistakes that allow a program to run, but cause it to produce erroneous results are called
logic errors
The programmer usually enters source code into a computer using
none of the above. Correct answer is text editor
A software package that includes a text editor, compiler, debugger, and assorted utilities for creating, testing, and running software is called
none of the above. Should be an IDE
The programs that control and manage the basic operations of a computer are generally referred to as
system software
True/False: If a new value is stored in a variable, it replaces whatever value was previously there
true
True/False: Syntax involves rules that must be followed when writing a program
true
A variable definition always specifies the name of a variable and tells
what type of data it can hold.
High-level programming languages include
C++ and JavaScript. C++ and Java. C++ and Visual Basic.
________ is an example of volatile memory, used for temporary storage while a program is running
RAM
Which of the following is an example of a secondary storage device?
all of the above a USB flash drive a hard disk drive a DVD a CD
In the C++ statement pay = rate * hours; the * symbol is an example of
an operator