COMPUTER SCIENCE
PROJECT FILE
Name - Suhani Mitra
Class - XII-E
Roll No. - 24
1
TABLE OF CONTENTS
[Link] TOPIC PAGE
NO.
1. Certificate. 3
2. Acknowledgement. 4
3. Description. 5
4. Objectives of this project. 6
5. Software Requirement. 7
6. Functions, Methods & their 8-11
Objectives
7. Source Code 12-14
8. Output 15-21
9. Bibliography 22
2
CERTIFICATE
This is to certify that Suhani Mitra has
successfully completed the project file on
ATM Management System under my
guidance and supervision.
I am satisfied with their initiative and
efforts for the completion of project file
as a part of curriculum of CBSE Class
XII Examination.
(Subject Teacher) (Examinar)
3
ACKNOWLEDGMENT
I would like to express my deep thanks
and gratitude to my teacher Mrs Ruchika
Thukral for guiding me immensely
through the course of project. Her
consecutive advice and constant
motivation is responsible for the
successful completion of this project.
I also thank my parents for their
motivation and support and my friends
who helped me a lot in finalising this
project within the limit time frame.
Suhani Mitra
4
DESCRIPTION
The ATM management software is a device whose
working is similar to that of an ATM. It allows the
user to:
Create account
Deposit money
Withdraw money
Change pin
Display account information
Change account
Transfer money.
This project also does the following:
Allows the user to input their question.
Show an in progress message
Allow the user to ask another question or quit
software.
5
OBJECTIVES OF THIS
PROJECT
The objective of this project is to let students apply
programming knowledge into real world
situations/problems and expose the students how
programming skills helps us in developing a good
software. Through this project, we will also learn
how to:
Write programs utilizing modern software tools.
Apply object oriented programming principles
effectively when small to medium sized projects.
Write effective procedural code to solve small to
medium sized projects.
Demonstrate a breadth of knowledge in
computer science, as exemplified in the areas of
systems, theory and software development.
Demonstrate the ability to conduct a research or
applied computer science project, requiring
writing and presentation skills which exemplify
scholarly style in computer science.
6
SOFTWARE
REQUIREMENT
Language : Python
DBMS : MySQL
7
FUNCTIONS, METHODS
& THEIR OBJECTIVES
1. Built in functions:
int() : int() converts the specified
value into an integer.
input() : input() function is used to
take user input. By default it
returns the user input in the form
of a string.
print() : displays a specified text to the
screen.
List() : used to convert any given object
into a list.
8
2. User – defined functions:
newcustomer() : to add a new customer.
newatm() : to create a new ATM.
depcash() : to deposite cash.
withdraw() : to withdraw cash.
changepin() : to change pin number.
acc_info() : to display account info.
changeacc() : to change account.
transfer() : to transfer money.
9
3. Methods:
commit() : this method sends a
commit statement to the MySQL server,
commiting the current transaction.
execute() : this method is used to
dynamically execute Python programs that are
passed either as a string or an object code to the
function.
fetchone() : fetches the next row (case)
from the active dataset.
format() : returns a formatted value as
specified by the format passed as a parameter.
fetchall() : fetches all (remeaning) cases
from the active dataset, or if there are splits, the
remaining cases in the current spilt.
10
rowcount() : returns the number of rows in
a rowset or array.
11
SOURCE CODE
12
13
14
OUTPUT
15
16
17
18
19
20
21
BIBLIOGRAPHY
Computer science with Python
by Sumita Arora.
Computer Science with Python
Saraswati Publication.
[Link]
/python-programming-language-
tutorial/
22