Made with ScholarlyMake flashcards like these from your own notes
Question:What do structural models of software represent?
Answer:Structural models display the organization of a system in terms of its components and their relationships.
Question:What is the difference between static structural models and other structural models?
Answer:Static structural models show the structure of the system design itself, typically at a fixed point, rather than dynamic behavior or interactions over time.
Question:When are structural models of a system typically created?
Answer:They are created when discussing and designing the system architecture.
Question:What is the purpose of class diagrams in object-oriented system modeling?
Answer:Class diagrams show the classes in a system and the associations (relationships) between these classes.
Question:How can an object class be described conceptually?
Answer:An object class is a general definition or template of one kind of system object.
Question:What does an association between classes represent?
Answer:An association is a link between classes that represents some kind of relationship between them.
Question:In early software engineering modeling stages, what do objects typically represent?
Answer:They represent something in the real world, such as a patient, prescription, or doctor.
Question:What elements does a class typically have?
Answer:A class has a class name, a set of optional attributes, and a set of optional methods.
Question:How is the visibility or scope of class attributes and methods specified?
Answer:Scope can be specified as Private, Package, Protected, or Public.
Question:What does an association relationship between two classes describe?
Answer:It describes a relationship where one class can use or interact with another class in some way.
Question:What is the difference between unidirectional and bidirectional associations?
Answer:A unidirectional association has one arrowhead indicating one-way use, while bidirectional has zero or two arrowheads indicating two-way interaction.
Question:What is a reflexive association?
Answer:A reflexive association describes a relationship between one class and itself.
Question:What is the purpose of assigning a name to an association?
Answer:A name describes how the two classes are associated, clarifying the nature of their relationship.
Question:What is an association role in class diagrams?
Answer:It is the name given to the end of an association at the class it connects to, indicating the role played by that class in the relationship.
Question:What does multiplicity indicate in an association?
Answer:Multiplicity indicates how many objects of a class participate in a given relationship.
Question:Explain the multiplicity notation "0..10", "1, 2", and "*"
Answer:"0..10" means zero to ten objects; "1, 2" means either one or two objects; "*" means any number of objects.
Question:Give an example of a reflexive association from the text.
Answer:A staff member supervised by another staff member in the same class, such as a maintenance crew member supervised by aviation engineer, illustrates a reflexive "supervise" relationship.