Chemstry PROJECT

Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

ACKNOWLEDGEMENT

In the accomplishment of this project successfully,


many people have best owned upon me their
blessings and the heart pledged support, this time I
am utilizing to thank all the people who have been
concerned with this project.

Primarily I would thank God for being able to


complete this project with success. Then I would
like to thank my principal Smt.Latha Ganesan and
computer teacher Sri. Sukumar, whose valuable
guidance has been the ones that helped me patch
this project and make it full proof success. His
suggestions and his instructions have served as the
major contributor towards the completion of the
project.

Then I would like to thank my parents and friends


who have helped me with their valuable
suggestions and guidance has been very helpful in
various phases of the completion of the project.
Last but not the least I would like to thank my
classmates who have helped me a lot.
INDEX

S. No Topic
01 Abstract
02 System requirements
03 Feasibility study
04 Errors and its types
05 Testing
06 Maintenance
07 Flow chart of program
08 User defined Functions
09 Code
10 Output
11 Conclusion
12 Bibliography
Abstract
• The ‘Bank management system’ mainly
aims to develop software for the bank
management system. This project has
been developed to carry out the banking
process easily and quickly. This project
helps to overcome the limitations of
manual banking system.

• This software provides scope for the


following felids of banking system:

1. NEW ACCOUNT
2. DEPOSIT AMOUNT
3. WITHDRAW AMOUNT
4. BALANCE ENQUIRY
5. ALL ACCOUNT HOLDER LIST
6. CLOSE AN ACCOUNT
7. MODIFY EXISTING
ACCOUNT
8. EXIT
System Requirements
● HARDWARE:

⮚ Processor
⮚ Keyboard
⮚ Minimum memory - 2GB
● SOFTWARE

⮚ Operating System –OS7, OS8


⮚ Python IDLE

Feasibility
Feasibility study is a system proposal
according to its work, ability, impact on
the operation ability to meet the needs of
users and efficient use of resources. An
important outcome of preliminary
investigations the determination of that
system requested feasible.
ECONOMICAL FEASIBILITY:
Economics analysis is the most frequent use method
for evaluating the effectiveness, the benefits and
savings that are expected from system and compare
them with cost. Users’ records can be maintained
at a cheaper cost and every bank would like to use
this software so that the bank records can be
managed easily.

TECHNICAL FEASIBILTY:
Technical feasibility centre on the existing computer
system and to what extent it can support the
proposed task. This involves financial consideration
to accommodate technical enhancements. It is
technically feasible because whatever technology is
needed to develop this software is easily available.

Errors and its types


o An error, sometime called “A BUG” is anything
in the code that prevents a program from
compiling and running correctly. There are
broadly three types of errors as follows:
1. Compile- time errors:
Errors that occur during compilation of a program
is called compile time error. It has two types as
follows:
● Syntax error: It refers to formal rules
governing the construction of valid statements
in a language.
● Semantics error: It refers to the set of rules
which give the meaning of a statement.
2.Run time Errors:
Errors that occur during the execution of program
are run time errors. These are harder to detect
errors. Some run-time error stops the execution of
program which is then called program “Crashed”.
3.Logical Errors:
Sometimes, even if you don’t encounter any error
during compiling-time and runtime, your program
does not provide the correct result. This is because
of the programmer’s mistaken analysis of the
problem he or she is trying to solve. Such errors are
called logical error.
Testing
Alpha Testing:
It is the most common type of testing used in the
software industry. The objective of this testing is to
identify all possible issues or defects before releasing
it into the market or to the user. It is conducted at
the developer’s site.
Beta Testing:
It is a formal type of software testing which is
carried out by the customers. It is performed in a
real environment before releasing the products into
the Market for the actual end-users. It is carried out
to ensure that there are no major failures in the
software or product and it satisfies the business
requirement. Beta Testing is Successful when the
customer accepts the software.
White Box Testing:
White box testing is based on the knowledge about
the internal logic of an application’s code. It is also
known as Glass box Testing. Internal Software and
code working should be known for performing this
type of testing. These tests are based on the
coverage of the code statements, branches, paths,
conditions etc.
Black Box Testing:
It is a software testing, method in which the
internal structure or design of the item to be tested
is not known to the tester. This method of testing
can be applied virtually to every level of the
software testing.
Maintenance
Programming maintenance refers to the
modifications in the program. After it has been
completed, in order to meet changing requirement
or to take care of the errors that shown up. There
are four types of maintenance:
1. Corrective Maintenance:
When the program after compilation shows error
because of some unexpected situations, untested
areas such errors are fixed up by corrective
maintenance.
2. Adaptive Maintenance:
Changes in the environment in which an
information system operates may lead to system
management. To accommodate changing needs
time to time maintenance is done and is called
Adaptive Maintenance.
3. Preventive Maintenance:
If possible, the errors could be Anticipated before
they actually occur; the maintenance is Called
Preventive maintenance.
4. Perfective Maintenance:
In this rapidly changing world, information
technology is the fastest growing area. If the
existing system is maintained to keep tuned with
the new features, new facilities, new capabilities, it
is said to be Perfective maintenance.

