ATM Machine
ATM Machine
PROJECT REPORT ON
“ATM MACHINE”
ROLL NO :
NAME :
CLASS : XII
SUBJECT : COMPUTERSCIENCE
PGT (CS)
CERTIFICATE
This is to certify that Cadet ___________________________ Roll No: ______
Master IC
Internal Examiner:
External Examiner:
01 ACKNOWLEDGEMENT 03
02 INTRODUCTION 06
04 PROPOSED SYSTEM 08
07 FLOW CHART 23
08 SOURCE CODE 27
09 OUTPUT 55
10 TESTING 61
11 INSTALLATION PROCEDURE 65
13 BIBLIOGRAPHY 70
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.
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.
PROJECT ON ATM MACHINE MANAGEMENT SYSTEM
INTRODUCTION
Note :
rationalize your mistake. So, to keep pace with time, to bring about the
computer.
products working are now in markets, which have helped in making the
to maintain a lot of ledgers and a lot of paper work has to be done but
now software product on this organization has made their work faster and
easier. Now only this software has to be loaded on the computer and
INITIATION PHASE
PLANNING PHASE
DESIGN PHASE
DEVELOPMENT PHASE
IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and
accepted by the user. In this phase, the system is installed to support the
intended business functions. System performance is compared to
performance objectives established during the planning phase.
Implementation includes user notification, user training, installation of
hardware, installation of software onto production computers, and
integration of the system into daily work processes. This phase continues
until the system is operating in production in accordance with the defined
userrequirements.
FLOW CHART
START
CONN = SQL . CONNECT ( HOST =' LOCALHOST ', USER =' ROOT ', PASSWORD =' MAN
c1=conn.cursor()
c="y"
IF
WHILE
OP ==1:
C==”Y”
IF NO
CREATE
IF
OP==
CB =" SELECT * FROM RECORDS where ACCONT_NO={}".format(m)
print("1.Depositng money")
print("2.withdrawing money")
print("3.Transfering money") STOP
print("4.Checking balance")
print("5.Changing Account number
SOURCE CODE
Note :
conn=sql.connect(host='localhost',user='root',password='manager'
,database=' ATM_MACHINE')
c1=conn.cursor()
print("=================================================
===============================")
print("=================================================
===============================")
print("2.To login")
print("3.Exit")
print("=================================================
===============================")
op=int(input("Enter your choice :"))
print("=================================================
===============================")
if op==1:
c="y"
while c=="y":
c1.execute(cb)
d=c1.fetchall()
data=c1.rowcount
if data==1:
print("=================================================
===============================")
if c=="y":
continue
else:
print("Thank you.")
print("Visit again")
print("=================================================
===============================")
else:
c1.execute(ab)
conn.commit()
print("=================================================
===============================")
print("=================================================
===============================")
c1.execute(sr)
conn.commit()
ef="update records set balance=cr_amt-withdrawl
where ACCONT_NO={}".format(m)
c1.execute(ef)
conn.commit()
print("sucessfully deposited")
print("Thank you")
print("Visit again")
break
if op==2:
y="y"
while y=="y":
c1.execute(cb)
c1.fetchall()
data=c1.rowcount
if data==1:
print("=================================================
===============================")
c1.execute(e)
a=c1.fetchone()
d=list(a)
if pas==d[0]:
print("correct")
print("1.Depositng money")
print("2.withdrawing money")
print("3.Transfering money")
print("4.Checking balance")
print("=================================================
===============================")
if r==1:
print("=================================================
===============================")
c1.execute(sr)
conn.commit()
conn.commit()
print("sucessfully deposited")
print("=================================================
===============================")
if t=="y":
continue
else:
print("Thank you")
if r==2:
print("=================================================
===============================")
ah="select BALANCE from records where
accont_no={}".format(acct)
c1.execute(ah)
m=c1.fetchone()
if amt >m[0]:
print("=================================================
===============================")
else:
c1.execute(ed)
c1.execute(sr)
conn.commit()
print("Sucessfully updatad")
y=input("do you want to continue y/n -")
if y=="y":
continue
else:
print("Thank you")
if r==3:
print("=================================================
===============================")
c1.execute(cb)
c1.fetchall()
data=c1.rowcount
if data==1:
print(act ,"number exists")
print("=================================================
===============================")
c1.execute(ah)
c=c1.fetchone()
if m > c[0]:
print("=================================================
===============================")
else:
av="update records set balance=balance-{}
where ACCONT_NO={}".format(m,acct)
c1.execute(av)
c1.execute(cv)
c1.execute(w)
c1.execute(t)
conn.commit()
print("Sucessfully transfered")
if y=="y":
continue
else:
print("Thank you")
if r==4:
ma="select balance from records where
accont_no={}".format(acct)
c1.execute(ma)
k=c1.fetchone()
print("=================================================
===============================")
if y=="y":
continue
else:
print("Thank you")
if r==5:
c1.execute(cb)
c1.fetchall()
data=c1.rowcount
if data==1:
print("Try again")
if y=="y":
continue
else:
print("Thank you")
else:
c1.execute(ar)
conn.commit()
print("Wrong password")
print("=================================================
===============================")
else:
if op==3:
print("Exiting")
c1.close()
TESTING
TESTING METHODS
Software testing methods are traditionally divided into black box testing
and white box testing. These two approaches are used to describe the point of
view that a test engineer takes when designing test cases.
Black box testing treats the software as a "black box," without any
knowledge of internal implementation. Black box testing methods include:
equivalence partitioning, boundary value analysis, all-pairs testing, fuzz testing,
model-based testing, traceability matrix, exploratory testing and specification-
based testing.
SPECIFICATION-BASED TESTING
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.
WHITE BOX TESTING
White box testing, by contrast to black box testing, is when the tester
has access to the internal data structures and algorithms (and the code that
implement these)
INSTALLATION PROCEDURE
ATM MACHINE:-
Pre-Requisites :
1. There will be two folders namely 'Python Files' and 'EXE files'
in the folder 'Source Code'.
I) mysql.connector or pymysql
II) matplotlib.
3. Open the files in any python editors and run it to start and
work on the software.
4. The folder 'EXE files' will contain two files namely 'main.exe'
and 'Tables_in_mysql.exe'.
6. Then run the file 'main.exe' to start and work on the software.
CAUTION :-
If you are running the software through running the python files or by
running the .exe files ; first run the file named 'Tables_in_mysql'.
The .exe file will take some time to run; so be PATIENT.
HARDWARE AND SOFTWARE REQUIREMENTS
X. Printer : required
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
BIBLIOGRAPHY
***