Week 5 Flashcards

1
Q

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

A

C.
Order, Customer, Product

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the technique for simplifying state diagrams?

Question 2Answer

A.
Sub States

B.
Super States

C.
Class State

A

B.
Super States

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A.
Sequence diagrams focus on the order in which the messages are sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

B.
Only a few conceptual classes really require state diagrams.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A.
Collaboration Diagram and State Diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly