Lecture 8 Flashcards
What is a structural model?
Capture the structure of a system. Elements and their connection can be perceived even without executing the system
Software modeling helps in establishing what?
The context and (intended) functionality of a system
What are the steps of relevance of modeling in software development.
Analysis: Use uniform notation for use cases, unify terminology.
System Design: Create coarse-grain system structure, abstract for decision-making.
Detailed Design: Develop fine-grain system design, specify and agree on behavior.
Implementation: Models as implementation specs.
Quality Assurance: Ensure implementation matches models, use for testing behavior.
Maintenance: Evaluate changes based on model feasibility/effort.
what should models abstract from?
Details and instead focus on the “design essence” of the system
Which UML (unified modeling language) diagrams are structured?
Class diagram
Object diagram
Deployment diagram
What does UML stand for?
The Unified Modeling Language (UML)
Mention the main diagram types of the UML.
Structure diagram
Behaviour diagram
(Interaction diagram)Her
How would you describe the process of creating an UML class diagram?
Purpose: Create a general software system design focusing on essential problem-solving.
Process: Start with a high-level design, refine to detailed implementation.
Focus: Abstract technical details to prevent getting lost in technology discussions, emphasizing domain challenges
What is UML?
- Standard defining meta model for software modeling
- Standard specifying model concepts and their relations
What the UML is not:
- A graphical language standard (only suggestions)
- A model with formal semantics (instead interpretation using common sense)
What is meta model?
A meta model captures the syntactic elements and their potential relations. You can think of this as the blueprint of a language that tells you which concepts can be expressed
(vocabulary) and in which way they may be combined (grammar).
What are the three visibility modifiers, and their symbols?
Protected #
Private -
Public +
What is an association, association class and association name in UML class diagram?
Association: Reference to another class’
objects.
Association class: Additional information for association
Association name: In middle of association, and is in the reading direction
her
What is a Class Member? How is that declared?
- Underlined
- Same value/declaration for all objects of class
- Similar to static in Java