ACKNOWLEDGEMENT
I undertook this project work, as the part of my xii-informatics
practices course. I had tried to apply my best of knowledge and
experience, gained during the study and class work experience.
However, developing software system is generally a quite complex
and time-consuming process. It requires a systematic study, insight
vision and professional approach during the design and development.
Moreover, the developer always feels the need, the help and good
wishes of the people near you, who have considerable experience
and idea.
I would like to extend my sincere thanks and gratitude to my teacher
MR.SANDEEP GUPTA. I am very much thankful to our Principal MRS.
JAYANTI MITRA for giving valuable time and moral support to
develop this software. I also feel indebted to my friends for the
valuable suggestions during the project work.
Yash Yadav
Class XII-C
TABLE OF CONTENTS [ T O C ]
1. INTRODUCTION OF PROJECT
2. OBJECTIVE OF THE PROJECT
3. SCOPE OF THE PROJECT
4. INPUT/OUTPUT REQUIREMENT
5. HARDWARE AND SOFTWARE REQUIREMENTS
6. DATABASE USED
7. CODING
8. OUTPUT
9. REFERENCES AND BIBLIOGRAPHY
1. INTRODUCTION
Python is a widely used general-purpose, high level programming
language. It was created by Guido van Rossum in 1991 and further
developed by the Python Software Foundation. It was designed
with an emphasis on code readability, and its syntax allows
programmers to express their concepts in fewer lines of code.
Python is a programming language that lets you work quickly and
integrate systems more efficiently.
There are two major Python versions: Python 2 and Python 3.
Both are quite different.
Learning Python gives the programmer a wide variety of career
paths to choose from. Python is an open-source (free)
programming language that is used in web programming, data
science, artificial intelligence, and many scientific applications.
Learning Python allows the programmer to focus on solving
problems, rather than focusing on syntax. Its relative size and
simplified syntax give it an edge over languages like Java and C++,
yet the abundance of libraries gives it the power needed to
accomplish great things.
\
2. OBJECTIVE OF THE PROJECT
1. Validating the ATM card.
2. Asking the user for options to perform next task.
3. In case withdrawal is selected, we should check the balance
accordingly.
4. Creating account for new users by taking required information
from them.
5. Handing over the amount.
6. Printing the receipts.
3. SCOPE OF THE PROJECT
This project has a large scope as it has the following features which help in
making it easy to use, understand and modify it:
• Easy To Online Drafting
• A Predefined Program For ATM
• Management of Bank Accounts and Cash Withdrawal
• Have a Practice in Field of Future Coding
This software can be readily used by non-programming personal avoiding
human handled chance of error. This project is used by two types of users
i. Any Citizen for Cash Withdrawal
ii. Bank Officials
Main Points are: -
• Simplified Management of Account Profiles.
• Account and type Information
• Selection Results
4. INPUT/OUTPUT REQUIREMENTS
Input requirements
• User Feedback for Account Creation, Withdrawal, Deposit, Balance Enquiry
• Account No., pin, Name, Initial Balance For account creation
• Account no. and pin
• Amount to be withdrawal
• Amount to be Deposited
Output requirements
• Balance Of User
• Balance of user after transaction
5 .HARDWARE AND SOFTWARE
REQUIREMENTS
HARDWARE REQUIREMENTS:
I.OPERATING SYSTEM: WINDOWS 8 AND ABOVE
II. PROCESSOR: PENTIUM(ANY) OR AMD
ATHALON (3800+-4200+ DUAL CORE)
III. MOTHERBOARD: 1.845 OR 915,995 FOR PENTIUM 0R MSI
K9MM-V VIA K8M800+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 Backup required)
VII. PEN DRIVE 32 GB: (If Backup required)
VIII. MONITOR 14.1 or 15 -17 inch
IX. Key board and mouse
SOFTWARE REQUIREMENTS:
• Windows OS
• Python 3.7. x
6. DATABASE USED
An important aspect of system design is the design of data storage structure.
To begin with a logical model of data structure is developed first. A database is
a container object which contains tables, queries, reports and data validation
policies enforcement rules or constraints etc. A logical data often represented
as records are kept in different tables after reducing anomalies and
redundancies. The goodness of data base design lies in the table structure and
its relationship.
The data in the project is stored in the CSV type file. It stores tabular data (data
stored in rows and columns as we see in spreadsheets or database) where
comma delimits the value. Typically, the default delimiter is comma (,) but
modern implementations of CSV files allow you to choose a different delimiter
character.
Each line in a CSV file is a data record. Each record consists of one or more
fields, separated by chosen delimiter.
7. CODING
import csv with open('Atm.csv',mode='a')
as csvfile: mywriter =
csv.writer(csvfile,delimiter=',')
print("Welcome to the ATM.")
print("What do you want?")
choice=int(input("1 for account creation ,2 for Cash Withdrawal ,3 for Cash
Deposit ,4 for exit: ")) if choice==1:
username=input("Enter the Username: ")
pin=input("Create your PIN: ")
Account_no =int(input("Enter your 4 digit account no."))
Balance =int(input("Enter the amount to be deposited: "))
mywriter.writerow([username,Account_no,pin,Balance])
print("Account created successflly") print("Please Visit
Again") elif choice==2: with open('Atm.csv',mode='r')as
csvfile:
myreader=csv.reader(csvfile,delimiter=',')
u=input("Enter Account no. ") for row in
myreader: if len(row)!=0:
if(row[1])==u:
pn=input("Enter your pin: ")
if pn==row[2]:
cash=int(input("Enter the amount to withdraw"))
row[3]=int(row[3])-cash
print("Please collect your cash: "+str(cash))
ch=input("Do you want to display the account balance on screen? y/n)")
if ch=='y':
print(row[3])
print("Thankyou for visiting")
else:
print("Thank your for visiting")
else:
print("Wrong Pin")
elif choice==3: with
open('Atm.csv',mode='r')as csvfile:
myreader=csv.reader(csvfile,delimiter=',')
u=input("Enter Account no. ") for row in
myreader: if len(row)!=0:
if(row[1])==u:
pn=input("Enter your pin: ")
if pn==row[2]:
cash2=int(input("Enter the amount to
Deposit: "))
row[3]=int(row[3])+cash2
ch2=input("Do you want to display the
account balance on screen? y/n): ")
if ch2=='y':
print(row[3])
print("Thankyou for visiting")
else:
print("Thank your for visiting")
else:
print("Wrong Pin")
elif choice==4:
print("ThankYou For visiting")
print("Please come again")
8 .OUTPUT
1. For Account Creation
2. For Money Withdrawal
3 .For money deposit
3.For No choice
9 .REFERENCES AND BIBLIOGRAPHY
REFRENCE LINKS
• https://en.wikipedia.org/wiki/Real_estate
• https://www.geeksforgeeks.org
BIBLIOGRAPHY
COMPUTER SCIENCE WITH PTHON (SUMITA ARORA)