B.J.E.M School: Bank Management System
B.J.E.M School: Bank Management System
M SCHOOL
PROJECT REPORT ON
AISSCE No. :
CLASS : XII-A
1
CERTIFICATE
on______________.
Examiner:
Name: _______________
Signature:
Date:
2
TABLE OF CONTENTS [ T O C ]
01 CERTIFICATE 02
02 INTRODUCTION 04
04 SOURCE CODE 06
05 OUTPUT 11
08 INSTALLATION PROCEDURE 20
09 BIBLIOGRAPHY 21
3
INTRODUCTION
"BANK MANAGEMENT SYSTEM" This project is
4
OBJECTIVES OF THE PROJECT
5
Source code
TABLE.PY
MENU.PY
conn.autocommit = True
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='))
if n == 6:
quit()
MAIN.PY
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
SOFTWARE REQUIREMENTS:
Windows OS
Python
19
INSTALLATION PROCEDURE
20
BIBLIOGRAPHY
21