Test Bank TutorSection 2026-2027
Test Bank For
C++ Programming From
Problem Analysis to Program
Design 8th Edition By D.S.
Malik
Te to -2
Tu 26
st S 2
All Chapters 1-18 Included.
Ba c 7
20
r
nk ion
e
t
0
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
1. The basic commands that a computer performs are input (get data), output (display result), storage, and performance of
arithmetic and logical operations.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Reading data (input), displaying results (output), storage, and performing arithmetic
and logical operations are the basic commands which are performed by a
computer.
Incorrect Reading data (input), displaying results (output), storage, and performing arithmetic
and logical operations are the basic commands which are performed by a
Te to -2 computer.
POINTS: 1
REFERENCES: 4 – Elements of a Computer System
QUESTION TYPE: True / False
Tu 26
st S 2
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
Ba c 7
20
DATE MODIFIED: 3/16/2020 10:45 PM
2. Main memory is directly connected to the CPU.
r
a. True
b. False
nk ion
ANSWER: True
e
FEEDBACK: Correct The main memory (also called random access memory) is directly connected to the
central processing unit (CPU).
Incorrect The main memory (also called random access memory) is directly connected to the
central processing unit (CPU).
t
POINTS: 1
0
REFERENCES: 4 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:42 AM
3. When the computer is turned off, everything in secondary memory is lost.
a. True
b. False
ANSWER: False
FEEDBACK: Correct When the computer is turned off, everything in the main memory is lost, but the
secondary memory stores information permanently.
Incorrect When the computer is turned off, everything in the main memory is lost, but the
secondary memory stores information permanently.
, Page 1
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
POINTS: 1
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED:
Te to -2 2/26/2020 1:44 AM
4. The devices that feed data and programs into computers are called output devices.
a. True
b. False
ANSWER: False
Tu 26
FEEDBACK:
st S 2 Correct The devices that feed data and programs into computers are called input devices.
A mouse, scanner, webcam, and keyboard are examples of input devices.
Incorrect The devices that feed data and programs into computers are called input devices.
A mouse, scanner, webcam, and keyboard are examples of input devices.
Ba c 7
20
POINTS: 1
REFERENCES: 5 – Input/Output Devices
QUESTION TYPE: True / False
r
HAS VARIABLES: False
nk ion
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
e
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:46 AM
5. Information stored in main memory must be transferred to some other device for permanent storage.
t
a. True
0
b. False
ANSWER: True
FEEDBACK: Correct Information stored in the main memory is lost when the computer is turned off, so
the information should be transferred to some other device like hard disk (HD) for
permanent storage.
Incorrect Information stored in the main memory is lost when the computer is turned off, so
the information should be transferred to some other device like hard disk (HD) for
permanent storage.
POINTS: 1
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:47 AM
, Page 2
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
6. The device that stores information permanently (unless the device becomes unusable or you change the information by
rewriting it) is called primary storage.
a. True
b. False
ANSWER: False
FEEDBACK: Correct A secondary storage device is used to store information permanently until the
device becomes unusable or someone rewrites the information stored in it.
Incorrect A secondary storage device is used to store information permanently until the
device becomes unusable or someone rewrites the information stored in it.
POINTS: 1
Te to -2
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
Tu 26
st S 2
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:49 AM
Ba c 7
20
7. The command that does the linking on Visual C++ Express (2013 or 2016) and Visual Studio 2015 is Make or Remake.
a. True
r
b. False
ANSWER:
nk ion False
FEEDBACK: Correct The Build or Rebuild is the command, which does the linking on Visual C++
Express (2013 or 2016) and Visual Studio 2015.
e
Incorrect The Build or Rebuild is the command, which does the linking on Visual C++
Express (2013 or 2016) and Visual Studio 2015.
POINTS: 1
t
REFERENCES: 11 – Processing a C++ Program
0
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.08 - Explore how a C++ program is processed
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:51 AM
8. When you compile your program, the compiler identifies the logic errors and suggests how to correct them.
a. True
b. False
ANSWER: False
FEEDBACK: Correct The syntax errors in a program can be identified by a compiler while compiling the
program. Also, the compiler suggests how to correct the errors.
Incorrect The syntax errors in a program can be identified by a compiler while compiling the
program. Also, the compiler suggests how to correct the errors.
POINTS: 1
REFERENCES: 11 – Processing a C++ program
, Page 3
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.08 - Explore how a C++ program is processed
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 4:18 AM
9. To develop a program to solve a problem, you start by analyzing the problem.
a. True
b. False
ANSWER:
Te to -2 True
FEEDBACK: Correct To solve a problem by developing a program, the problem must be analyzed first.
Incorrect To solve a problem by developing a program, the problem must be analyzed first.
POINTS: 1
Tu 26
st S 2
REFERENCES: 12 – Programming with the Problem Analysis–Coding–Execution Cycle
QUESTION TYPE: True / False
HAS VARIABLES: False
Ba c 7
20
LEARNING OBJECTIVES: PDDS.MALI.01.09 - Learn what an algorithm is and explore problem-solving techniques
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 4:18 AM
r
10. C++ programs have always been portable from one compiler to another.
a. True
nk ion
b. False
e
ANSWER: False
FEEDBACK: Correct In the early 1980s through the early 1990s, the C++ language was evolving in
slightly different ways in different compilers. Therefore,C++ programs were not
always portable from one compiler to another.
t
0
Incorrect In the early 1980s through the early 1990s, the C++ language was evolving in
slightly different ways in different compilers. Therefore,C++ programs were not
always portable from one compiler to another.
POINTS: 1
REFERENCES: 22 – ANSI/ISO Standard C++
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.11 - Become aware of ANSI/ISO Standard C++, C++11, C++14
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 5/11/2020 4:29 PM
11. Several categories of computers exist, such as ____.
a. microframe, midframe, and miniframe
b. midsize, microframe, and mainframe
c. mainsize, midsize, and microsize
d. mainframe, midsize, and micro
, Page 4
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
ANSWER: d
FEEDBACK: a. Incorrect. There is no computer category called microframe, midframe, or
miniframe.
b. Incorrect. Microframe is not a defined term in categories of computers.
c. Incorrect. Mainsize and microsize are not defined terms in categories of
computers.
d. Correct. Several categories of computers exist, such as mainframe, midsize, and
micro.
POINTS: 1
REFERENCES: 3 – A Brief Overview of the History of Computers
Te to -2
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.01 - Learn about different types of computers
Tu 26
st S 2
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 5/11/2020 4:31 PM
12. The basic commands that a computer performs are ____, and performance of arithmetic and logical operations.
Ba c 7
20
a. input, file, list b. output, folder, storage
c. input, output, storage d. storage, directory, log
ANSWER: c
r
FEEDBACK: a. Incorrect. A file is an object used to store data and list is an abstract data type.
nk ion b. Incorrect. Folder is a directory used to organize computer files.
c. Correct. Input, output, storage, and performance of arithmetic and logical
operations are the basic commands performed by a computer.
e
d. Incorrect. A directory represents a location of the files stored in a computer.
POINTS: 1
REFERENCES: 4 – Elements of a Computer System
t
0
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 2:00 AM
13. Main memory is called ____.
a. read only memory b. random access memory
c. readily available memory d. random read only memory
ANSWER: b
FEEDBACK: a. Incorrect. Read only memory (ROM) is a non-volatile memory, which contains
boot-up programs of a computer.
b. Correct. Main memory is also called random access memory (RAM).
c. Incorrect. There is no memory called readily available memory.
d. Incorrect. There is no memory called random read only memory.
, Page 5
Test Bank For
C++ Programming From
Problem Analysis to Program
Design 8th Edition By D.S.
Malik
Te to -2
Tu 26
st S 2
All Chapters 1-18 Included.
Ba c 7
20
r
nk ion
e
t
0
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
1. The basic commands that a computer performs are input (get data), output (display result), storage, and performance of
arithmetic and logical operations.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Reading data (input), displaying results (output), storage, and performing arithmetic
and logical operations are the basic commands which are performed by a
computer.
Incorrect Reading data (input), displaying results (output), storage, and performing arithmetic
and logical operations are the basic commands which are performed by a
Te to -2 computer.
POINTS: 1
REFERENCES: 4 – Elements of a Computer System
QUESTION TYPE: True / False
Tu 26
st S 2
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
Ba c 7
20
DATE MODIFIED: 3/16/2020 10:45 PM
2. Main memory is directly connected to the CPU.
r
a. True
b. False
nk ion
ANSWER: True
e
FEEDBACK: Correct The main memory (also called random access memory) is directly connected to the
central processing unit (CPU).
Incorrect The main memory (also called random access memory) is directly connected to the
central processing unit (CPU).
t
POINTS: 1
0
REFERENCES: 4 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:42 AM
3. When the computer is turned off, everything in secondary memory is lost.
a. True
b. False
ANSWER: False
FEEDBACK: Correct When the computer is turned off, everything in the main memory is lost, but the
secondary memory stores information permanently.
Incorrect When the computer is turned off, everything in the main memory is lost, but the
secondary memory stores information permanently.
, Page 1
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
POINTS: 1
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED:
Te to -2 2/26/2020 1:44 AM
4. The devices that feed data and programs into computers are called output devices.
a. True
b. False
ANSWER: False
Tu 26
FEEDBACK:
st S 2 Correct The devices that feed data and programs into computers are called input devices.
A mouse, scanner, webcam, and keyboard are examples of input devices.
Incorrect The devices that feed data and programs into computers are called input devices.
A mouse, scanner, webcam, and keyboard are examples of input devices.
Ba c 7
20
POINTS: 1
REFERENCES: 5 – Input/Output Devices
QUESTION TYPE: True / False
r
HAS VARIABLES: False
nk ion
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
e
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:46 AM
5. Information stored in main memory must be transferred to some other device for permanent storage.
t
a. True
0
b. False
ANSWER: True
FEEDBACK: Correct Information stored in the main memory is lost when the computer is turned off, so
the information should be transferred to some other device like hard disk (HD) for
permanent storage.
Incorrect Information stored in the main memory is lost when the computer is turned off, so
the information should be transferred to some other device like hard disk (HD) for
permanent storage.
POINTS: 1
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:47 AM
, Page 2
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
6. The device that stores information permanently (unless the device becomes unusable or you change the information by
rewriting it) is called primary storage.
a. True
b. False
ANSWER: False
FEEDBACK: Correct A secondary storage device is used to store information permanently until the
device becomes unusable or someone rewrites the information stored in it.
Incorrect A secondary storage device is used to store information permanently until the
device becomes unusable or someone rewrites the information stored in it.
POINTS: 1
Te to -2
REFERENCES: 5 – Central Processing Unit and Main Memory
QUESTION TYPE: True / False
HAS VARIABLES: False
Tu 26
st S 2
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:49 AM
Ba c 7
20
7. The command that does the linking on Visual C++ Express (2013 or 2016) and Visual Studio 2015 is Make or Remake.
a. True
r
b. False
ANSWER:
nk ion False
FEEDBACK: Correct The Build or Rebuild is the command, which does the linking on Visual C++
Express (2013 or 2016) and Visual Studio 2015.
e
Incorrect The Build or Rebuild is the command, which does the linking on Visual C++
Express (2013 or 2016) and Visual Studio 2015.
POINTS: 1
t
REFERENCES: 11 – Processing a C++ Program
0
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.08 - Explore how a C++ program is processed
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 1:51 AM
8. When you compile your program, the compiler identifies the logic errors and suggests how to correct them.
a. True
b. False
ANSWER: False
FEEDBACK: Correct The syntax errors in a program can be identified by a compiler while compiling the
program. Also, the compiler suggests how to correct the errors.
Incorrect The syntax errors in a program can be identified by a compiler while compiling the
program. Also, the compiler suggests how to correct the errors.
POINTS: 1
REFERENCES: 11 – Processing a C++ program
, Page 3
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.08 - Explore how a C++ program is processed
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 4:18 AM
9. To develop a program to solve a problem, you start by analyzing the problem.
a. True
b. False
ANSWER:
Te to -2 True
FEEDBACK: Correct To solve a problem by developing a program, the problem must be analyzed first.
Incorrect To solve a problem by developing a program, the problem must be analyzed first.
POINTS: 1
Tu 26
st S 2
REFERENCES: 12 – Programming with the Problem Analysis–Coding–Execution Cycle
QUESTION TYPE: True / False
HAS VARIABLES: False
Ba c 7
20
LEARNING OBJECTIVES: PDDS.MALI.01.09 - Learn what an algorithm is and explore problem-solving techniques
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 4:18 AM
r
10. C++ programs have always been portable from one compiler to another.
a. True
nk ion
b. False
e
ANSWER: False
FEEDBACK: Correct In the early 1980s through the early 1990s, the C++ language was evolving in
slightly different ways in different compilers. Therefore,C++ programs were not
always portable from one compiler to another.
t
0
Incorrect In the early 1980s through the early 1990s, the C++ language was evolving in
slightly different ways in different compilers. Therefore,C++ programs were not
always portable from one compiler to another.
POINTS: 1
REFERENCES: 22 – ANSI/ISO Standard C++
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.11 - Become aware of ANSI/ISO Standard C++, C++11, C++14
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 5/11/2020 4:29 PM
11. Several categories of computers exist, such as ____.
a. microframe, midframe, and miniframe
b. midsize, microframe, and mainframe
c. mainsize, midsize, and microsize
d. mainframe, midsize, and micro
, Page 4
, Test Bank TutorSection 2026-2027
Name: Class: Date:
Chapter 1
ANSWER: d
FEEDBACK: a. Incorrect. There is no computer category called microframe, midframe, or
miniframe.
b. Incorrect. Microframe is not a defined term in categories of computers.
c. Incorrect. Mainsize and microsize are not defined terms in categories of
computers.
d. Correct. Several categories of computers exist, such as mainframe, midsize, and
micro.
POINTS: 1
REFERENCES: 3 – A Brief Overview of the History of Computers
Te to -2
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.01 - Learn about different types of computers
Tu 26
st S 2
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 5/11/2020 4:31 PM
12. The basic commands that a computer performs are ____, and performance of arithmetic and logical operations.
Ba c 7
20
a. input, file, list b. output, folder, storage
c. input, output, storage d. storage, directory, log
ANSWER: c
r
FEEDBACK: a. Incorrect. A file is an object used to store data and list is an abstract data type.
nk ion b. Incorrect. Folder is a directory used to organize computer files.
c. Correct. Input, output, storage, and performance of arithmetic and logical
operations are the basic commands performed by a computer.
e
d. Incorrect. A directory represents a location of the files stored in a computer.
POINTS: 1
REFERENCES: 4 – Elements of a Computer System
t
0
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PDDS.MALI.01.02 -
Explore the hardware and software components of a computer system
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 2/26/2020 2:00 AM
13. Main memory is called ____.
a. read only memory b. random access memory
c. readily available memory d. random read only memory
ANSWER: b
FEEDBACK: a. Incorrect. Read only memory (ROM) is a non-volatile memory, which contains
boot-up programs of a computer.
b. Correct. Main memory is also called random access memory (RAM).
c. Incorrect. There is no memory called readily available memory.
d. Incorrect. There is no memory called random read only memory.
, Page 5