0% found this document useful (0 votes)
273 views21 pages

B.J.E.M School: Bank Management System

This document is a project report for a Bank Management System created by Sayera Simran, a class 12 student. The project aims to automate bank transactions and account management to provide a digital system for customers and bank employees. It includes source code for creating tables to store customer details and transactions, a menu to select account functions, and output screenshots. The report discusses advantages like availability of information and generation of reports, and disadvantages like potential for errors during "blind exploring" of an unknown system. Hardware and software requirements for the project are also specified.

Uploaded by

Pratik Das
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)
273 views21 pages

B.J.E.M School: Bank Management System

This document is a project report for a Bank Management System created by Sayera Simran, a class 12 student. The project aims to automate bank transactions and account management to provide a digital system for customers and bank employees. It includes source code for creating tables to store customer details and transactions, a menu to select account functions, and output screenshots. The report discusses advantages like availability of information and generation of reports, and disadvantages like potential for errors during "blind exploring" of an unknown system. Hardware and software requirements for the project are also specified.

Uploaded by

Pratik Das
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/ 21

B.J.E.

M SCHOOL

ACADEMIC YEAR : 2020-21

PROJECT REPORT ON

BANK MANAGEMENT SYSTEM

NAME : SAYERA SIMRAN

AISSCE No. :

CLASS : XII-A

SUBJECT : COMPUTER SCIENCE

SUB CODE : 083

1
CERTIFICATE

This is to certify that Student

______________________________________ CBSE Roll

No: __________________________ has successfully

completed the project Work entitled "BANK MANAGEMENT

SYSTEM." in the subject Computer Science (083) laid down in

