0% found this document useful (0 votes)
107 views3 pages

Chat GPT

The document provides instructions for an assignment to design an ATM program for a bank. It describes the scenario where the bank's ATMs have biometric and PIN authentication options for its customers, and PIN only for other bank customers. It asks for a flowchart, algorithm, and pseudocode to represent the logic. The response provides the textual representations of the flowchart, algorithm, and pseudocode that outline the program logic and steps. The flowchart shows the decision points for card validation, biometric/PIN validation, and allowing or capturing the card. The algorithm and pseudocode describe the same logic in a procedural format. A CASE tool is needed to create the graphical flowchart.

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)
107 views3 pages

Chat GPT

The document provides instructions for an assignment to design an ATM program for a bank. It describes the scenario where the bank's ATMs have biometric and PIN authentication options for its customers, and PIN only for other bank customers. It asks for a flowchart, algorithm, and pseudocode to represent the logic. The response provides the textual representations of the flowchart, algorithm, and pseudocode that outline the program logic and steps. The flowchart shows the decision points for card validation, biometric/PIN validation, and allowing or capturing the card. The algorithm and pseudocode describe the same logic in a procedural format. A CASE tool is needed to create the graphical flowchart.

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/ 3

9/2/23, 1:03 AM ChatGPT

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/3
9/2/23, 1:03 AM ChatGPT

I can provide you with a textual


representation of the flowchart, algorithm
and pseudocode for the scenario
described. Please note that for the actual
graphical flowchart, you will need to use
Computer Aided Software Engineering
(CASE) tool as per your instructions. Here
the textual representation:

Flowchart:

yaml Copy code

Start | v Enter ATM Card | v Is the


card from IPB Bank? | | | v Yes | |
v Enter Biometric Data
(Fingerprint) | v Are Biometric
Data and Card Valid? | | | v Yes |
| v Allow Transaction | v End No |
| v Enter PIN | v Is the PIN
Correct? | | | v Yes | | v Allow
Transaction | v End No | | v
Capture Card | v End

Algorithm:

python Copy code

Start Input ATM Card If Card is


from IPB Bank: Input Biometric Data
(Fingerprint) If Biometric Data and
Card are Valid: Allow Transaction
Else: Capture Card Else: Input PIN
If PIN is Correct: Allow
Transaction Else: Capture Card End

Pseudocode:

mathematica Copy code

https://chat.openai.com 2/3
9/2/23, 1:03 AM ChatGPT

Start Input ATM Card If Card is


from IPB Bank Then Input Biometric
Data (Fingerprint) If Biometric
Data and Card are Valid Then Allow
Transaction Else Capture Card End
If Else Input PIN If PIN is Correct
Then Allow Transaction Else Capture
Card End If End If

These representations outline the logic


and steps required for the ATM program
to work according to the given scenario.
You can use a CASE tool to create the
graphical flowchart based on this textual
representation

https://chat.openai.com 3/3

You might also like