Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
157 views

ATM Program Flowchart & Algorithm2

i. The flowchart shows the process for an ATM transaction at IPB. It starts with entering a card and checking its validity. If valid, the user chooses PIN or biometric authentication. For PIN, the user enters and validates it, allowing the transaction if correct or retrying authentication otherwise. For biometric, the user's fingerprint is scanned and validated, with the same retry logic for incorrect matches. After a successful transaction, the card is ejected. ii. The algorithm outlines the same steps as the flowchart in a sequential list. iii. The pseudocode also captures the same transaction logic as the flowchart in a syntax resembling code.

Uploaded by

Moses Mushinka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views

ATM Program Flowchart & Algorithm2

i. The flowchart shows the process for an ATM transaction at IPB. It starts with entering a card and checking its validity. If valid, the user chooses PIN or biometric authentication. For PIN, the user enters and validates it, allowing the transaction if correct or retrying authentication otherwise. For biometric, the user's fingerprint is scanned and validated, with the same retry logic for incorrect matches. After a successful transaction, the card is ejected. ii. The algorithm outlines the same steps as the flowchart in a sequential list. iii. The pseudocode also captures the same transaction logic as the flowchart in a syntax resembling code.

Uploaded by

Moses Mushinka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

9/2/23, 1:02 AM ATM Program Flowchart & Algorithm

INSTRUCTIONS:
▪ Answer all three (3) questions in this
assignment and submit as one document.
▪ To draw the flow chart, you are Required
to use a Computer Aided Software
Engineering (CASE) tool and not Microsoft
Word.
▪ The submission should be a single Word
document which has all the three
solutions that required.
QUESTION
The ATM machines of a newly opened
bank within Zambia Investor Pride Bank
(IPB)
contains a biometric security feature
besides the conventional PIN access
control. The
biometric feature it uses is the fingerprint.
The customers of IPB have a choice either
to
use the ATM card + PIN or the ATM card +
Biometric option to transact through the
machine. As per regulations, customers of
other banks can also use IPB ATMs to
withdraw money. However, such
customers can only use the ATM card +
PIN option. A
customer’s card is captured by the
machine after three (3) consecutive
unsuccessful
attempts to use the ATM.
REQUIRED:
i. Draw a flow chart that can be used to
correctly write IPBs ATM program that will
work according to the scenario given
above. (20 marks)
ii. Write an Algorithm that is equivalent to
the flow chart that you have drawn in (i).
(10 marks)
iii. Write Pseudocode that is equivalent to
the flowchart that you have drawn in (i).
(10 marks)
https://chat.openai.com 1/4
9/2/23, 1:02 AM ATM Program Flowchart & Algorithm

I can certainly help you with this


assignment. Here are the answers to you
questions:

i. Flowchart:
To create a flowchart for the ATM progra
for IPB, I'll provide a textual representatio
of the flowchart. You can use a Compute
Aided Software Engineering (CASE) tool
like Lucidchart or draw it manually on
paper or using a digital drawing tool.

mathematica Copy code

Start | V Enter Card | V Check Card


Validity | |--- Yes | | | V |
Choose Transaction Type (PIN or
Biometric) | | | |--- PIN | | | | |
V | | Enter PIN | | | | | V | |
Validate PIN | | | | | |---
Incorrect | | | | | | | V | | |
Display Error Message | | | | | | |
V | | | Retry (Up to 3 times) | | |
| | |--- Correct | | | | | V | |
Perform Transaction | | | |---
Biometric | | | V | Scan
Fingerprint | | | V | Validate
Fingerprint | | | |--- Incorrect |
| | | | V | | Display Error Message
| | | | | V | | Retry (Up to 3
times) | | | |--- Correct | | | V |
Perform Transaction | V Eject Card
| V End

ii. Algorithm:

Here's an algorithm equivalent to the


flowchart:

mathematica Copy code

https://chat.openai.com 2/4
9/2/23, 1:02 AM ATM Program Flowchart & Algorithm

1. Start 2. Enter Card 3. Check


Card Validity 4. If Card is Valid:
a. Choose Transaction Type (PIN or
Biometric) b. If Transaction Type
is PIN: i. Enter PIN ii. Validate
PIN iii. If PIN is Incorrect: -
Display Error Message - Retry (Up
to 3 times) iv. If PIN is Correct:
- Perform Transaction c. If
Transaction Type is Biometric: i.
Scan Fingerprint ii. Validate
Fingerprint iii. If Fingerprint is
Incorrect: - Display Error Message
- Retry (Up to 3 times) iv. If
Fingerprint is Correct: - Perform
Transaction 5. Eject Card 6. End

iii. Pseudocode:

Here's a pseudocode equivalent to the


flowchart and algorithm:

pseudocode Copy code

Start Enter Card Check Card


Validity If Card is Valid: Choose
Transaction Type (PIN or Biometric)
If Transaction Type is PIN: Enter
PIN Validate PIN If PIN is
Incorrect: Display Error Message
Retry (Up to 3 times) If PIN is
Correct: Perform Transaction If
Transaction Type is Biometric: Scan
Fingerprint Validate Fingerprint If
Fingerprint is Incorrect: Display
Error Message Retry (Up to 3 times)
If Fingerprint is Correct: Perform
Transaction Eject Card End

Please note that you can use a CASE tool


to create a professional flowchart. The
above text-based representations are for
your reference, and you can use them as

https://chat.openai.com 3/4
9/2/23, 1:02 AM ATM Program Flowchart & Algorithm

basis for creating the actual flowchart in

https://chat.openai.com 4/4

You might also like