the regulations of CBSE for the purpose of Practical [

Examination in Class XII to be held in B.J.E.M School

on______________.

(Ms Sanjukata Kar)


PGT Comp. Science

Examiner:

Name: _______________

Signature:
Date:

2
TABLE OF CONTENTS [ T O C ]

SER DESCRIPTION PAGE


NO

01 CERTIFICATE 02

02 INTRODUCTION 04

03 OBJECTIVES OF THE PROJECT 05

04 SOURCE CODE 06

05 OUTPUT 11

06 ADVANTAGES AND DISADVANTAGES 18

07 HARDWARE AND SOFTWARE REQUIREMENTS 19

08 INSTALLATION PROCEDURE 20

09 BIBLIOGRAPHY 21

3
INTRODUCTION
"BANK MANAGEMENT SYSTEM" This project is

useful for the bank employees as well as customers to

keep a track of account details. The emerging of digital

system made information available on finger tips. By

automating the transactions one can view the details as

and when required in no time. This project emphases on

creation of new customer accounts, managing the

existing account holders in the bank, by making digital

system one can generate daily reports, monthly reports

and annual reports which can enhance the system.


`

4
OBJECTIVES OF THE PROJECT

The objective of this project is to let the students


apply the programming knowledge into a real- world
situation/problem and exposed the students how
programming skills helps in developing a good software.

1. Write programs utilizing modern software tools.


2. Apply object oriented programming principles
effectively when developing small to medium sized
projects.
3. Write effective procedural code to solve small to
medium sized problems.
4. Students will demonstrate a breadth of knowledge
in computer science, as exemplified in the areas of
systems, theory and software development.
5. Students will demonstrate ability to conduct a
research or applied Computer Science project,
requiring writing and presentation skills which
exemplify scholarly style in computer science.

5
Source code

TABLE.PY

import mysql.connector as sql


conn=sql.connect(host='localhost',user='root',passwd=
'manager’
database='bank')
ifconn.is_connected():
print('connected succesfully')
cur = conn.cursor()
cur.execute('create table customer_details(acct_noint
primary key,acct_namevarchar(25) ,phone_nobigint(25)
check(phone_no>11),address varchar(25),cr_amt float
)')

MENU.PY

import mysql.connector as sql


conn=sql.connect(host='localhost',user='root',passwd=
'manager',
database='bank')
cur = conn.cursor()

conn.autocommit = True

print('1.CREATE BANK ACCOUNT')


6
print('2.TRANSACTION')
print('3.CUSTOMER DETAILS')
print(‘4.TRANSACTION DETAILS’)
print('5.DELETE DETAILS')
print('6.QUIT')

n=int(input('Enter your CHOICE='))


if n == 1:
acc_no=int(input('Enter your ACCOUNT NUMBER='))
acc_name=input('Enter your ACCOUNT NAME=')
ph_no=int(input('Enter your PHONE NUMBER='))
add=(input('Enter your place='))
cr_amt=int(input('Enter your credit amount='))
V_SQLInsert="INSERT INTO customer_details values ("
+ str (acc_no) + ",' " + acc_name + " ',"+str(ph_no)
+ ",' " +add + " ',"+ str (cr_amt) + " ) "
cur.execute(V_SQLInsert)
print('Account Created Succesfully!!!!!')
conn.commit()

if n == 2:
acct_no=int(input('Enter Your Account Number='))
cur.execute('select * from customer_details where
acct_no='+str (acct_no) )
data=cur.fetchall()
count=cur.rowcount
conn.commit()
if count == 0:

7
print('Account Number Invalid Sorry Try Again
Later’)
else:
print('1.WITHDRAW AMOUNT')
print('2.ADD AMOUNT')
x=int(input('Enter your CHOICE='))
if x == 1:
amt=int(input('Enter withdrawl amount='))
cur.execute('update customer_details set
cr_amt=cr_amt-'+str(amt) + ' where acct_no='
+str(acct_no) )
conn.commit()
print('Account Updated Succesfully!!!!!')
if x== 2:
amt=int(input('Enter amount to be added='))
cur.execute('update customer_details set
cr_amt=cr_amt+'+str(amt) + ' where acct_no='
+str(acct_no) )
conn.commit()
print('Account Updated Succesfully!!!!!')

if n == 3:
acct_no=int(input('Enter your account number=')
cur.execute('select * from customer_details where
acct_no='+str(acct_no) )
ifcur.fetchone() is None:
print('Invalid Account number')
else:

8
cur.execute('select * from customer_details where
acct_no='+str(acct_no) )
data=cur.fetchall()
for row in data:
print('ACCOUNT NO=',acct_no)
print('ACCOUNT NAME=',row[1])
print(' PHONE NUMBER=',row[2])
print('ADDRESS=',row[3])
print('cr_amt=',row[4])
if n== 4:
acct_no=int(input('Enter your account number='))
print()
cur.execute('select * from customer_details
where acct_no='+str(acct_no) )
ifcur.fetchone() is None:
print()
print('Invalid Account number')
else:
cur.execute('select * from transactions where
acct_no='+str(acct_no) )
data=cur.fetchall()
for row in data:
print('ACCOUNT NO=',acct_no)
print()
print('DATE=',row[1])
print()
print(' WITHDRAWAL AMOUNT=',row[2])
print()
print('AMOUNT ADDED=',row[3])

9
print()

if n == 5:
print('DELETE YOUR ACCOUNT')
acct_no=int(input('Enter your account number='))

cur.execute('delete from customer_details where


acct_no='+str(acct_no) )
print('ACCOUNT DELETED SUCCESFULLY')

if n == 6:
quit()
MAIN.PY

import mysql.connector as sql


conn=sql.connect(host='localhost',user='root',passwd=
'manager'
database='bank')
cur = conn.cursor()
#cur.execute('create table user_table(username
varchar(25) primarykey,passwrdvarchar(25) not null
)')
print('1.REGISTER')
print('2.LOGIN')
n=int(input('enter your choice='))

if n== 1:
name=input('Enter a Username=')
passwd=int(input('Enter a 4 DIGIT Password='))

10
V_SQLInsert="INSERT INTOuser_table
(passwrd,username) values (" + str (passwd) +
",' " + name + " ') "
cur.execute(V_SQLInsert)
conn.commit()
print('USER created succesfully')
if n==2 :
name=input('Enter your Username=')
passwd=int(input('Enter your 4 DIGIT Password='))
V_Sql_Sel="select * from user_table where
passwrd='"+str (passwd)+"' and username= ' " +name+
" ' "
cur.execute(V_Sql_Sel)
ifcur.fetchone() is None:
print('Invalid username or password')
else:
import main

11
OUTPUT

MAIN PAGE

12
MENU PAGE

13
CREATE BANK ACCOUNT

14
CUSTOMER DETAILS-

15
TRANSACTION

16
TRANSACTION DETAILS

17
ADVANTAGES
AND
DISADVANTAGES

The black box tester has no "bonds" with the code, and
a tester's perception is very simple: a code must have
bugs. Using the principle, "Ask and you shall receive,"
black box testers find bugs where programmers don't.
But, on the other hand, black box testing has been said
to be "like a walk in a dark labyrinth without a flashlight,"
because the tester doesn't know how the software being
tested was actually constructed.
That's why there are situations when (1) a black box
tester writes many test cases to check something that
can be tested by only one test case, and/or (2) some
parts of the back end are not tested at all. Therefore,
black box testing has the advantage of "an unaffiliated
opinion," on the one hand, and the disadvantage of
"blind exploring," on the other.

18
HARDWARE AND SOFTWARE REQUIREMENTS

I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE


II. PROCESSOR : PENTIUM(ANY) OR AMD
ATHALON(3800+- 4200+ DUALCORE)
III. MOTHERBOARD : 1.845 OR 915,995 FOR
PENTIUM 0R MSI
K9MM-V VIAK8M800+8237R PLUS CHIPSET FOR AMD
ATHALON
IV. RAM : 512MB+
V. Hard disk : SATA 40 GB OR ABOVE
VI. CD/DVD r/w multi drive combo: (If back up required)
VII. FLOPPY DRIVE 1.44 MB : (If Backup required)
VIII. MONITOR 14.1 or 15 -17 inch
IX. Key board and mouse
X. Printer : (if print is required – [Hard copy])

SOFTWARE REQUIREMENTS:

Windows OS
Python

19
INSTALLATION PROCEDURE

Install python and my sql from the web.


Open mysql and create the database bank
Then run thetable.pyfile.
Next run the user_table.py file.
Then the transactions_table.pyfile .
Open the main bank file.
Then register your account.

20
BIBLIOGRAPHY

Computer science With Python - Class XI By :


SumitaArora
Website: https://www.w3resource.com
https://en.wikipedia.org/wiki/E_(mathematical_constant)

21

You might also like