Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 41

Sri Sri Ravishankar Vidya Mandir

AISSCE PRACTICAL BOARD EXAMINATION

SESSION: - 2021-22
SUBJECT: - COMPUTER SCIENCE (083)

BANKING MANAGEMENT
SYSTEM
(USING PYTHON)
CLASS: - XII A

SUBMITTED BY- GUIDED BY-

SHANTANU VERMA MR. ARPAN MASIH


PGT (CS)
41
Certificate

This is to certify that the project “Banking Management” is


completed and successfully submitted by Shantanu Verma of
Class XII, session 2021-22. He has also performed the practical
work required in this project and has given satisfactory account of
it in this project report.

Teacher Guide: External Examiner:


Mr. Arpan Masih

Principal: School Seal:


Mrs. Kanchan Tare

df

41
CERTIFICATE OF ORIGINALITY

This is to certify that the project titled “Banking Management” is an


original work of the student and is being submitted as a part of
fulfillment towards the practical course for All India Senior Secondary
Certificate Examination, 2021-22.This report has not been submitted
earlier either to the institute or to any other institution for the
fulfillment of the requirement of a course of study.

Signature of project guide: Signature of student:

41
Acknowledgement

I would like to express my special thanks of gratitude to my


teacher Mr. Arpan Masih as well as our principal Mrs. Kanchan
Tare who gave me the golden opportunity to do this wonderful
project on the topic Banking management system, which also
helped me in doing a lot of Research and I came to know about
so many new things I am really thankful to them.
Secondly I would also like to thank my parents and friends who
helped me a lot in finalizing this project within the limited time
frame.

41
CONTENTS

S.No. TITLE Page no.

1. Introduction 6

2. Aim of the Project 13

3. Introduction to the Project 15

4. Source Code 18

5. Sample Outputs 31

6. Future Enhancement 36

7. Webliography 38

8. Bibliography 40

41
INTRODUCTION

41
Python is a computer programming language often used to build
websites and software, automate tasks, and conduct data analysis. Python
is a general-purpose language, meaning it can be used to create a variety
of different programs and isn’t specialized for any specific problems.
This versatility, along with its beginner-friendliness, has made it one of
the most-used programming languages today. A survey conducted by
industry analyst firm Red Monk found that it was the second-most
popular programming language among developers in 2021.

 What is Python used for?

Python is commonly used for developing websites and software, task


automation, data analysis, and data visualization. Since it’s relatively
easy to learn, Python has been adopted by many non-programmers such
as accountants and scientists, for a variety of everyday tasks, like
organizing finances.

41
 What can you do with python?

Some things include:

1. Data analysis and machine learning

2. Web development

3. Automation or scripting

4. Software testing and prototyping

5. Everyday tasks

41
Data analysis and machine learning:

Python has become a staple in data science, allowing data analysts and
other professionals to use the language to conduct complex statistical
calculations, create data visualizations, build machine learning algorithms,
manipulate and analyze data, and complete other data-related tasks.

Web development:

Python is often used to develop the back end of a website or application—


the parts that a user doesn’t see. Python’s role in web development can
include sending data to and from servers, processing data and
communicating with databases, URL routing, and ensuring security. Python
offers several frameworks for web development. Commonly used ones
include Django and Flask.

Automation or scripting:

If you find yourself performing a task over and over again, you could work
more efficiently by automating it with Python. Writing code used to build
these automated processes is called scripting. In the coding world,
automation can be used to check for errors across multiple files, convert
files, execute simple math, and remove duplicates in data.

41
Software testing and prototyping:

In software development, Python can aid in tasks like build control, bug
tracking, and testing. With Python, software developers can automate
testing for new products or features. Some Python tools used for software
testing include Green and Requestium.

Everyday tasks:

Python isn't only for programmers and data scientists. Learning Python can
open new possibilities for those in less data-heavy professions, like
journalists, small business owners, or social media marketers. Python can
also enable non-programmer to simplify certain tasks in their lives. Here
are just a few of the tasks you could automate with Python:

 Keep track of stock market or crypto prices

 Send yourself a text reminder to carry an umbrella anytime it’s raining

 Update your grocery shopping list

 Renaming large batches of files

 Converting text files to spreadsheets

 Randomly assign chores to family members

 Fill out online forms automatically

41
Why is Python so popular?

Python is popular for a number of reasons. Here’s a deeper look at what


makes it so versatile and easy to use for coders.

 It has a simple syntax that mimics natural language, so it’s easier to


read and understand. This makes it quicker to build projects, and
faster to improve on them.

 It’s versatile. Python can be used for many different tasks, from web
development to machine learning.

41
 It’s beginner friendly, making it popular for entry-level coders.

 Its open source, which means it’s free to use and distribute, even for
commercial purposes.

 Python’s archive of modules and libraries—bundles of code that


