0% found this document useful (0 votes)
7 views16 pages

Cs Project Sidhant

The document is a project file for a Bank Management System created by Sidhant for his Computer Science curriculum at Kendriya Vidyalaya Pragati Vihar. It details the integration of MySQL with Python to manage bank operations such as account creation, money withdrawal, and account statements. The project includes a certificate of completion and acknowledgments to the principal, teacher, and others who assisted in its preparation.

Uploaded by

vishanlal03
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)
7 views16 pages

Cs Project Sidhant

The document is a project file for a Bank Management System created by Sidhant for his Computer Science curriculum at Kendriya Vidyalaya Pragati Vihar. It details the integration of MySQL with Python to manage bank operations such as account creation, money withdrawal, and account statements. The project includes a certificate of completion and acknowledgments to the principal, teacher, and others who assisted in its preparation.

Uploaded by

vishanlal03
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/ 16

KENDRIYA VIDYALAYA

PRAGARY VIHAR

COMPUTER SCIENCE (083)

PROJECT FILE
BANK MANAGEMENT WITH SQL

Submitted By:
NAME: SIDHANT

CLASS: 12 A

ROLL NO:18
CERTIFICATE

This is to certify that the Computer Science (083) Project File has
been successfully completed by SIDHANT
(Roll No:18) of Class XII,KENDRIYA VIDYALAYA, PRAGATI VIHAR
School for consideration in partial fulfilment of curriculum of Central
Board of Secondary Education (CBSE) of Computer Science (083) for the
award of AISSCE Practical Examination 2024-25
I certify that this project report is up to my expectation and as per
the guidelines issued by the CBSE.

External MANISHA PURI


Examiner Lect. Comp. Sc.
ACKNOWLEDGEMENT

I take this opportunity to express my deep sense of gratitude to


all those who havebeen instrumental in preparation of this project.
I feel great pleasure to express my obligation to Mrs. SANGEETA
AGRAWAL, Principal of KENDRIYA VIDYALAYA PRAGATI VIHAR.
I am also sincerely grateful to Mrs. MANISHA PURI Lect.
Comp. Science,KENDRIYA VIDYALAYA PRAGATI VIHAR School for he
encouragement and valuable guidance during the entire period of
work.
I would also thank all my parents and friends for their whole
hearted support andencouragement without with this project would not
have been successful.
I could not forget Internet, Textbooks which provided me with
sufficient matter forreference.
ABOUT
Description:

This is a program that processes the way a bank


works and has been made by integrating the MySQL
database with python which presents it in an easy
and understanding manner.
This program has 2 mains modes – A Manager of
bank and an account holder. The account holder can
view the menu whereas the manager has various
roles like Open Account, Money Withdrawal, Cash
Deposit, Account Statement, Update Account.
Python Language and MySQL is used in this program
creation
PROGRAM:

import MySQL. Connector as m

con=m. connect (user='root',

passwd='1234',

host='localhost',

database='PROJECT')

d=con.cursor()

print ("*"*65)

print (““*26, end=' ' )


print ('Bank Management System')

print ("*"*65)

acc=11

while True:

choice=int (input ('1-->Open Account\n

2-->Money Withdrawal\n

3-->Cash Deposit\n

4-->Account Statement\n

5-->Update Account\n

6-->Exit\enter Your Choice'))


if choice==1:

name= input ('Enter Name of The Account


Holder:')
balance=int (input ('Enter Opening Balance:'))

mob=input ('Enter Registered Mobile Number:')

query="insert into bankmanagment values ({},

'{}’, {},'{}')”. format (acc, name, balance ,mob)

acc =acc+1

d.execute(query)

con. commit ()

print ('Account Opened Successfully...')


if choice==4:

account=int (input ('Enter Account Number:'))

query='select * from BANK where acc= {}’.


format(account)

cursor. execute(query)

data=cursor. fetchone ()

if cursor.rowcount>0:

print ('='*65)

print ('Account Details Are; \n:’, data)

print ('Name of Account Holder = ‘, data [0])


print ('Account Balance= ‘, data [2])

print ('Registered Mobile Number = ‘, data


[3])
print ('='*65)

else:

print ('Account Number Not Found...')

if choice==6:
break
OUTPUT:
********************************************
Bank Management System
********************************************

Enter Name Of The Account Holder:ww wilyanam

Enter Registered Mobile Number:084928379298


Enter Registered Mobile Number:9972729932
Enter Name Of The Account Holder:vv valyanam

Enter Registered Mobile Number:988927232


1-->Open Account
2-->Money Withdrawal
3-->Cash Deposit
4-->Account Statement
5-->Update Account
6-->Exit
Enter Your Choice4
Enter Account Number:101

Account Details Are.


: (101, 'kk kalyanam', 1234, '978437382')
Name Of Account Holder = 101
Account Balance= 1234
Registered Mobile Number = 978437382
1-->Open Account
2-->Money Withdrawal
3-->Cash Deposit
4-->Account Statement
5-->Update Account
6-->Exit
Enter Your Choice4
Enter Account Number:2

Account Details Are.


: (2, 'ii Iliana', 123231, '9972729932')
Name Of Account Holder = 2
Account Balance= 123231
Registered Mobile Number = 9972729932

You might also like