Atm Machine
Atm Machine
KANPUR
ATM SOFTWARE
SUBMITTED BY:
AJITESH AWATHI,XII – A, Roll No:
___________________
PRANSHU M. BISWAL,XII – A, Roll No:
GUIDED BY:
Mr. Kumar Gaurav PGT – CS
Senior Wing Coordinator
CERTIFICATE
This is to certify that project report
entitled ATM SOFTWARE has been
successfully completed by Roll No. –
. AND is being
submitted for Practical Examination of
Class XII (AISSCE: 2022 – 2023) in
Computer Science (Code – 083).
No part of this project is being
submitted to any other school/ institute
for award for any Certificate.
GUIDED BY:
Mr. Kumar Gaurav PGT – CS
Senior Wing Coordinator
TABLE OF CONTENTS [ T O C ]
SER DESCRIPTION
01 ACKNOWLEDGEMENT
02 INTRODUCTION
04 PROPOSED SYSTEM
07 FLOW CHART
08 SOURCE CODE
09 OUTPUT
10 TESTING
11 INSTALLATION PROCEDURE
13 BIBLIOGRAPHY
ACKNOWLEDGEMENT
I would like to express my special
thanks of gratitude to my teacher Mr.
KUMAR GAURAV as well as our
principal Mr. V. MURALIDHARAN who
gave me the golden opportunity to do
this wonderful project on the topic
ATM SOFTWARE, which also helped me
in doing a lot of Research and I came to
know about so many new things I am
really thankful to them.
Secondly, I would also like to thank my
parents and friends who helped me a
lot in finalizing this project within the
limited time frame
PROJECT ON ATM MACHINE MANAGEMENT SYSTEM
INTRODUCTION
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 much sophisticated hard disk of the computer.
One has to use the data management software. Software has been an
ascent in atomization various organisations. Many software products working
are now in markets, which have helped in making the organizations work
easier and efficiently. Data management initially had 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 work can be done.
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be obtained by
clicking the button. Moreover, now it’s an age of computers of and automating
such an organization gives the better look.
SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)
INITIATION 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 user requirements.
Note :
• Display the options and ask the user to enter the choice.
• Show an in progress message.
• Create appropriate response.
• Allow the user to continue/ or quit the game.
SOLUTION:
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',password='manager',database='
ATM_MACHINE')
c1=conn.cursor()
print("======================================================
==========================")
print("======================================================
==========================")
if op==1:
c="y"
while c=="y":
m=int(input("Enter a 4 digit number as accont number:"))
cb="select * from records where ACCONT_NO={}".format(m)
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:
name=input("Enter your name:")
passw=int(input("Enter your pass word:"))
ab="insert into records(ACCONT_NO,PASSWORD,NAME)
values({},{},'{}')".format(m,passw,name)
print("======================================================
==========================")
c1.execute(ab)
conn.commit()
print("Account sucessfully created")
print("The minimum balance is 1000 ")
print("======================================================
==========================")
print("======================================================
==========================")
print("Thank you")
print("Visit again")
break
if op==2:
y="y"
while y=="y":
print("======================================================
==========================")
print("======================================================
==========================")
print("======================================================
==========================")
if r==1:
amt=int(input("Enter the money to be deposited:"))
print("======================================================
==========================")
print("======================================================
==========================")
if t=="y":
continue
else:
print("Thank you")
if r==2:
amt=int(input("Enter the money to withdraw:"))
print("======================================================
==========================")
else:
sr="update records set balance=balance - {} where
ACCONT_NO={}".format(amt,acct)
ed="update records set WITHDRAWL ={} where
ACCONT_NO={}".format(amt,acct)
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:
act=int(input("Enter the accont number to be transferrsd :"))
print("======================================================
==========================")
print("======================================================
==========================")
print("======================================================
==========================")
else:
av="update records set balance=balance-{} where
ACCONT_NO={}".format(m,acct)
cv="update records set balance=balance+{} where
ACCONT_NO={}".format(m,act)
w="update records set withdrawl=withdrawl+{}
where accont_no={}".format(m,acct)
t="update records set CR_AMT=CR_AMT+{}
where accont_no={}".format(m,act)
c1.execute(av)
c1.execute(cv)
c1.execute(w)
c1.execute(t)
conn.commit()
print("Sucessfully transfered")
y=input("do you want to continue y/n -")
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("Balance in your account=",k)
print("======================================================
==========================")
else:
print("Wrong password")
print("======================================================
==========================")
y=input("do you want to continue y/n -")
else:
print("your Account does not exists")
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, 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. You have to have the following softwares for the successful running of
this software; which are
I) Python (Only for the First time), it is downloadable from
'www.python.org'.
II) MySQL (Only for the First time), it is downloadable from
'www.mysql.org'.
Installation :-
1. There will be two folders namely 'Python Files' and 'EXE files' in
the folder 'Source Code'.
2. The folder 'Python Files' will contain the source code of the
software in python language. If you are running the software by the 3rd step
mentioned below you have to pre install the following modules :-
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'.
5. First run the 'Tables_in_mysql.exe' to create the tables in MySQL.
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
I. Windows OS
II. Python
BIBLIOGRAPHY
***