third-party users have created to expand Python’s capabilities—is
vast and growing.

 Python has a large and active community that contributes to Python’s


pool of modules and libraries, and acts as a helpful resource for other
programmers. The vast support community means that if coders run
into a stumbling block, finding a solution is relatively easy;
somebody is bound to have run into the same problem before.

41
AIM OF THE PROJECT

41
AIM OF THE PROJECT

Our bank management system project in Python is a console that


performs the essential functions of banking software. It lets the user
create a new account, view the account’s records, make deposits and
withdrawals, and edit account details..

41
INTRODUCTION TO THE
PROJECT

41
INTRODUCTION TO THE PROJECT
Bank Management System project is written in Python. The project file
contains a python script (main.py) and a database file. This is a simple
console based system which is very easy to understand and use. Talking
about the system, it contains all the basic functions which include creating
a new account, view account holders record, withdraws and deposit
amount, balance inquiry, closing an account and edit account details. In
this mini project, there is no such login system. This means he/she can use
all those available features easily without any restriction. It is too easy to
use; he/she can check the total bank account records easily.

FEATURES OF BANKING MANAGEMENT SYSTEM:

Talking about the features of the Bank Management System, a user can
create an account by providing the name of the account holder, number,
selecting amount type (Saving account or Current account) and providing
an initial amount more than or equal to 500. Then the user can also deposit
and withdraw money just by providing his/her account and entering the
amount. For certain purpose, he/she can also check for the balance inquiry
which displays the account number and amount. He/she can also view all
the account holder’s list. Another feature is that he/she can modify their
account detail and type if they want to.

41
This simple console based Bank Management system provides the
simplest management of bank account and transaction. In short, this
project mainly focuses on CRUD. There’s an external database
connection file used in this mini project to save user’s data permanently.

41
SOURCE CODE

41
SOURCE CODE

Code for Database and


its variables:

NamesOFClients = ['Jomhel Dulla', 'Benny Salde', 'Jeremy Eriman', 'Given Bariacto', 'Carlan
Pelobello', 'Ryan Manaay', 'Daniel Bandiola']
ClientPins = ['0001', '0002', '0003', '0004', '0005', '0006', '0007']
ClientBalances = [10000, 20000, 30000, 40000, 50000, 60000, 70000]
ClientDeposition = 0
ClientWithdrawal = 0
ClientBalance = 0
disk1 = 1
disk2 = 7
u=0

Code for the main module of the


Bank Management:

print("************************************************************")
print("========== WELCOME TO ITSOURCECODE BANKING SYSTEM ==========")
print("************************************************************")
print("========== (a). Open New Client Account ============")
print("========== (b). The Client Withdraw a Money ============")
print("========== (c). The Client Deposit a Money ============")
print("========== (d). Check Clients & Balance ============")
print("========== (e). Quit ============")
print("************************************************************")

EnterLetter = input("Select a Letter from the Above Box menu : ")

41
Code for Client Registration
Account:

if EnterLetter == "a":
print(" Letter a is Selected by the Client")
NumberOfClient = eval(input("Number of Clients : "))
u = u + NumberOfClient
 
if u > 7:
print("\n")
print("Client registration exceed reached or Client registration too low")
u = u - NumberOfClient
else:
while disk1 <= u:
name = input("Write Your Fullname : ")
NamesOFClients.append(name)
pin = str(input("Please Write a Pin to Secure your Account : "))
ClientPins.append(pin)
ClientBalance = 0
ClientDeposition = eval(input("Please Insert a Money to Deposit to Start an Account : "))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances.append(ClientBalance)
print("\nName=", end=" ")
print(NamesOFClients[disk2])
print("Pin=", end=" ")
print(ClientPins[disk2])
print("Balance=", "P", end=" ")
print(ClientBalances[disk2], end=" ")
disk1 = disk1 + 1
disk2 = disk2 + 1
print("\nYour name is added to Client Table")
print("Your pin is added to Client Table")
print("Your balance is added to Client Table")
print("----New Client account created successfully !----")
print("\n")
print("Your Name is Available on the Client list now : ")
print(NamesOFClients)
print("\n")
print("Note! Please remember the Name and Pin")
print("========================================")
 
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct Another Transaction or Quit_")

41
Code for Client withdrawing
an Amount:

elif EnterLetter == "b":<br>    v = 0<br>    print(" letter b is Selected by the Client")<br>    while v &lt;


1:<br>        w = -1<br>        name = input("Please Insert a name : ")<br>        pin = input("Please Insert a
pin : ")<br>        while w &lt; len(NamesOFClients) - 1:<br>            w = w + 1<br>            if name ==
NamesOFClients[w]:<br>                if pin == ClientPins[w]:<br>                    v = v +
1<br>                    print("Your Current Balance:", "P", end=" ")<br>                    print(ClientBalances[w],
end=" ")<br>                    print("\n")<br>                    ClientBalance =
(ClientBalances[w])<br>                    ClientWithdrawal = eval(input("Insert value to Withdraw :
"))<br>                    if ClientWithdrawal &gt; ClientBalance:<br>                        deposition =
eval(input(<br>                            "Please Deposit a higher Value because your Balance mentioned above is
not enough : "))<br>                        ClientBalance = ClientBalance +
deposition<br>                        print("Your Current Balance:", "P", end="
")<br>                        print(ClientBalance, end=" ")<br>                        ClientBalance = ClientBalance -
ClientWithdrawal<br>                        print("-\n")<br>                        print("----Withdraw
Successfully!----")<br>                        ClientBalances[w] = ClientBalance<br>                        print("Your
New Balance: ", "P", ClientBalance, end=" ")<br>                        print("\n\
n")<br>                    else:<br>                        ClientBalance = ClientBalance -
ClientWithdrawal<br>                        print("\n")<br>                        print("----Withdraw
Successfully!----")<br>                        ClientBalances[w] = ClientBalance<br>                        print("Your
New Balance: ", "P", ClientBalance, end=" ")<br>                        print("\n")<br>        if v &lt;
1:<br>            print("Your name and pin does not match!\n")<br>            break<br>    mainMenu = input("
Press Enter Key to go Back to Main Menu to Conduct Another Transaction or Quit_")

41
Code for Client depositing an
Amount:

elif EnterLetter == "c":


print("Letter c is selected by the Client")
x=0
while x &lt; 1:
w = -1
name = input("Please Insert a name : ")
pin = input("Please Insert a pin : ")
while w &lt; len(NamesOFClients) - 1:
w=w+1
if name == NamesOFClients[w]:
if pin == ClientPins[w]:
x=x+1
print("Your Current Balance: ", "P", end=" ")
print(ClientBalances[w], end=" ")
ClientBalance = (ClientBalances[w])
print("\n")
ClientDeposition = eval(input("Enter the value you want to deposit : "))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances[w] = ClientBalance
print("\n")
print("----Deposition successful!----")
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n")
if x &lt; 1:
print("Your name and pin does not match!\n")
break
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct Another Transaction or
Quit_")

41
Code for Checking the Clients
and Balances:

elif EnterLetter == "d":


print("Letter d is selected by the Client")
w=0
print("Client name list and balances mentioned below : ")
print("\n")
while w &lt;= len(NamesOFClients) - 1:
print("-&gt;.Customer =", NamesOFClients[w])
print("-&gt;.Balance =", "P", ClientBalances[w], end=" ")
 
print("\n")
w=w+1
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct Another Transaction or
Quit_ ")

Code which is for exit of


Banking System:

elif EnterLetter == "e":


print("letter e is selected by the client")
print("Thank you for using our banking system!")
print("\n")
print("Thank You and Come again")
print("God Bless")
break
else:
print("Invalid option selected by the Client")
print("Please Try again!")
 
mainMenu = input("Press Enter Key to go Back to Main Menu to Conduct Another Transaction or
Quit_")

41
Complete Source code:

NamesOFClients = ['Jomhel Dulla', 'Benny Salde', 'Jeremy Eriman', 'Given


Bariacto', 'Carlan Pelobello', 'Ryan Manaay', 'Daniel Bandiola']
ClientPins = ['0001', '0002', '0003', '0004', '0005', '0006', '0007']
ClientBalances = [10000, 20000, 30000, 40000, 50000, 60000, 70000]
ClientDeposition = 0
ClientWithdrawal = 0
ClientBalance = 0
disk1 = 1
disk2 = 7
u=0
while True:
# os.system("cls")
print("********************************************************
****")
print("========== WELCOME TO ITSOURCECODE BANKING
SYSTEM ==========")
print("********************************************************
****")
print("========== (a). Open New Client Account ============")
print("========== (b). The Client Withdraw a Money ============")
print("========== (c). The Client Deposit a Money ============")
print("========== (d). Check Clients &amp; Balance ============")
print("========== (e). Quit ============")
print("********************************************************
****")

41
EnterLetter = input("Select a Letter from the Above Box menu : ")
if EnterLetter == "a":
print(" Letter a is Selected by the Client")
NumberOfClient = eval(input("Number of Clients : "))
u = u + NumberOfClient

if u &gt; 7:
print("\n")
print("Client registration exceed reached or Client registration too low")
u = u - NumberOfClient
else:
while disk1 &lt;= u:
name = input("Write Your Fullname : ")
NamesOFClients.append(name)
pin = str(input("Please Write a Pin to Secure your Account : "))
ClientPins.append(pin)
ClientBalance = 0
ClientDeposition = eval(input("Please Insert a Money to Deposit to Start
an Account : "))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances.append(ClientBalance)
print("\nName=", end=" ")

41
print(NamesOFClients[disk2])
print("Pin=", end=" ")
print(ClientPins[disk2])
print("Balance=", "P", end=" ")
print(ClientBalances[disk2], end=" ")
disk1 = disk1 + 1
disk2 = disk2 + 1
print("\nYour name is added to Client Table")
print("Your pin is added to Client Table")
print("Your balance is added to Client Table")
print("----New Client account created successfully !----")
print("\n")
print("Your Name is Available on the Client list now : ")
print(NamesOFClients)
print("\n")
print("Note! Please remember the Name and Pin")
print("========================================")

mainMenu = input(" Press Enter Key to go Back to Main Menu to


Conduct Another Transaction or Quit_")
elif EnterLetter == "b":

41
v=0
print(" letter b is Selected by the Client")
while v &lt; 1:
w = -1
name = input("Please Insert a name : ")
pin = input("Please Insert a pin : ")
while w &lt; len(NamesOFClients) - 1:
w=w+1
if name == NamesOFClients[w]:
if pin == ClientPins[w]:
v=v+1
print("Your Current Balance:", "P", end=" ")
print(ClientBalances[w], end=" ")
print("\n")
ClientBalance = (ClientBalances[w])
ClientWithdrawal = eval(input("Insert value to Withdraw : "))
if ClientWithdrawal &gt; ClientBalance:
deposition = eval(input(
"Please Deposit a higher Value because your Balance mentioned above
is not enough : "))
ClientBalance = ClientBalance + deposition
print("Your Current Balance:", "P", end=" ")
print(ClientBalance, end=" ")
ClientBalance = ClientBalance - ClientWithdrawal

41
print("-\n")
print("----Withdraw Successfully!----")
ClientBalances[w] = ClientBalance
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n\n")
else:
ClientBalance = ClientBalance - ClientWithdrawal
print("\n")
print("----Withdraw Successfully!----")
ClientBalances[w] = ClientBalance
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n")
if v &lt; 1:
print("Your name and pin does not match!\n")
break
mainMenu = input(" Press Enter Key to go Back to Main Menu to
Conduct Another Transaction or Quit_")
elif EnterLetter == "c":
print("Letter c is selected by the Client")
x=0
while x &lt; 1:
w = -1

41
name = input("Please Insert a name : ")
pin = input("Please Insert a pin : ")
while w &lt; len(NamesOFClients) - 1:
w=w+1
if name == NamesOFClients[w]:
if pin == ClientPins[w]:
x=x+1
print("Your Current Balance: ", "P", end=" ")
print(ClientBalances[w], end=" ")
ClientBalance = (ClientBalances[w])
print("\n")
ClientDeposition = eval(input("Enter the value you want to deposit :
"))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances[w] = ClientBalance
print("\n")
print("----Deposition successful!----")
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n")
if x &lt; 1:
print("Your name and pin does not match!\n")
break

41
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct
Another Transaction or Quit_")
elif EnterLetter == "d":
print("Letter d is selected by the Client")
w=0
print("Client name list and balances mentioned below : ")
print("\n")
while w &lt;= len(NamesOFClients) - 1:
print("-&gt;.Customer =", NamesOFClients[w])
print("-&gt;.Balance =", "P", ClientBalances[w], end=" ")
 
print("\n")
w=w+1
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct
Another Transaction or Quit_ ")
elif EnterLetter == "e":
print("letter e is selected by the client")
print("Thank you for using our banking system!")
print("\n")
print("Thank You and Come again")
print("God Bless")
break
else:
print("Invalid option selected by the Client")
print("Please Try again!")

mainMenu = input("Press Enter Key to go Back to Main Menu to Conduct


Another Transaction or Quit_")

41
SAMPLE
OUTPUTS

41
SAMPLE OUTPUTS

Opening a New Client Account:

41
The Client withdraws Money:

41
The Client deposits Money:

41
Checking Clients balance:

41
FUTURE
ENHANCEMENT

41
FUTURE ENHANCEMENT

For any system, present satisfaction is important, but it is also necessary


to see and visualizes the future scope. Future enhancement is necessary
for any system as the limitations that cannot be denied by anybody.
These limitations can be overcome by better technologies.
In my project, records of the customers and transactions are maintained.
It will be helpful for the organization and customer.

41
WEBLIOGRAPH
Y

41
WEBLIOGRAPHY

 https://123projectlab.com
 https://itsourcecode.com
 https://www.kashipara.com
 https://www.kashipara.com
 https://en.wikipedia.org
 https://codezips.com

41
BIBLIOGRAPH
Y

41
BIBLIOGRAPHY

 Comprehensive Computer Science with Python


(Class XII)
 Computer Science with Python for Class XII by
Sumita Arora

41

You might also like