Working with Components Flashcards
What is the purpose of a class diagram?
It provides a logical/static structure of the problem domain being modeled.
Why are class diagrams key in UML modeling?
They describe systems in terms of the classes in the problem domain.
What does creating a logical model involve?
Identifying relevant classes and their relationships within the problem domain.
Why is identifying classes difficult?
It requires skill, experience, domain knowledge, and is an iterative process.
What is the noun search method?
A technique that uses nouns in a problem description to identify potential classes.
What kinds of nouns indicate possible classes?
Structures (hierarchies), actors (people, roles), and real things the system processes.
What is a boundary class?
A class representing interactions between the system and external actors.
What is a control class?
A class managing the flow of logic and interactions within a use case.
What is an entity class?
A class that represents real-world objects or concepts with data and behavior.
How is a use case realized in object-oriented design?
By identifying boundary, control, and entity classes to model its functionality.
What does a collaboration diagram show?
How objects interact within a system to fulfill a use case.
What happens in the balance inquiry use case?
The user requests their balance, which is calculated from their account and displayed on the screen.
Why is use case realization important?
It bridges the gap between requirements and system design using class interactions.
What does iteration imply in identifying classes?
Designers refine the class structure through multiple attempts and feedback.
Why must systems store information about real things?
Because these things represent the core data and entities processed by the system.