lOMoARcPSD| 59078336
Lab 7&8 – SEQUENCE DIAGRAM
MEMBER:
Phạm Đăng Quang - ITCSIU21147
Đoàn Nhân Hậu - ITCSIU21129
Nguyễn Hữu Châu - ITITIU20174
Submission: Each group need to submit sequence diagrams for each use case.
Step by step to create a sequence diagram.
1. Identify a set of objects that will participate in the general collaboration (or use case
scenario)
a. If you derive the sequence diagram based on a scenario of a use case, select the
normal scenarios first
b. You should know the primary actor(s) who activates the use case
2. Consider the first point of the scenario (or if you get it from the first point of the flow of
event of a use case)
3. Consider what the system need to be done in order to respond to the actor, when the actor
send the message to the system
a. What the system need to be handled before the return message response back from
the system?
b. E.g. A customer inserted an ATM card to the machine, the system will display
"input pin number" in the normal scenario, right?
c. Guess, what will to be handled inside by a set of objects at the "back" of the
system? Something like, read and verify the ATM card (card reader), read the card
information of the card holder (by the bank) and ask for the pin, or, return "invalid
card type, insert another card", and etc.
d. By this way, you will identify the candidate objects and operations of the target
application for that particular scenario and you can also use these information as a
basis to derive the class diagram incrementally.
4. Repeat each of the point of the scenario (or flow of event) and until you complete all the
points in the scenario.
Tutorials:
Tutorial about Sequence Diagram:
o https://www.visual-paradigm.com/guide/uml-unified-modeling-language/whatis-
sequence-diagram/ o https://creately.com/blog/diagrams/sequence-diagram-tutorial/
lOMoARcPSD| 59078336
How to draw Sequence Diagram using Visual Paradigm:
https://www.visualparadigm.com/support/documents/vpuserguide/94/2577/7025_drawin
gseque.htm l
Some examples: https://circle.visual-paradigm.com/category/sequence-diagram/
1. Sequence diagram for Sign in/Register/Forgot password/Logout
lOMoARcPSD| 59078336
lOMoARcPSD| 59078336
2. Sequence diagram for Search/Access Restaurant information
3. Sequence diagram for Access orders
4. Sequence diagram for Payment
lOMoARcPSD| 59078336

Preview text:

lOMoAR cPSD| 59078336
Lab 7&8 – SEQUENCE DIAGRAM MEMBER:
Phạm Đăng Quang - ITCSIU21147
Đoàn Nhân Hậu - ITCSIU21129
Nguyễn Hữu Châu - ITITIU20174
Submission: Each group need to submit sequence diagrams for each use case.
Step by step to create a sequence diagram.
1. Identify a set of objects that will participate in the general collaboration (or use case scenario)
a. If you derive the sequence diagram based on a scenario of a use case, select the normal scenarios first
b. You should know the primary actor(s) who activates the use case
2. Consider the first point of the scenario (or if you get it from the first point of the flow of event of a use case)
3. Consider what the system need to be done in order to respond to the actor, when the actor
send the message to the system
a. What the system need to be handled before the return message response back from the system?
b. E.g. A customer inserted an ATM card to the machine, the system will display
"input pin number" in the normal scenario, right?
c. Guess, what will to be handled inside by a set of objects at the "back" of the
system? Something like, read and verify the ATM card (card reader), read the card
information of the card holder (by the bank) and ask for the pin, or, return "invalid
card type, insert another card", and etc.
d. By this way, you will identify the candidate objects and operations of the target
application for that particular scenario and you can also use these information as a
basis to derive the class diagram incrementally.
4. Repeat each of the point of the scenario (or flow of event) and until you complete all the points in the scenario. Tutorials:
● Tutorial about Sequence Diagram:
o https://www.visual-paradigm.com/guide/uml-unified-modeling-language/whatis-
sequence-diagram/ o https://creately.com/blog/diagrams/sequence-diagram-tutorial/ lOMoAR cPSD| 59078336 ● How to draw Sequence Diagram using Visual Paradigm:
https://www.visualparadigm.com/support/documents/vpuserguide/94/2577/7025_drawin gseque.htm l
● Some examples: https://circle.visual-paradigm.com/category/sequence-diagram/
1. Sequence diagram for Sign in/Register/Forgot password/Logout lOMoAR cPSD| 59078336 lOMoAR cPSD| 59078336
2. Sequence diagram for Search/Access Restaurant information
3. Sequence diagram for Access orders
4. Sequence diagram for Payment lOMoAR cPSD| 59078336