UML Diagrams MCQs Questions With Answers – Part 2
Test your knowledge and boost your confidence with these multiple-choice quizzes focused on UML diagrams, foundational software engineering concepts, and real-world best practices. Designed for students, developers, and exam candidates, these MCQs offer a quick and effective way to assess your understanding and sharpen your skills.
1. In UML, what does the acronym “UML” stand for?
A Universal Modeling Language
B Unified Management Language
C Unified Modeling Language
D Ultimate Modeling Logic
2. Which UML diagram is used to represent a system’s behavior in the form of activity flows?
A Class diagram
B Activity diagram
C State-transition diagram
D Use case diagram
3. What symbol is used to represent a use case?
A A rectangle
B A circle
C A diamond
D An oval
4. In a class diagram, what do you call a relationship where a class is “part of” another?
A Inheritance
B Association
C Composition
D Dependency
5. Which relationship expresses a dependency between two UML elements?
A A solid arrow
B A dashed arrow
C A line without arrow
D A diamond
6. The UML component diagram is used to represent ___________
A The physical architecture of the system
B Navigation between website pages
C Database entities
D The flow of an algorithm
7. What type of UML relationship represents a temporary “use” of an object by a method?
A Association
B Dependency
C Aggregation
D Composition
8. What is the purpose of a sequence diagram?
A Show classes and their relationships
B Show the timeline of interactions between objects
C Describe user roles
D Define functional requirements
9. The state (or state-transition) diagram is used to model:
A Relationships between classes
B The execution order of methods
C Data storage
D The different possible states of an object
10. In a class diagram, an aggregation is represented by _________
A A white triangle
B A dashed arrow
C A white diamond
D A black diamond