Assignment01-Use Case Analysis
Assignment01-Use Case Analysis
1. SUBMISSION GUIDELINE
When you want to submit your individual work of in-class tasks for the Case Study,
you have to push your work to your individual GitHub repository, complied with
the naming convention “TeamName-StudentID.StudentName” (e.g.
TKXDPM.KHMT.20231.20192012.HoangNghiaPhu or TKXDPM.VP.20231-
20192122.LuongHongHai).
2. IN-CLASS TASKS
In this section, we will analyse and realize use cases by identifying analysis classes,
their interactions/relationships with interaction diagrams and analysis class
diagrams for the Case Study.
You are asked to work individually for this section, and then put all your files
(including both .astah files and exported PNG files) and sub-directories in a parent
directory, namely “Use case analysis”. After that, push your commit to your
individual repository before the announced deadline. Remember to submit astah
file(s) also.
We will use our Software Requirement Analysis (SRS) in the previous assignment
as the input for the use case analysis process.
2.1. INTERACTION DIAGRAMS WITH ASTAH
In this subsection, you would get familiar with the components of a sequence
diagram and a communication diagram in Astah.
2.1.1. Sequence diagram with Astah
Please see the following links to know how to make a sequence diagram with Astah.
https://astah.net/support/astah-pro/user-guide/sequence-diagram/
https://www.youtube.com/embed/Qi2CsTY4LSk
Some small tips:
HANDS-ON LAB GUIDELINES
© SOICT – HUST
ITSS SOFTWARE DEVELOPMENT – IT4945E
2
https://astahblog.com/2015/10/15/search-models-in-diagram/
https://astahblog.com/2015/10/28/hide-sequence-message-number/
https://astah.net/support/astah-pro/user-guide/diagram-editor/
2.1.2. Communication diagram with Astah
See the following link to know how to make a communication diagram with Astah.
https://astah.net/support/astah-pro/user-guide/communication-diagram/
https://www.uml-diagrams.org/communication-diagrams.html
2.2. INTERACTION DIAGRAMS FOR UC “PAY ORDER”
This subsection demonstrates how to create an architectural design for UC “Pay
Order” step by step. At the end of this subsection, we achieve a sequence diagram
and a communication diagram for UC “Pay Order”, which is used to create the
analysis class diagram in the next lab.
2.2.1. Analysis Classes
The steps to analyze classes for UC “Pay Order”, i.e., the steps to find classes from
use-case behavior, are illustrated as follows:
Step 1. Create a new class diagram.
Step 2. Find boundary classes:
a) User interface classes:
When you complete the tasks, please export your work to PNG files and push them
to GitHub. Do not forget to add necessary attributes for classes, based on the
input/output data specifications.
3. HOMEWORK ASSIGNMENTS
3.1. COMPLETE AT-CLASS EXERCISES
Complete all in-class exercises (in section 2,3) following the guidelines.
3.2. EXTEND WITH UC “PLACE RUSH ORDER”
USE CASE ANALYSIS FOR UC “PLACE RUSH ORDER”: In this assignment, you
are asked to design the interaction diagrams for UC “Place Rush Order”.
HANDS-ON LAB GUIDELINES
© SOICT – HUST
ITSS SOFTWARE DEVELOPMENT – IT4945E
11