TEST BANK
Readings from Programming with C++,
1st Edition by Kyla Mcmullen
Complete Chapters Test Bank
are included (Ch 1 to 31)
** Immediate Download
** Swift Response
** All Chapters included
,Table of Contents are given below
1. Computational Thinking
2. Programming Tools
3. Literals, Variables, and Constants
4. Numeric Data Types and Expressions
5. Character and String Data Types
6. Selection Control Structures
7. Repetition Control Structures
8. Arrays
9. Functions
10. Recursion
11. Exceptions
12. File Operations
13. Classes and Objects
14. Methods
15. Encapsulation
16. Inheritance
17. Polymorphism
18. Templates
19. Basic Linear Data Structures
20. Stacks, Queues, Hash Tables
21. Trees and Graphs
22. Algorithm Complexity and Big O Notation
23. Search Algorithms
24. Sorting Algorithms
25. Processor Architecture
26. Data Representation
27. Programming Paradigms
28. Human Computer Interaction
29. Programming Methodologies and Principles
30. Design Tools
31. UML
,The test bank is organized in reverse order, with the last chapter displayed first, to ensure that all chapters
are included in this document. (Complete Chapters included Ch31-1)
Module 31: Unified Modeling Language
1. The acronym UML stands for _____.
a. universal modeling language
b. unified modeling language
c. universal modeling logic
d. unified modeling logic
ANSWER: b
FEEDBACK: a. Incorrect. Computer scientists need to agree on terms when communicating
ideas. Instead of reading someone else’s code, which can be time consuming
and difficult, a programmer can use the Unified Modeling Language (UML).
This response is incorrect because UML does not stand for universal modeling
language. Specifically, the “U” does not stand for “universal.”
b. Correct. Computer scientists need to agree on terms when communicating
ideas. Instead of reading someone else’s code, which can be time consuming
and difficult, a programmer can use the Unified Modeling Language (UML).
UML helps programmers visualize the design of complicated programs and
coordinate large projects where many people are working on parts of a whole.
Each of those parts needs to work with the other parts. Using UML,
programmers define the code relationships and behaviors for everyone to
reference. UML can also be used for tasks other than programming, such as
communicating or creating use cases for programs.
c. Incorrect. Computer scientists need to agree on terms when communicating
ideas. Instead of reading someone else’s code, which can be time consuming
and difficult, a programmer can use the Unified Modeling Language (UML).
This response is incorrect because UML does not stand for universal modeling
logic. Specifically, the “U” does not stand for “universal” and the “L” does not
stand for “ logic.”
d. Incorrect. Computer scientists need to agree on terms when communicating
ideas. Instead of reading someone else’s code, which can be time consuming
and difficult, a programmer can use the Unified Modeling Language (UML).
This response is incorrect because UML does not stand for unified modeling
logic. Specifically, the “L” does not stand for “ logic.”
POINTS: 1
DIFFICULTY: Medium
REFERENCES: 31.1 Purpose of Unified Modeling Language (UML)
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: PC++.PARS.21.31.1.1 - Associate "UML" with "unified modeling language".
KEYWORDS: Bloom's: Remember
DATE CREATED: 1/11/2021 7:32 AM
DATE MODIFIED: 1/11/2021 7:32 AM
2. UML helps programmers visualize the design of complicated programs.
a. True
b. False
ANSWER: True
FEEDBACK: Correct Unified Modeling Language (UML) helps programmers visualize the design of
complicated programs and coordinate large projects where many people are
working on parts of a whole. Each of those parts needs to work with the other
Page 1
, Name: Class: Date:
Module 31: Unified Modeling Language
parts. Using UML, programmers define the code relationships and behaviors for
everyone to reference. UML can also be used for tasks other than programming,
such as communicating or creating use cases for programs.
Incorrect Unified Modeling Language (UML) helps programmers visualize the design of
complicated programs and coordinate large projects where many people are
working on parts of a whole. Each of those parts needs to work with the other
parts. Using UML, programmers define the code relationships and behaviors for
everyone to reference. UML can also be used for tasks other than programming,
such as communicating or creating use cases for programs.
POINTS: 1
DIFFICULTY: Easy
REFERENCES: 31.1 Purpose of Unified Modeling Language (UML)
QUESTION TYPE: True / False
HAS VARIABLES: False
LEARNING OBJECTIVES: PC++.PARS.21.31.1.2 - Define the purpose of UML as helping programmers
visualize the design of a software system.
KEYWORDS: Bloom's: Remember
DATE CREATED: 1/11/2021 7:32 AM
DATE MODIFIED: 1/11/2021 7:32 AM
3. A _____ diagram represents the structure of a system, showing relationships between classes, objects, methods,
functions, and member variables.
a. sequence
b. class
c. use case
d. relationship
ANSWER: b
FEEDBACK: a. Incorrect. A class diagram represents the structure of a system, showing
relationships between classes, objects, methods, functions, and member
variables. In UML, a sequence diagram shows the relationship among parts of
code and the exact sequence of events.
b. Correct. UML is used to define the components of a system, or scenario,
including consistent names. UML consists of many types of diagrams, including
a class diagram, which represents the structure of a system, showing
relationships between classes, objects, methods, functions, and member
variables.
c. Incorrect. A class diagram represents the structure of a system, showing
relationships between classes, objects, methods, functions, and member
variables. In UML, a use case diagram communicates how a user interacts with
the system to achieve a goal.
d. Incorrect. A class diagram represents the structure of a system, showing
relationships between classes, objects, methods, functions, and member
variables. Class diagrams can be combined with other classes in a relationship
diagram. The lines connecting the classes indicate how the classes relate to,
and interact with, the other classes, also known as their associations.
POINTS: 1
DIFFICULTY: Medium
REFERENCES: 31.2 UML Diagram Parts
Page 2