Week 5 Flashcards
Based on the order entry system, the conceptual classes that are created are: Order, Customer, Product, Receipt, Shop and others. Which of these classes require a state diagram?
Question 1Answer
A.
Order
B.
Order, Customer
C.
Order, Customer, Product
C.
Order, Customer, Product
What is the technique for simplifying state diagrams?
Question 2Answer
A.
Sub States
B.
Super States
C.
Class State
B.
Super States
What is the focus of a sequence diagram?
A.
Sequence diagrams focus on the order in which the messages are sent.
B.
Sequence diagrams focus on the flow of messages between objects.
C.
Sequence diagrams focus on the response to certain events or actions.
A.
Sequence diagrams focus on the order in which the messages are sent.
Why is it a waste of time to draw state diagrams for all conceptual classes?
Question 4Answer
A.
State diagrams do not contribute much to the conceptual classes.
B.
Only a few conceptual classes really require state diagrams.
C.
There is no need to draw state diagrams as conceptual classes are enough.
B.
Only a few conceptual classes really require state diagrams.
Which two diagrams describe the same information and can be transformed into one another without difficulty.
Question 5Answer
A.
Collaboration Diagram and State Diagram
B.
State Diagram and Sequence Diagram
C.
Collaboration Diagram and Sequence Diagram
A.
Collaboration Diagram and State Diagram