Flow chart of the program

PROJECT DATABASE

Login Reset Exit

ADMIN DASHBOARD

Add (insert account)

close (close account)

Insert (add transaction)

Search (search account)


Exit
yes No

yes no

Exit admin
User Defined Functions:
1) display():
This function displays the recorded entries in
the bank system. It will display all the account
details of all the accounts available in the
system.
2) account status():
This function in the program will show the
current status of the account i.e.; the balance
and the status of the account number that is
been entered.
3) deposit amount():
This function will record the deposit made by
the account holder.
4) withdraw amount ():
This function in the program will record the
transaction of the account where the amount
has been withdrawn.
5) search menu ():
This function in the program will help the user
to search for the account.
6) daily report ():
This function will display the daily transaction
of the account.
7) Account details ():
This function will display the details of the
account which was being searched.
8) Add account ():
This function will add new account.
9) Addtran ():
This function will allow the user to record new
transaction.
10) Modify account ():
This function will enable the user to make
modification in any of the account.
11) Closea ccount ():
This function in the program will close the
entire program.
CODE
import pickle

import os

import pathlib

class Account:

accNo = 0

name = ''

deposit=0

type = ''

def createAccount(self):

self.accNo= int(input("Enter the account no : "))

self.name = input("Enter the account holder name : ")

self.type = input("Ente the type of account [C/S] : ")

self.deposit = int(input("Enter The Initial amount(>=500 for Saving and >=1000 for current"))

print("\n\n\nAccount Created")

def showAccount(self):

print("Account Number : ",self.accNo)

print("Account Holder Name : ", self.name)

print("Type of Account",self.type)

print("Balance : ",self.deposit)

def modifyAccount(self):

print("Account Number : ",self.accNo)

self.name = input("Modify Account Holder Name :")

self.type = input("Modify type of Account :")

self.deposit = int(input("Modify Balance :"))

def depositAmount(self,amount):

self.deposit += amount

def withdrawAmount(self,amount):

self.deposit -= amount

def report(self):

print(self.accNo, " ",self.name ," ",self.type," ", self.deposit)

def getAccountNo(self):
return self.accNo

def getAcccountHolderName(self):

return self.name

def getAccountType(self):

return self.type

def getDeposit(self):

return self.deposit

def intro():

print("\t\t\t\t**********************")

print("\t\t\t\tBANK MANAGEMENT SYSTEM")

print("\t\t\t\t**********************")

input()

def writeAccount():

account = Account()

account.createAccount()

writeAccountsFile(account)

def displayAll():

file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

mylist = pickle.load(infile)

for item in mylist :

print(item.accNo," ", item.name, " ",item.type, " ",item.deposit )

infile.close()

else :

print("No records to display")

def displaySp(num):

file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

mylist = pickle.load(infile)

infile.close()

found = False
for item in mylist :

if item.accNo == num :

print("Your account Balance is = ",item.deposit)

found = True

else :

print("No records to Search")

if not found :

print("No existing record with this number")

def depositAndWithdraw(num1,num2):

file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

mylist = pickle.load(infile)

infile.close()

os.remove('accounts.data')

for item in mylist :

if item.accNo == num1 :

if num2 == 1 :

amount = int(input("Enter the amount to deposit : "))

item.deposit += amount

print("Your account is updted")

elif num2 == 2 :

amount = int(input("Enter the amount to withdraw : "))

if amount <= item.deposit :

item.deposit -=amount

else :

print("You cannot withdraw larger amount")

else :

print("No records to Search")

outfile = open('newaccounts.data','wb')

pickle.dump(mylist, outfile)

outfile.close()

os.rename('newaccounts.data', 'accounts.data')
def deleteAccount(num):

file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

oldlist = pickle.load(infile)

infile.close()

newlist = []

for item in oldlist :

if item.accNo != num :

newlist.append(item)

os.remove('accounts.data')

outfile = open('newaccounts.data','wb')

pickle.dump(newlist, outfile)

outfile.close()

os.rename('newaccounts.data', 'accounts.data')

def modifyAccount(num):

file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

oldlist = pickle.load(infile)

infile.close()

os.remove('accounts.data')

for item in oldlist :

if item.accNo == num :

item.name = input("Enter the account holder name : ")

item.type = input("Enter the account Type : ")

item.deposit = int(input("Enter the Amount : "))

outfile = open('newaccounts.data','wb')

pickle.dump(oldlist, outfile)

outfile.close()

os.rename('newaccounts.data', 'accounts.data')

def writeAccountsFile(account) :
file = pathlib.Path("accounts.data")

if file.exists ():

infile = open('accounts.data','rb')

oldlist = pickle.load(infile)

oldlist.append(account)

infile.close()

os.remove('accounts.data')

else :

oldlist = [account]

outfile = open('newaccounts.data','wb')

pickle.dump(oldlist, outfile)

outfile.close()

os.rename('newaccounts.data', 'accounts.data')

# start of the program

ch=''

num=0

intro()

while ch != 8:

#system("cls");

print("\tMAIN MENU")

print("\t1. NEW ACCOUNT")

print("\t2. DEPOSIT AMOUNT")

print("\t3. WITHDRAW AMOUNT")

print("\t4. BALANCE ENQUIRY")

print("\t5. ALL ACCOUNT HOLDER LIST")

print("\t6. CLOSE AN ACCOUNT")

print("\t7. MODIFY AN ACCOUNT")

print("\t8. EXIT")

print("\tSelect Your Option (1-8) ")

ch = input()

#system("cls");

if ch == '1':

writeAccount()
elif ch =='2':

num = int(input("\tEnter The account No. : "))

depositAndWithdraw(num, 1)

elif ch == '3':

num = int(input("\tEnter The account No. : "))

depositAndWithdraw(num, 2)

elif ch == '4':

num = int(input("\tEnter The account No. : "))

displaySp(num)

elif ch == '5':

displayAll();

elif ch == '6':

num =int(input("\tEnter The account No. : "))

deleteAccount(num)

elif ch == '7':

num = int(input("\tEnter The account No. : "))

modifyAccount(num)

elif ch == '8':

print("\tThanks for using bank managemnt system")

break

else :

print("Invalid choice")

ch = input("Enter your choice : ")


OUTPUT:
Conclusion:
when we used online banking system it is totally
virtualization process which avoid manual process and
converts it in automatic process. If user can make a
transaction in bank management system it is available in
anywhere also user can link Aadhar with account, change
branch location easily. Bank management system is
saving the time with accuracy than Bank management
system is a virtualization of transactions in banking
system. The banking system are used manual working but
bank manual system.

Bibliography

→ Computer science class 12 book

→ Pythonworld.in

→ Cbsetoday.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy