0% found this document useful (0 votes)
67 views35 pages

Computer Science Projects

It was important project for computer science,..............................................dbdbdnndndndnndndndndndndndnndndn

Uploaded by

GAMING VISHOK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views35 pages

Computer Science Projects

It was important project for computer science,..............................................dbdbdnndndndnndndndndndndndnndndn

Uploaded by

GAMING VISHOK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 35

pg.

1
PROJECT ON ATM MACHINE MANAGEMENT SYSTEM

INTRODUCTION

The ATM MACHINE SOFTWARE is device


which is as same as normal atm machine . It allows
the user to create account, deposit money ,withdraw
money, Transfer the money and check Balance.

Note:

• Allow the user to input their question.

• Show an in progress message.

• Create 10/20 responses, and show a random


response.

• Allow the user to ask another question/advice


or quit the software.

pg. 2
OBJECTIVES OF THE PROJECT

The objective of this project is to let the students


apply the programming knowledge into a real- world
situation/problem and exposed the students how
programming skills helps in developing a good software.

• Write programs utilizing modern software tools.

• Apply object oriented programming principles


efectively when developing small to medium sized
projects.

• Write effective procedural code to solve small to


medium sized problems.

• Students will demonstrate a breadth of knowledge


in computer science, as exemplified in the areas of
systems, theory and software development.

• Students will demonstrate ability to conduct a


research or applied Computer Science project,
requiring writing and presentation skills which
exemplify scholarly style in computer science.

pg. 3
PROPOSED SYSTEM

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 error

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

inmarketts, which have helped in making the organizations

work easier and e0iciently. 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

pg. 4
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.

pg. 5
SOURCE CODE

Create a Python project of a ATM


