1. What is the purpose of activity diagram? Give a situation where you should use the forking concept. [4]

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
Quiz-2 Section C
1. What is the purpose of activity diagram? Give a situation where you should use the
forking concept. [4]
2. Draw an activity diagram for the following case [16]
A swimline diagram for the following scenario to withdraw money from an ATM. Use only this
description (do not make up your own information!).
The customer inserts the ATM card and then enters their pin number. The Bank system then
validates the pin. If the pin is invalid, the ATM machine ejects the card, the customer takes
the card, and the scenario ends.
Assuming the card pin was valid, the customer enters an amount to withdraw. The bank checks
the account balance. If the balance is less than the amount to withdraw, the ATM shows the
balance, and then ejects the card. Once ejected the customer then takes the card and the
scenario ends. Assuming the amount is available, the customer takes money from the slot and
at THE SAME TIME the bank debits the account. Once the customer has taken money and the
account debit is complete the ATM machine shows the balance. The ATM machine then ejects
the card, the customer takes the card and the scenario ends.
Transcribed Image Text:Quiz-2 Section C 1. What is the purpose of activity diagram? Give a situation where you should use the forking concept. [4] 2. Draw an activity diagram for the following case [16] A swimline diagram for the following scenario to withdraw money from an ATM. Use only this description (do not make up your own information!). The customer inserts the ATM card and then enters their pin number. The Bank system then validates the pin. If the pin is invalid, the ATM machine ejects the card, the customer takes the card, and the scenario ends. Assuming the card pin was valid, the customer enters an amount to withdraw. The bank checks the account balance. If the balance is less than the amount to withdraw, the ATM shows the balance, and then ejects the card. Once ejected the customer then takes the card and the scenario ends. Assuming the amount is available, the customer takes money from the slot and at THE SAME TIME the bank debits the account. Once the customer has taken money and the account debit is complete the ATM machine shows the balance. The ATM machine then ejects the card, the customer takes the card and the scenario ends.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY