You are on page 1of 19

D.A.V.

AMBUJA
VIDYA NIKETAN
DARLAGHAT

COMPUTER SCIENCE
PROJECT
PROJECT ON BANK
MANAGEMENT
SYSTEM

BY: Garvit
SUBMITTED TO: Mr.Vivek
INDEX

1) Certificate
2) Acknowledgement
3) Introduction
4) Hardware Requirements
5) Source code
6) Output
7) Bibliography
CERTIFICATE

THIS IS TO CERTIFY THAT “Garvit


Sharma” A STUDENT OF CLASS XII HAS
SUCCESSFULLY COMPLETED THE
PROJECT ON THE TOPIC “BANK
MANAGEMENT SYSTEM” UNDER THE
GUIDANCE OF “MR.VIVEK”(SUBJECT
TEACHER). THIS PROJECT IS
ABSOLUTELY GENUINE AND DOES NOT
INDULGE IN PLAGIARISM OF ANY KIND.
THE REFRENCE TAKEN IN MAKING THIS
PROJECT HAVE BEEN DECLARED AT THE
END OF THIS REPORT.
ACKNOWLEDGEMENT

 I WOULD LIKE TO EXPRESS MY


SPECIAL THANKS OF GRATITUDE MY
TEACHER MR.VIVEK AS WELL AS
OUR PRINCIPAL SIR MUKESH
THAKUR WHO GAVE ME THE
GOLDEN OPPORTUNITY TO DO THIS
WODNERFUL PROJECT ON BANK
MANAGEMENT SYSTEM WHICH ALSO
HELPED ME IN DOING A LOT OF
RESEARCH AND I CAME TO KNOW
ABOUT SO MANY THINGS.
 SECONDLY, I WOULD ALSO LIKE TO
THANK MY PARENTS AND FREIDNS
WHO HELPED ME A LOT IN
FINALIZING THIS PROJECT WITHIN
THE LIMITED TIME FRAMES
INTRODUCTION

This software will be provided as


a tool to a BANK. The BANK has
been working for Accounts
information, Withdrawal
(through Cash/Cheque). Deposit
amount. In this Software you can
keep record for daily Banking
transactions. This software is a
demo for how online bank
transections works all over the
world.
1)THE OBJECTIVE is to prepare a
software or application, which
could maintain data & provide a
user friendly interface for
retrieving customer related
details just in few seconds, with
100% accuracy. Software is
completely computerized, so it
is not time consuming process.

2)The application should also


facilitate the addition of new
Customer A/c, deletion of A/c&
modification of existing
customer A/C. To Search for
every individual accounts for a
particular customer, show all
transaction & any account
should be opened with minimum
Rest. 50 etc.
Hardware Required

Software and Hardware


requirement

#Software Specifications:-

i) Operating system: Windows


10/8/7
ii) Platform: Python IDLE 3.7
iii) Database : MySQL
iv) Languages : Python

#Hardware Specifications:
i) Processor: Dual core or above
ii) Hard Disk: 40 GB
iii) RAM: 1024 MB
SOURCE CODE

1)import mysql.connector as a
2)con=a.connect(host="localhost",user="root",
passwd="asg5comp",database="bank")

3)def OpenAcc():
3.1)n=input("Enter Your Name:")
3.2)ac=input("Enter Account No:")
3.3)db=input("Enter D.O.B:")
3.4)p=input("Enter Phone:")
3.5)ad=input("Enter Address:")
3.6)ob=int(input("Enter Opening Balance:"))
3.7)data1=(n,ac,db,p,ad,ob)
3.8)data2=(n,ac,ob)
3.9)sql1='insert into account
values(%s,%s,%s,%s,%s,%s)'
3.10)sql2='insert into amount
values(%s,%s,%s)'
3.11)c=con.cursor()
3.12)c.execute(sql1,data1)
3.13)c.execute(sql2,data2)
3.14)con.commit()
3.15)print("Data is Entered Successfully")
main()

4)def depoAmo():
4.1)am=int(input("Enter Amount:"))
4.2)ac=input("Enter Account No:")
4.3)a="select balance from amount where
accno=%s"
4.4)data=(ac,)
4.5)c=con.cursor()
4.6)c.execute(a,data)
4.7)myresult=c.fetchone()
4.8)totalam=myresult[0]+am
4.9)sql="update amount set balance=%s
where accno=%s"
4.10)d=(totalam,ac)
4.11)c.execute(sql,d)
4.12)con.commit()
4.13)print("Amount has been deposited:")
main()

5)def witham():
5.1)am=int(input("Enter Amount:"))
5.2)ac=input("Enter Account No:")
5.3)a="select balance from amount where
accno=%s"
5.4)data=(ac,)
5.5)c=con.cursor()
5.6)c.execute(a,data)
5.7)myresult=c.fetchone()
5.8)totalam=myresult[0]-am
5.9)sql="update amount set balance=%s
where accno=%s"
5.10)d=(totalam,ac)
5.11)c.execute(sql,d)
5.12)con.commit()
5.13)print("Amount has been withdrawn")
main()

6)def balance():
6.1)ac=input("Enter Account No:")
6.2)a="select balance from amount where
accno=%s"
6.3)data=(ac,)
6.4)c=con.cursor()
6.5)c.execute(a,data)
6.6)myresult=c.fetchone()
6.7)print("Balance for
Account:",ac,"is",myresult[0])
main()

7)def dispacc():
7.1)ac=input("Enter Account No:")
7.2)a="select*from account where
accno=%s"
7.3)data=(ac,)
7.4)c=con.cursor()
7.5)c.execute(a,data)
7.6)myresult=c.fetchone()
7.7)for i in myresult:
print(i,end=" ")

main()

8)def closeac():
8.1)ac=input("Enter Account No:")
8.2)sql1="delete from account where
accno=%s"
8.3)sql2="delete from amount where
accno=%s"
8.4)data=(ac,)
8.5)c=con.cursor()
8.6)c.execute(sql1,data)
8.7)c.execute(sql2,data)
8.8)con.commit()
8.9)print("Account Closed Successfully:")

main()
9)def main():
9.1)print("-------BANK TRANSECTION-------")
9.2)print("""
1.OPEN NEW ACCOUNT
2.DEPOSIT MONEY
3.WITHDRAW MONEY
4.BALANCE ENQUIRY
5.DISPLAY CUSTOMER DETAILS
6.CLOSE AN ACCOUNT
""")
9.3)choice=input("Enter Your Choice:")
9.4)if choice=="1":
OpenAcc()
9.6)elif choice=="2":
depoAmo()
9.7)elif choice=="3":
witham()
9.8)elif choice=="4":
balance()
9.9)elif choice=="5":
dispacc()
9.10)elif choice=="6":
closeac()
9.11)else:
print("Wrong Choice Entered....:")
main()

main()
OUTPUT
BIBLIOGRAPHY
1)Computer Science with Python –
Class Xll by : Sumit Arora
2)https://www.w3resource.com
3)https://en.wikipedia.org/wiki/E_
(m athematical_constant)
4) i)https://cbsetoday.com
ii)https://www.academia.edu/

You might also like