MACHINE MANAGEMENT
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 zql
conn—sql.connect{host—’locolhost',user—'root', password
—’manager’,database—' ATM_MACHlNE’)

pg. 6
print(”
BANK“)

print(“1.Tocreateaccount“)
print(”2.Tologin“)
print(”3.Exit“)

pg. 7
op——int(input(“Enteryourchoice “))

vwhile c ——”y ’:
f

m——int(input(“Entera4digitnumber
asaccontnumber“))
cb——"ce/ect* fromrecordzwhere
ACCONT_NO——{)“.format(m)
ct.execute(cb) d——
ct. fetchall() data——
ct.rowcount ifdata
————1

pg. 8
print(”Thizaccountnumber
alreadyexists “)
c——input(”Doyouwanttocontinue

continue
eice"
print(“Thankyou.“)
print(“Vizitagain

pg. 9
else“
name——input(“Enteryourname ’ /
f

passw——int(input(”Enteryourpass
word “))
ab——“inseKinto
records(ACCONT_NO,PASSWORD,NAME
) va/ues({),{),’{)’)“.format(m,passw,name)

ct.execute(ab)

pg. 10
print(’ AccountsucessfuIIy
(

created“)
print(’ Theminimumba/anceis
(

/000 ' J
f

s——int(input(“Enterthemoneyto
bedeposited”’))

zr——“updaterecordzzet
CR_AMT——{) where ACCONT_NO
——{) ’.format(z,m)
f

pg. 11
ct.execute(zr)
conn.commit()
ef——“updaterecordzzet
balance——cr_amt-withdrawlwhere
ACCONT_NO——{) ’.format(m)
f

ct.execute(e(
conn.commit()
print(”cucezcfullydepozited“)

print(”Thankyou”)
print(”Vizitagain“)
break

whiley=——“y“

pg. 12
acct——int(input(”Enteryouraccount
number “))
cb——’ise/ect* fromrecordswhere
ACCONT_NO——{)“.format(acct)
ct.execute(cb)
ct.fetcha/l() data
——ct.rowcount
ifdata————1-
pas——int(input(“Enteryour
password “))

e——”celectpazzwordfromrecordz
whereACCONT_NO——{)”.format(acct)
ct.execute(e)

pg. 13
a——ct. fetchone()
d——lizt(a)
ifpaz————d{0]
print(“correct“)
print(”1.Depozitngmoney
print(“£. withdrawingmoney“)
print(“3. Tranzferingmoney“)
print(“4.Checkingbalance“)
print(”5.ChangingAccount
number“)

r——int(input(“Enteryourchoice

pg. 14
amt——int(input(“Enterthe
moneytobedeposited “))

sr——”updaterecordsset CR_AMT——
CR_AMT+{) where ACCONT_NO——
{)“.format(amt,acct)
ct.execute(sr)

pg. 15
ef——”updaterecordccet balance
——cr amt-withdrawlwhere ACCONT_NO——
{)“.format(acct)
ct.execute(ef)

print(“cuceccfuliy
deposited“)

I——input(“Doyouwantto
continuey/n -”)

continue
else’

pg. 16
print(”Thankyou“)

amt——int(input(“Enterthe
moneytowithdraw-”’))

ah——”select BALANCE
fromrecordswhere accont_no——
{)”.format(acct)
ct.execute(ah) m——
ct. fetchone()
ifamt>m{0]
print(”Yourarehaving
less then ,amr)
f

print(”P/easetry
again

pg. 17
e/se:
cr——”updaterecordccet
balance——balance -{} where
ACCONT_NO——{)“.format(amt,acct)
ed——“updaterecordz
zet WITHDRAWL ——{) where
ACCONT_NO——{)“.format(amt,acct)
ct.execute(ed)
ct.execute(sr)

print(”3ucezzfu//y
updatad“)
y——input(“doyouwantto
continuey/n -“)

pg. 18
continue
elze’
print(“Thankyou“)

act——int(input(“Enterthe
accontnumbertobetransterrsd “))

cb—— se/ect* fromrecords


rrhere ¥\CCO/VT_/VO——/) ’ .format(act)
f

ct.execute(cb)
ct.fetcha/I()

pg. 19
data——ct.rowcount
ifdata————1
print(act,“number
exists“)
m——int(input(“Enterthe
moneytobetransferred “))

ah——“select BALANCE
fromrecordswhere
accont_no——()”.format(acct)
ct.execute(ah) c——
ct. fetchone() ifm>c{0]

pg. 20
print(“Yourare
havinglezzthan“,m)
print(“Pleacetry
again

e/se:
av——’update
recordzzetbalance——ba/ance-{)where
ACCONT_NO——{}“.format(m,acct)
cv——“update
recordzzetbalance——balance+{} where
ACCONT_NO——{)”.format(m,act)
w——“updaterecordz
zetwithdrawl——withdrawl+(} where accont_no——
(}”.format(m,acct)

pg. 21
t——“updaterecordz
zet CR_AMT——CR_AMT+{} where
accont_no——{}“.format(m,act)
ct.execute(av)
ct.execute(cv)
ct.execute(w)
ct.execute(t)
conn.commit()
print(“ifiucezzfully
transfered“)
y——input(”doyouwant
tocontinuey/n -“)
/ // •

continue
e/se’
print(“Thankyou”)
ifr————4-

pg. 22
ma——”ceiectbalancefrom
recordswhereaccont_no——{) ’.format(acct)
f

ct.execute(ma) k
——ct. fetchone()
print(“BaIanceinyour

y——input(“doyouwantto
continuey/n -”)

continue
elze’
print(”Thankyou“)

pg. 23
i——int(input(“Enteryour
newaccountnumber:“))
cb——”ce/ect* fromrecords
whereACCONT_NO——(}”.format(i)
ct.execute(cb)
ct.fetchall() data
——ct.rowcount
ifdata————1s
print(”Thisnumber
already'exists ?
f

print(”Tryagain”)

y——input(”doyouwant
tocontinuey/n -“)
/ // •

continue
else“

pg. 24
print(“Thankyou”)
e/se:
name——input(“Enter
yourname
ar——“Updaterecordc
zetaccont_no——{) wherename——’()’and
password——{}”.format(i,name,pac)
ct.execute(ar)

print(”Yournew
accountnumberis”,i)

e/se’
print(”Wrongpassword“)

pg. 25
y——input(“doyouwantto
continuey/n -”)

e/se:
print(“yourAccountdoesnot
exists“)

iLOp——!$-’

print((lExiting“)
ct.c/ose()

pg. 26
pg. 27
1.T0 create aCC0\let

Enter ;00F C#0lC9 :2

E/It4C \0\II 4CC0¥II\ /I\III6»C: 6Î6!


fnter y00r passx0£d t67

C0H2Ct
1,0ep0sÎtnq noney
2.vit£dra›inq c0ney
3,Traisfeiing n0neș
tttc ing b
5.ttanqing 1.cc0unt niaber

Inter y0llf Ch0ice:1

Enter the Fl0îte} tO be 4ep0sited:2000

sfcessfull) dep0sited
DO }08 V6ftt tO COEtinte y/țl -

pg. 28
, l.fieøsitn9
. i0iey
1.«ittAa›in§
n0ney
3.Traisfeiin§
i0ney
fnter y0ttE
C#0ice:2

Sucessfilly iØatad
d0 ]01 Y6It t0 C0ntinyt
y/A -y
Enter ¿ovE ax0tnt
naIer:6f6J

l.fi8JJ0sitn§
n0ney

!.t1ecling
balance 5,tlaging
£«0int nuainr

pg. 29
pg. 30
pg. 31
Eni.eï ;0Jf rÏcice:I

śt ;ø i’z.I tr, ‹qtiite j/n -j


.• i

pg. 32
CODE COMPLETENESS EVALUA1ON

Vite box testing methods can also be used to evaluate


the completeness of a test suite that was created with black box
testing methods. This allows the software team to examine parts
of a system that are rarely tested and ensures that the most
important function points have been tested.

Two common forms of code coverage are-


• Function Coverage: Which reports on functions
executed and
• Statement Coverage: Which reports on the
number of lines executed to complete the test.
Wey both return coverage metric, measured as a percentage

pg. 33
HARDWARE AND SOFTWARE REQUIREMENTS

I. OPERATING : WINDOWS 7 AND ABOVE


SYSTEM
: PENTIUM(ANY) OR AMD
II. PROCESSOR
ATHALON(3800+-
4200+ DUAL CORE)

:1.845 OR 915,995 FOR PENTIUM 0R


III. MOTHERBOARD
MSI K9MM-V VIA K8M800+8237R

PLUS
CHIPSET FOR AMD ATHALON

IV. RAM 512MB+

V. Hard disk SATA40 GB OR ABOVE

VI. CD/DVD r/w multi drive combo : (If back up required)

VII. FLOPPY DRIVE 1.44 MB (If Backup required)

VIII. MONITOR 14.1 or 15 -17 inch

IX. Key board and mouse

X. Printer required

SOFTWARE REQUIREMENTS:

I. Windows OS
II. Python

pg. 34
BIBLIOGRAPHY

• Computer science With Python - Class XI By:


Sumita Arora
• A Project RepoK On Blood Bank Management System
(BBMS1

• v»uDsize- hbps://www.w3resource.com
• h pN e wik eda.or /

pg. 35

You might also like