UML Diagram Components Quiz

FearlessBeauty avatar
FearlessBeauty
·
·
Download

Start Quiz

Study Flashcards

13 Questions

What is a use case?

A use case is a description of a set of sequence of actions that a system performs.

How is an active class defined?

An active class is a class whose objects own one or more processes or threads and can control activity.

What is the purpose of a component in a system?

A component is a physical and replaceable part of a system that provides the realization of a set of interfaces.

How is a node defined and represented graphically?

A node is a physical element that exists at runtime and represents a computational resource. Graphically, it is rendered as a cube.

What is a Use Case in UML?

A Use Case in UML represents a specific piece of functionality or behavior of a system.

How is a Node represented in UML?

A Node in UML is represented as a component that reflects the physical deployment of artifacts on nodes.

What is an Active Class in UML?

An Active Class in UML is a class that is capable of initiating and controlling its own thread of control.

What is a Collaboration in UML?

A Collaboration in UML is a collection of UML building blocks that work together to provide some functionality within the system.

How is a Component represented in UML?

A Component in UML represents a modular part of a system that encapsulates its contents.

What are the common mechanisms in UML related to extensibility?

Stereotypes, Tagged values, constraints

Give an example of a Stereotype in UML and its purpose.

Exceptions in programming languages (e.g., java or C++)

What does Tagged value allow you to do in UML?

Create new information in the specification of an element

How can you extend the UML language in controlled ways?

By using Stereotypes, Tagged values, and constraints

Study Notes

UML Fundamentals

  • A use case is a methodology used to capture the functional requirements of a system, describing the interactions between the system and its users.

UML Elements

  • An active class is a class that has its own thread of control, and can initiate control activity.
  • A component in a system is a self-contained part that represents a physically replaceable part of a system, and can be used to model a system's physical architecture.
  • A node is a physical or logical element that exists at a particular point in a system, and can be represented graphically as a rectangle.

UML Representation

  • A use case in UML is represented by an oval shape, and is used to model the functional requirements of a system.
  • A node in UML is represented by a rectangle, and can be used to model physical or logical elements in a system.
  • An active class in UML is represented by a class symbol with a vertical line inside, and is used to model classes with their own thread of control.
  • A collaboration in UML is represented by a dotted ellipse, and is used to model the interactions between elements in a system.

UML Extensibility

  • Common mechanisms in UML related to extensibility include stereotypes, tagged values, and constraints.
  • A stereotype is a way to extend the UML language to create a new modeling element, and is represented by a guillemet (« ») symbol. Example: «persistent» stereotype to mark a class that requires persistent storage.
  • Tagged values allow you to add additional information to a modeling element, providing a way to customize UML to a specific domain or problem.
  • UML can be extended in controlled ways by using profiles, which are a predefined set of stereotypes, tagged values, and constraints.

Test your knowledge on UML diagram components like Use Case and Collaboration by identifying their graphical notations and structural definitions.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser