Chapter 1 C++
Pseudocode is a form of a program statement that will always evaluate to "false." True False
False
A CPU only understands machine language instructions. True False
True
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs. True False
True
The CPU is the most important component in a computer because without it, the computer could not run software. True False
True
The term "bit" stands for binary digit. True False
True
A computer stores a program while it is running on the computer monitor in main memory None of these on a hard disk in the CPU
in main memory
The purpose of a memory address is: to improve the speed of processing to obtain an algorithm to prevent multitaskingNone of these to identify the location of a byte in memory
To identify the location of a byte in memory
The first step in writing a program is to visualize logical errors type the code clearly define what the program is to do None of these visualize the program running on a computer
clearly define what the program is to do
The programming process consists of several steps, which include: input, processing, output design, creation, testing, debugging None of these key words, operator definitions, punctuation syntax, logic, error handling
design, creation, testing, debugging
An Integrated Development Environment (IDE) typically consists of a text editor a compiler None of these All of these a debugger
All of these
The term that refers to the programmer reading the program from the beginning and stepping through each statement is spot checking desk checking None of these pseudocoding software engineering
Desk checking
Which of the following is NOT one of the major components of a computer system? main memory secondary storage the CP Uinput/output devices the preprocessor
Preprocessor
Which of the following is NOT a common input device? keyboard printer All are common input devices mouse digital camera
printer
The two parts of the CPU are the software and the hardware the single-task device and the multi-task device the output device and the input deviceNone of these the Control Unit and the Arithmetic and Logic Unit
the Control Unit and the Arithmetic and Logic Unit
What does the term hardware refer to? the relative difficulty of writing computer programs the physical components that make up a computer None of these the logical flow of instructions the way a computer's storage space is organized
the physical components that make up a computer