Demo File

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

SCHOOL NAME

LOGO

ACADEMIC YEAR : 2020-21

PROJECT REPORT ON
BANK MANAGEMENT SYSTEM

BOARD ROLL NO :
NAME :
CLASS : XII

SUBJECT : COMPUTER SCIENCE


SUB CODE : 083

PROJECT GUIDE: Mr AMIT AGARWAL


PGT (CS)

1
CERTIFICATE

This is to certify that Cadet ______________________________________ 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 DR MPS WORLD SCHOOL,AGRA

on______________.

(Amit Agarwal)
PGT Comp Sci
Master IC

Examiner:

Name: _______________

Signature:

Date:

2
TABLE OF CONTENTS [ T O C ]

SER DESCRIPTION PAGE NO

01 ACKNOWLEDGEMENT 04

02 INTRODUCTION 05

03 OBJECTIVES OF THE PROJECT 05

04 PROPOSED SYSTEM 06

05 SYSTEM DEVELOPMENT LIFE CYCLE (SDLC) 07

06 PHASES OF SYSTEM DEVELOPMENT LIFE CYCLE 08

07 FLOW CHART 15

08 SOURCE CODE 17

09 OUTPUT 23

10 TESTING 29

11 HARDWARE AND SOFTWARE REQUIREMENTS 32

12 INSTALLATION PROCEDURE 33

13 34
BIBILOGRAPHY

3
ACKNOWLEDGEMENT

Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful completion
of this project.

I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.

I express my heartfelt gratitude to my parents for constant encouragement


while carrying out this project.

I gratefully acknowledge the contribution of the individuals who contributed in


bringing this project up to this level, who continues to look after me despite my flaws,

I express my deep sense of gratitude to the luminary The Principal, Dr MPS


WORLD SCHOOL, Agra who has been continuously motivating and extending their
helping hand to us.

I express my sincere thanks to the academician The Vice Principal, Dr MPS


WORLD SCHOOL, Agra, for constant encouragement and the guidance provided
during this project

I am overwhelmed to express my thanks to The Administrative Officer, Dr


MPS WORLD SCHOOL, Agra for providing me an infrastructure and moral support
while carrying out this project in the school.

My sincere thanks to Mr. Amit Agarwal, Master In-charge, A guide, Mentor


all the above a friend, who critically reviewed my project and helped in solving each
and every problem, occurred during implementation of the project

The guidance and support received from all the members who contributed
and who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.

4
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.

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
PROPOSED SYSTEM

Today one cannot afford to rely on the fallible human beings of be really

wants to stand against today’s merciless competition where not to wise saying “to

err is human” no longer valid, it’s outdated to rationalize your mistake. So, to keep

pace with time, to bring about the best result without malfunctioning and greater

efficiency so to replace the unending heaps of flies with a muchsophisticated hard

disk of the computer.

One has to use the data management software. Software has been an ascent

in atomizationvarious organisations. Many software products working are now in

markets, which have helped in making the organizations work easier and efficiently.

Data management initially hadto maintain a lot of ledgers and a lot of paperwork has

to be done but now software producton this organization has made their work

fasterand easier. Now only this software has to beloaded on the computer and work

can be done.

This prevents a lot of time and money. Thework becomes fully automated and

any information regarding the organization can beobtained by clicking the button.

Moreover, nowit’s an age of computers of and automatingsuch an organization gives

the better look.

6
SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)

The systems development life cycle is a projectmanagement technique that


divides complexprojects into smaller, more easily managedsegments or phases.
Segmenting projectsallows managers to verify the successfulcompletion of project
phases before allocatingresources to subsequent phases.
Software developmentprojects typically include initiation, planning,design,
development, testing, implementation,and maintenance phases. However, the
phasesmay be divided differently depending on theorganization involved.
For example, initialproject activities might be designated asrequest,
requirements-definition, and planningphases, or initiation, concept-development,and
planning phases. End users of the systemunder development should be involved
inreviewing the output of each phase to ensurethe system is being built to deliver the
neededfunctionality.

7
PICTORIAL REPRESENTATION OF SDLC:

8
FLOW CHART

1.REGISTER

2.LOGIN

IF N=1 IF N =2

PROGRAM PROGRAM
INSERTS DATA IN FETCHES DATA
THE DATABASE FROM DATABASE

MENU IS DISPLAYED

1.CREATE BANK ACCOUNT

2.TRANSACTION

3.CUSTOMER DETAILS

4.TRANSACTION DETAILS

5.DELETE ACCOUNT

6.QUIT

IF N= 3/4 IF N= 1/2/5/6

DATA IS FETCHED FROM THE DATA IS INSERTED IN THE


DATABASE DATABASE

Source code

9
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')


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

10
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:
print('Account Number Invalid Sorry Try Again
Later’)
else:
print('1.WITHDRAW AMOUNT')
print('2.ADD AMOUNT')

11
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:
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])

12
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])
print()

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

13
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='))
V_SQLInsert="INSERT INTOuser_table
(passwrd,username) values (" + str (passwd) +
",' " + name + " ') "
cur.execute(V_SQLInsert)
conn.commit()
print('USER created succesfully')
if n==2 :

14
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

15
OUTPUT

MAIN PAGE

16
MENU PAGE

17
CREATE BANK ACCOUNT

18
CUSTOMER DETAILS

19
TRANSCATION

20
TRANSACTION DETAILS

21
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:

I. Windows OS
II. Python
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.

22
BIBLIOGRAPHY

1. Computer science With Python - Class XI By : SumitaArora


2. A Project Report On Blood Bank Management System (BBMS)
By : Amit Agarwal
3. Website: https://www.w3resource.com
4. https://en.wikipedia.org/wiki/E_(mathematical_constant)
5. python_assister (youtube link

***

23

You might also like