assignment 214
Fall 2020
CNS180
Introduction to Systems Development
Assessment 6 (7%) F1
Activity Diagram
|
Student Name |
Student ID |
|
|
|
|
Feedback/Comments:
|
||||||||||||||||||||||||||||||
|
Grade: / 100 |
1. Introduction
In this experiment, students will learn to do data modelling with help of activity diagram.
2. Objectives
Familiarize students with tools, techniques used to do Data Modelling.
3. Experimental Work
Use-Case 1 IKEA offer (40 pts)
The IKEA product offer reads as follows: “To get 30% discount, a customer must pay by credit card and he should be registered with loyalty program. However, manager can allow to have 30% discount for the client without loyalty program, if the customer paid by his/her credit card.”
|
Tasks |
Answers: |
|
1. Create a decision table that describes the offer. Show all possible rules. Past screenshot of decision table with all possible rules. (Time and date must be shown in screenshot) (8pts)
|
|
|
2. Simplify the table you just created. Past screenshot of simplified decision table. (Time and date must be shown in screenshot) (8pts)
|
|
|
3. Describe the results from simplified decision table. (4pts)
|
|
|
4. Draw a simplified decision tree IKEA offer. (10 pts) (You can draw by hand on a piece of paper, and take picture of it. Write your name on a paper) PS: make sure your decision tree is simple as possible, without repeating same condition several times.
|
|
|
5. Describe your decision tree.(5 pts)
|
|
|
6. Why might you use a decision tree rather than a decision table? (5pts)
|
|
Use-case 2 Udemy online portal (40 pts)
Udemy is an online educational portal. Clients can enroll and buy courses that they wish to learn. Udemy system at the beginning should verify that user is Customer or Administrator. Customer is able to access only his paid courses, however all classes should be displayed to administrator. After that user selects the course, and the system should display the course online content.
|
Tasks
|
Answers: |
|
1. What is an activity diagram? (5pts)
|
|
|
2. What is the Purpose of Activity Diagrams? (5pts)
|
|
|
3. Explain Basic components of an activity diagram? (5pts)
|
|
|
4. Write process description with steps numbered for above use-case. (10pts)
|
|
|
5. Draw the activity diagram for this process. (You can draw by hand on a piece of paper, and take picture of it. Write your name on a paper) (10 pts) |
|
|
6. Draw Data flow diagram for above process (You can draw by hand on a piece of paper, and take picture of it. Write your name on a paper) (5 pts)
|
|
Use-case 3 Instagram account (20 pts)
Consider the next case for Instagram Login process and draw activity diagram:
Step-1. Start the process
Step-2. Enter Login details, then go step 3
Step-3. Check validity of the user
Step-4. If user is valid go to step 12
Step-5. If user is invalid, go to step 6
Step-6. Check the number of invalid attempts
Step-7. If number of invalid attempts reached 3, go to step 10
Step-8. If number of invalid attempts has not reached 3 attempts, go to step 9
Step-9. Increment invalid login count, then go to step 2
Step-10. Lock account and send warning email to user, then go to step 11
Step-11. Display ‘Account Locked’ Screen, then go to step 20
Step-12. Retrieve notifications, retrieve messages, and retrieve requests, then go to step 13
Step-13. Prepare the wall, then go to step 14
Step-14. Check user preferences as online or hidden
Step-15. If user preferences are hidden, go to step 18
Step-16. If user preferences are online, go to step 17
Step-17. Set the status as Online, then go to step 19
Step-18. Set the status as Offline, then go step 19
Step-19. Display Users wall, then go to step 20
Step-20. Finish the process.
|
Screenshot of your activity diagram with your name on it
|
|
Bonus 5 pts
In a modular design there are 3 logical structures. Explain each of them.
|
|
Name |
explanation |
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
Page 1 of 6
Page 6 of 6 Copyright American College of Middle East