AlgoMaster Logo

UML - Quiz

UML Quiz

14 quizzes

1
Multiple Choice

Which relationship in UML class diagrams indicates a 'whole-part' relationship where the part cannot exist independently of the whole?

2
Multiple Choice

What does the stick figure represent in UML use case diagrams?

3
Multiple Choice

In a sequence diagram, what does a vertical dashed line underneath a participant represent?

4
Multiple Choice

What is the primary purpose of a use case diagram?

5
Multiple Choice

Which visibility marker in UML indicates that an attribute is accessible only within the same class?

6
Multiple Choice

If a class diagram includes a method signature labeled with '#' visibility, who can access this method?

7
Multiple Choice

In a sequence diagram, how is the time sequence of events represented?

8
Multiple Choice

What would you use in a class diagram to state that one class uses another class only temporarily, such as passing an object as a method parameter?

9
Multiple Choice

Which UML diagram would best illustrate how a user books a ride in a ride-sharing app?

10
Multiple Choice

Which element in a sequence diagram indicates when a participant is performing an action?

11
Matching

Match the design term to its UML diagram type

Click an item on the left, then click its match on the right. Click a matched item to unmatch.

12
Matching

Match the relationship type to its definition

Click an item on the left, then click its match on the right. Click a matched item to unmatch.

13
Matching

Match the UML diagram building block to its description

Click an item on the left, then click its match on the right. Click a matched item to unmatch.

14
Matching

Match the attribute visibility with its scope

Click an item on the left, then click its match on the right. Click a matched item to unmatch.