0% found this document useful (0 votes)
144 views4 pages

ATM Program Flowchart and Algorithm

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)
144 views4 pages

ATM Program Flowchart and Algorithm

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

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)
[Link] 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

[Link] 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

[Link] 3/4
9/2/23, 1:02 AM ATM Program Flowchart & Algorithm

basis for creating the actual flowchart in

[Link] 4/4

Common questions

Powered by AI

The flowchart for the IPB ATM program ensures security by incorporating checks for both PIN and biometric validation, with retries limited to three attempts before the card is captured, preventing unauthorized access. For user convenience, the flowchart allows the customer to select their preferred transaction type (PIN or Biometric), catering to different user preferences and enhancing the user experience .

Using biometric security in ATM transactions increases privacy concerns as biometric data is sensitive and requires robust data protection measures. It also necessitates advanced technological infrastructure for capturing and validating fingerprints, including secure data storage and transmission systems, which can be costly to implement and maintain .

IPB's ATM security mechanisms feature both conventional PIN access and a biometric fingerprint option for its customers, providing them the flexibility to choose either security measure. Customers from other banks can only use the PIN option. After three unsuccessful attempts, the ATM captures the customer's card. This differentiation ensures enhanced security for IPB's customers while maintaining accessibility for users of other banks .

Limiting retry attempts to three enhances security by reducing the likelihood of unauthorized access via repeated attempts, deterring fraud. However, from a user experience standpoint, this policy could frustrate legitimate users in cases of accidental errors, potentially leading to service dissatisfaction if cards are captured erroneously .

When creating a flowchart for IPB’s ATM, considerations include clarity in distinguishing between PIN and biometric processes, representing decision points distinctly, ensuring retry limits are visualized for each security feature, and allowing service continuity with a process for handling errors without system crashes .

Allowing customers from other banks to only use the PIN option might increase the risk of unauthorized access if PINs are not adequately protected, as opposed to using more secure biometric options. This policy could also discourage use among potential customers who prefer more secure or alternative authentication methods, potentially limiting IPB's customer base growth .

The algorithm provides robust security by requiring validation of either the PIN or biometric data, handling incorrect attempts through error messages and retries, and ensuring the card is seized after repeated failures, thus reducing fraud risk. Operational efficiency is maintained by structuring the process in a sequence that automates validations and decision-making, which minimizes customer wait times and optimizes machine operation .

Implementing biometric security presents challenges such as high costs for technology upgrades, maintenance, and ensuring data privacy compliance. Biometric systems require sophisticated sensors and secure data encryption frameworks, while PIN systems are less costly, rely on existing infrastructure, and are generally more accepted by users not concerned with privacy .

The pseudocode uses a top-down approach by breaking down complex ATM programming tasks into simpler, manageable steps, facilitating clarity and focus. This methodology aids in systematic development and debugging, allowing developers to tackle individual components effectively before integrating them into the broader system .

Using a CASE tool for the ATM flowchart enhances design precision by providing features like automated alignment and error-checking, which reduce human errors. This also facilitates standardization, ease of modifications, and integration with other system design components, improving overall design quality and project management .

You might also like