An Automatic Teller machine (ATM) is an Electronic Device that provides services like balance inquiry, cash withdraw and money transfer etc. The ATM system is considered an example of a safety critical system and hence the need to formalize its services. To formalize the ATM system we need to first declare variables to be used. - An ATM card contains the following information CARD := cardNo | accountNo | erpiryDate - After any transaction the ATM machine gives the following responses ATMRESPONSE := operationSuccessfull | operation Failed An ATM can be in two states

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
An Automatic Teller machine (ATM)
an Electronic Device that provides services like balance
inquiry, cash withdraw and money transfer etc. The ATM system is considered an example of a
safety critical system and hence the need to formalize its services. To formalize the ATM system
we need to first declare variables to be used.
- An ATM card contains the following information
CARD := cardNo | accountNo | expiryDate
- After any transaction the ATM machine gives the following responses
ATMRESPONSE := operationSuccessfull | operation Failed
- An ATM can be in two states
STATE := available | busy
- For any withdraw operation the ATM machine has restrictions on the minimum and maximum
amount one can withdraw.
АMOUNT :3 minimumAmount | maximumАтоunt
- The other important variable is the date
DATE := issueDate | expiryDate | todayDate
- The ATM generates the following possible error messages
ERROR := invalidCard | invalidPin | invalidAmount | insufficientBalance
- Below is a schema for a Bank Account
.Ассоunt
ассоuntName :PNAME
accountNo : PNUMBER
balance : NUMBER + N
Has : ΝΑ ΜΕ ΝUMB ER
dom Has — aссоuntName
balance (NUMBER) > 0
Use the information provided above to develop schema that describe the following ATM operations.
(a) Card reading
(b) Balance inquiry
(c) Withdraw
(d) Money transfer from one account to the other
Transcribed Image Text:An Automatic Teller machine (ATM) an Electronic Device that provides services like balance inquiry, cash withdraw and money transfer etc. The ATM system is considered an example of a safety critical system and hence the need to formalize its services. To formalize the ATM system we need to first declare variables to be used. - An ATM card contains the following information CARD := cardNo | accountNo | expiryDate - After any transaction the ATM machine gives the following responses ATMRESPONSE := operationSuccessfull | operation Failed - An ATM can be in two states STATE := available | busy - For any withdraw operation the ATM machine has restrictions on the minimum and maximum amount one can withdraw. АMOUNT :3 minimumAmount | maximumАтоunt - The other important variable is the date DATE := issueDate | expiryDate | todayDate - The ATM generates the following possible error messages ERROR := invalidCard | invalidPin | invalidAmount | insufficientBalance - Below is a schema for a Bank Account .Ассоunt ассоuntName :PNAME accountNo : PNUMBER balance : NUMBER + N Has : ΝΑ ΜΕ ΝUMB ER dom Has — aссоuntName balance (NUMBER) > 0 Use the information provided above to develop schema that describe the following ATM operations. (a) Card reading (b) Balance inquiry (c) Withdraw (d) Money transfer from one account to the other
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 6 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