Match the LIST-I with LIST-II
| LIST-I |
LIST-II |
| A. Class diagram |
I. subset |
| B. Package diagram |
II. relationship |
| C. Object diagram |
III. dependencies |
| D. Component diagram |
IV. static structure |
Choose the correct answer from the options given below:
1.A-II, B-III, C-IV, D-I
2.A-IV, B-I, C-III, D-II
3.A-IV, B-I, C-II, D-III ✓ Correct
4.A-III, B-IV, C-II, D-I
Solution
The correct answer is A-IV, B-I, C-II, D-III.
Key Points
- Class diagram: Represents the static structure of a system, showcasing classes, attributes, operations, and relationships.
- Package diagram: Demonstrates the subset of a system and organizes elements into packages for better modularity and understanding.
- Object diagram: Illustrates the relationship between objects at a particular instance in time, reflecting the state of the system.
- Component diagram: Highlights dependencies among components, showing how components interact and are interconnected.
Additional Information
- Class Diagram:
- Used for detailed modeling of classes, interfaces, and their relationships.
- Often employed during system design to define the blueprint of a system.
- Package Diagram:
- Helps in organizing large systems into manageable sections.
- Facilitates understanding of system modularity and dependency management.
- Object Diagram:
- Represents instances of classes and their data values at a specific time.
- Useful for testing and validating the static view of a system.
- Component Diagram:
- Focuses on the physical or logical structure of components in a system.
- Helps in visualizing dependencies and interactions between components.