Atm Management System
Atm Management System
01 Acknowledgement
02 Introduction
04 Proposed System
07 Source Code
08 Output
09 Testing
10 Installation Procedure
12 Bibliography
PROJECT ON ATM MACHINE MANAGEMENT SYSTEM
INTRODUCTION
Note :
keep pace with time, to bring about the best result without
computer.
a lot of ledgers and a lot of paper work has to be done but now
INITIATION PHASE
PLANNING PHASE
DESIGN PHASE
DEVELOPMENT PHASE
IMPLEMENTATION PHASE
Note :
SOLUTION:
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("==========================================
======================================")
print("==========================================
======================================")
if op==1:
c="y"
while c=="y":
c1.execute(cb)
d=c1.fetchall()
data=c1.rowcount
if data==1:
print("==========================================
======================================")
print("==========================================
======================================")
if c=="y":
continue
else:
print("Thank you.")
print("Visit again")
print("==========================================
======================================")
else:
ab="insert into
records(ACCONT_NO,PASSWORD,NAME)
values({},{},'{}')".format(m,passw,name)
print("==========================================
======================================")
c1.execute(ab)
conn.commit()
print("==========================================
======================================")
c1.execute(sr)
conn.commit()
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("==========================================
======================================")
e="select password from records where
ACCONT_NO={}".format(acct)
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()
c1.execute(ef)
conn.commit()
print("sucessfully deposited")
t=input("Do you want to continue y/n -")
print("==========================================
======================================")
if t=="y":
continue
else:
print("Thank you")
if r==2:
print("==========================================
======================================")
c1.execute(ah)
m=c1.fetchone()
if amt >m[0]:
print("Your are having less than",amt)
print("==========================================
======================================")
else:
c1.execute(ed)
c1.execute(sr)
conn.commit()
print("Sucessfully updatad")
if y=="y":
continue
else:
print("Thank you")
if r==3:
print("==========================================
======================================")
c1.execute(cb)
c1.fetchall()
data=c1.rowcount
if data==1:
print("==========================================
======================================")
ah="select BALANCE from records
where accont_no={}".format(acct)
c1.execute(ah)
c=c1.fetchone()
if m > c[0]:
print("==========================================
======================================")
else:
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()
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
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.
ATM MACHINE:-
Pre-Requisites :
I) mysql.connector or pymysql
II) matplotlib.
If you are running the software through running the python files
'Tables_in_mysql'.
PATIENT.
HARDWARE AND SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS:
ATHALON(3800+- 4200+
DUAL CORE)
X. Printer : required
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
BIBLIOGRAPHY
SumitaArora
4. Website: https://www.w3resource.com
***