Activity Diagram - Download PDF Book | Step by Step Guide
In the previous video, you learn how to draw the Activity Diagram step by step.
https://www.youtube.com/watch?v=knM8BGY9yVI&t=83s
I got a question from one of the Engineering students from the Country Sri-Lanka to draw the Activity Diagram of the following use case senior.
Use case ID: 004
User Case Name: Get a PDF Book
Primary Actors: Registered Member
Pre-condition: Should register into the system
Post Condition: Download the PDF Book
Main Scenario:
1. Login the website.
2. System validate the login.
3. Display the home page.
4. Go to the book store.
5. Enter book name and search the book.
6. System display the book.
7. Select the book.
8. System display the payment method.
9. Select the payment method.
10. Include the payment details.
11. System generate the confirm given payment details.
12. Confirm the details.
13. Download the book.
Extensions:
Line 2: if the login details are wrong, the system displays a message, “Invalid user name or password”.
Line 6: If not found your searching book, the system generates a message “Not found your item”.
Line 11: If the payment details are wrong, display the message “Invalid payment details, please enter correct details”.
Solution:
Start the Activity diagram with Start Node
The first step is to log in to the website. So process the activity name as login which is connected or follow by the control flow arrow.
Users should register to the system to log in to the website which is the precondition. So we can add the decision where the user is register or not. If not process for the Registration process which can be shown with new activity Register.
If already register and after Registration Activity, we can use a merge symbol to merge to process flow in one and process to enter login details.
Again followed by the decision node for the login verification, if do not match the login details, display error message, and show in the iteration process. If login success, Display home page activity, and then open book store.
Now next process it searching the book, enter book details and search the book. Another condition, similar to the above case, if not found, display not found message and show in the iteration process. If found display payment option.
Now moving forward, the User can select the payment method and enter payment details which we can show in fork node. Again using the Join node, follow with another decision node for the validation of payment details.
If invalid details, display an invalid error message and make is iterative as well. If payment success, display confirmation activity, then download book activity. And after download the book the activity end is shown with the end node.
This activity diagram is without partitioning which we can draw with partitioning as well.
I hope you learn how to draw the Activity Diagram and how to use its different nodes as per the case study from this video tutorial.
How to draw Activity Diagram
https://www.youtube.com/watch?v=knM8BGY9yVI&t=83s
How to draw Use Case Diagram
https://www.youtube.com/watch?v=sQgoFjxSdxo
How to verify Use Case Diagram
https://www.youtube.com/watch?v=PiRsKDlZeVk
How to draw Communication or Collaboration Diagram
https://www.youtube.com/watch?v=Z_KPh5K_cC0
How to draw Sequence Diagram
https://www.youtube.com/watch?v=_Mzi1rYtI5U
SUBSCRIBE to our YouTube channel for more videos:
https://www.youtube.com/c/Master2Teac...
Like us on Facebook: https://www.facebook.com/master2teach
For more content go to https://master2teach.com/
E-mail: master2teach@gmail.com
Видео Activity Diagram - Download PDF Book | Step by Step Guide канала Master2Teach
https://www.youtube.com/watch?v=knM8BGY9yVI&t=83s
I got a question from one of the Engineering students from the Country Sri-Lanka to draw the Activity Diagram of the following use case senior.
Use case ID: 004
User Case Name: Get a PDF Book
Primary Actors: Registered Member
Pre-condition: Should register into the system
Post Condition: Download the PDF Book
Main Scenario:
1. Login the website.
2. System validate the login.
3. Display the home page.
4. Go to the book store.
5. Enter book name and search the book.
6. System display the book.
7. Select the book.
8. System display the payment method.
9. Select the payment method.
10. Include the payment details.
11. System generate the confirm given payment details.
12. Confirm the details.
13. Download the book.
Extensions:
Line 2: if the login details are wrong, the system displays a message, “Invalid user name or password”.
Line 6: If not found your searching book, the system generates a message “Not found your item”.
Line 11: If the payment details are wrong, display the message “Invalid payment details, please enter correct details”.
Solution:
Start the Activity diagram with Start Node
The first step is to log in to the website. So process the activity name as login which is connected or follow by the control flow arrow.
Users should register to the system to log in to the website which is the precondition. So we can add the decision where the user is register or not. If not process for the Registration process which can be shown with new activity Register.
If already register and after Registration Activity, we can use a merge symbol to merge to process flow in one and process to enter login details.
Again followed by the decision node for the login verification, if do not match the login details, display error message, and show in the iteration process. If login success, Display home page activity, and then open book store.
Now next process it searching the book, enter book details and search the book. Another condition, similar to the above case, if not found, display not found message and show in the iteration process. If found display payment option.
Now moving forward, the User can select the payment method and enter payment details which we can show in fork node. Again using the Join node, follow with another decision node for the validation of payment details.
If invalid details, display an invalid error message and make is iterative as well. If payment success, display confirmation activity, then download book activity. And after download the book the activity end is shown with the end node.
This activity diagram is without partitioning which we can draw with partitioning as well.
I hope you learn how to draw the Activity Diagram and how to use its different nodes as per the case study from this video tutorial.
How to draw Activity Diagram
https://www.youtube.com/watch?v=knM8BGY9yVI&t=83s
How to draw Use Case Diagram
https://www.youtube.com/watch?v=sQgoFjxSdxo
How to verify Use Case Diagram
https://www.youtube.com/watch?v=PiRsKDlZeVk
How to draw Communication or Collaboration Diagram
https://www.youtube.com/watch?v=Z_KPh5K_cC0
How to draw Sequence Diagram
https://www.youtube.com/watch?v=_Mzi1rYtI5U
SUBSCRIBE to our YouTube channel for more videos:
https://www.youtube.com/c/Master2Teac...
Like us on Facebook: https://www.facebook.com/master2teach
For more content go to https://master2teach.com/
E-mail: master2teach@gmail.com
Видео Activity Diagram - Download PDF Book | Step by Step Guide канала Master2Teach
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Professional Scrum Master PMS 1 - 50 Questions & Answers - 4Professional Scrum Master PMS 1 - 50 Questions & Answers - 3Professional Scrum Master PMS 1 - 50 Questions & Answers - 2Check Website Performance, Accessibility, SEO in 1 MinuteHow to Boost Facebook PostFagan Inspection Methodology - Benefits of Software InspectionsAWS Certified Cloud Practitioner - Questions & Answers - 6How Knowledge Management is Used in SPI - Software Process Improvement.Project Estimation | Lines of Code - Engineering Numerical ExampleGoogle Classroom - Step by step tutorial for online classHow to assign someone as an Advertiser to boost your Facebook / Instagram page or postUse Case Diagram - Step by Step Checklist with ExampleRational Unified Process USDP/RUP - Gantt Chart ExampleHow to clone projects from GitLab to your computer - SSH KeyAWS Tutorial - Hosting WordPress Site in AWS Tutorial 2020AWS Tutorial - Amazon RDS Configure MySQL Database Tutorial 2020AWS Tutorial - Amazon Lex ChatBot Facebook Integration Tutorial 2020AWS Tutorial - Hosting Static Website using S3 BucketHow to top up Pubg UC (Unknown Cash) in your GameHosting website in AWS - Beginning to live step by step