All quizzes
Free quiz · 20 questions in the bank

UML quiz

Test your UML knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the purpose of an "interface" notation in UML class diagrams (often shown with a `<<interface>>` stereotype label), and how does a class "implementing" an interface differ visually from a class "inheriting" from another class?

In this round
  1. What is the purpose of an "interface" notation in UML class diagrams (often shown with a `<<interface>>` stereotype label), and how does a class "implementing" an interface differ visually from a class "inheriting" from another class?
  2. What is a UML "activity diagram" used for, and how does it conceptually relate to a traditional flowchart?
  3. What is the difference between "association", "aggregation", and "composition" as three related but distinct relationship types in UML class diagrams?
  4. What is UML (Unified Modeling Language)?
  5. What is the purpose of a "package diagram" in UML, and what does it help communicate about a larger software system's organization?
  6. What is a reasonable strategy for a team deciding how much UML documentation to actually maintain for an ongoing, evolving software project, given the earlier-noted risk of documentation becoming outdated?
  7. What is a reasonable comparison between a UML class diagram and an Entity-Relationship (ER) diagram, given that both are used to model structured relationships between data entities?
  8. What is a reasonable justification for choosing to sketch a UML diagram on a whiteboard during a design discussion, rather than always immediately creating a polished, tool-generated diagram using dedicated UML software?
  9. What is a UML "component diagram" used for, and at what level of a system does it typically operate?
  10. What is a reasonable justification for using a sequence diagram specifically to design (rather than only document after the fact) a complex interaction between multiple services in a distributed system, before writing the actual implementation code?
  11. What is a reasonable justification for a development team using UML diagrams during the DESIGN phase of a project, before writing actual implementation code?
  12. What is the purpose of a UML "use case diagram", and who is it typically most useful for communicating with?
Gaps to close?
Read the curated UML notes — core concepts, patterns, interview prep.
UML notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web