Content Frame
Note for screen reader users: There is text between the form elements on this page. To be sure that you do not miss any text, use item by item navigation methods, rather than tabbing from form element to form element.
Skip Breadcrumb Navigation
Home  arrow Student Resources  arrow Quizzes  arrow Chapter 20

Chapter 20

Patterns and UML

This activity contains 10 questions.

Question 1.
Patterns and UML are:

 
End of Question 1


Question 2.
Which pattern provides consistency in how to cycle through the manipulation of items in a vector, list, queue, map, or set?

 
End of Question 2


Question 3.
Which pattern could be used to transform a vector into a set through a new interface.

 
End of Question 3


Question 4.
Which of the following is not one of the design principles behind the Model-View-Controller pattern?

 
End of Question 4


Question 5.
If we used the quick-sort algorithm presented in the textbook then which array would result in the worst runtime performance?

 
End of Question 5


Question 6.
What is an appropriate level of abstraction for designing a sorting pattern?

 
End of Question 6


Question 7.
Which of the following best describes the Unified Modeling Language?

 
End of Question 7


Question 8.
These devices are the closest predecessors to today's UML.

 
End of Question 8


Question 9.

In the following UML Class Diagram object, which member functions and member variables are public?

Animal
-name: string
-age: int
+getDescription(): string
+setAge(int a): int
-calcInfo(): string
 
End of Question 9


Question 10.
How are the interactions between classes depicted in UML?

 
End of Question 10





Pearson Copyright © 1995 - 2010 Pearson Education . All rights reserved. Pearson Addison Wesley is an imprint of Pearson .
Legal Notice | Privacy Policy | Permissions

Return to the Top of this Page