0% found this document useful (0 votes)
34 views

Computer Science Proj

Uploaded by

cejec28240
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)
34 views

Computer Science Proj

Uploaded by

cejec28240
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/ 13

ST.

THOMAS ENGLISH MEDIUM SCHOOL, MYSURU


(Affiliated to CBSE, New Delhi, Affiliation No. 830085, School Code-45067)

DEPARTMENT OF ENGLISH
CERTIFICATE

This is to certify that the project title GLOBAL WARMING is a bonafide


work carried out G KARANGURU of grade XII SCIENCE St. Thomas
English Medium School, Mysuru, submitted in partial fulfillment if the
requirement for the AISSCE certificate from C.B.S.E under during the
year 2024-2025.

Principal Teacher-in-charge

Submitted for the AISSCE Examination held in the year 2024-2025 at


St. Thomas English Medium School, Mysuru.

Internal Examiner External Examiner


Date: Date:
ACKNOWLEDGEMENT

First I take this opportunity to thank the Almighty God, who really
enabled me to do this project successfully. I would also like to express
my gratitude to all those who have guided me.

I acknowledge my heartfelt thanks to the Principal Mr. Linto Andrews


and my teacher Miss Revathi Prakash for her valuable guidance and
encouragement. I thank all my teachers and friends who have helped
me to complete this task successfully.

I bow down to my parents for their inspiration and prayers without


which this project might not have been a success.
DECLARATION

I hereby declare that this project entitled GLOBAL WARMING is a bonafide


record of the project work done by me, during the course of my studies in
the academic year 2024-2025. This report has not been previously formed
the basis for the award of any certificate, diploma or other similar title to
me by any other or society.

Name : G KARANGURU
Standard: XII SCIENCE
INDEX

1. Brief overview of project

2. Need for computerization

3. Software and Hardware requirement

4. Advantages of project

5. Source code in python

6. Output screen

7. Bibliography
Brief Overview of project
This is a project based on bank management. The program helps us to
enter, display or alter the details of different accounts in the bank.
Moreover and most importantly the program helps us to deposit money
in the account or close the account from the bank.
The program also helps us to know all the details of customers of the
bank.
It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
Database is a collection of interrelated data to serve multiple
applications, i.e. database programs create files of information. So we
see that files are worked with most inside the program itself.

DBMS
The software required for management of data is called DBMS. It has
three models
1. Relation model: It stores information in form of rows(cardinality) and
columns(degree).
2. Hierarchical model: In this type of model, we have multiple records
inside a single record.
3. Network model: In this , the data is represented by collections of record
and relationship is represented by associations.

CHARACTERISTICS OF DBMS:
o It reduces the redundancy
o Data sharing
o Data standardization
o Reduction of data in inconsistency
TYPES OF FILES BASED ON ACCESS:
 Sequential file
 Serial file
 Random file
 Text file
 Binary file
Need for Computerization

The profile of Indian Banking has undergone a metamorphosis in the post


nationalization era. The change is characterized by radical transformation in its role,
scope and extent of business operations and the industry has grown dramatically in
size as well as complexity of operations. The banks in India have also emerged as
effective catalytic agent of socio-economic change. This massive expansion and
diversification of the banking system also brought its attendant strains. Housekeeping
and control functions got neglected owing to exponential increase in business. The
customer service tended to deteriorate and attracted criticism. Bottlenecks
developed in the flow of information compromising control and monitoring on the
one hand and MIS based policy formulation on the other. This massive growth in
network of branches and volume of business was achieved mostly by enlarging
manpower resources. Then, this industry entered into a phase with assent on
consolidation and qualitative improvement on its operations by using suitable
contemporary technological tools.

Software and Hardware requirement

 Software Specification: -
Operating system: Windows 10/8/7
Platform : Python IDLE 3.8
Database : MySQL
Languages : Python

 Hardware specification: -
Processor : Dual core or above
Hard Disk : 40 GB
Ram : 1024MB
Advantages of project

In order to meet competition, avoid obsolescence, and seize


opportunities. A bank must be able to:
 Respond rapidly to new or changing information needs.
 Maintaining the past data to ensure the satisfaction of the customer.
 Reduce error
 Provide better protection
 Make work easier
 Reduce manual labour

# SOURCE CODE IN PYTHON

import os
import platform
import mysql.connector
import pandas as pd

mydb=mysql.connector.connect(host="localhost",user="root@localhost",password="root12
3")
mycursor=mydb.cursor()

def AccInsert():
L=[]
Accno=int(input("Enter the Account number :"))
L.append(Accno)
name=input("Enter the Customer Name:")
L.append(name)
age=int(input("Enter Age of Customer :"))
L.append(age)
occup=input("Enter the Customer Occupation :")
L.append(occup)
Address=input("Enter the Address of the Customer :")
L.append(Address)
Mob=int(input("Enter the Mobile number :"))
L.append(Mob)
Aadharno=int(input("Enter the Aadhar number :"))
L.append(Aadharno)
Amt=float(input("Enter the Money Deposited :"))
L.append(Amt)
AccType=input("Enter the Account Type (Saving/RD/PPF/Current) :")
L.append(AccType)
cust=(L)
sql=("Insert into ACCOUNT(Accno,Name,Age,occu,Address,Mob,Aadharno,amt,AccType")
values("%s,%s,%s, %s,%s,%s, %s,%s,%s")
mycursor.execute(sql,cust)
mydb.commit()

def AccView():
print("Select the search criteria :")
print("1. Acc no")
print("2. Name ")
print("3. Mobile")
print("4. Aadhar ")
print("5. View All")
ch=int(input("Enter the choice :"))
if ch==1:
s=int(input("Enter ACC no :"))
rl=(s,)
sql="select * from account where Accno=%s"
mycursor.execute(sql,rl)
elif ch==2:
s=input("Enter Name :")
rl=(s,)
sql="select * from account where Name=%s"
mycursor.execute(sql,rl)
elif ch==3:
s=int(input("Enter Mobile No : "))
rl=(s,)
sql="select * from account where Mob=%s"
mycursor.execute(sql,rl)
elif ch==4:
s=input("Enter Adhar :")
rl=(s,)
sql="select * from account where Aadharno=%s"
mycursor.execute(sql,rl)
elif ch==5:
sql="select * from account"

mycursor.execute(sql)
res=mycursor.fetchall()
print("The Customer details are as follows : ")

k=pd.DataFrame(res,columns=['AccNo','name','age','Occup','Address','Mob','Aadharno','Amt'
,'AccType'])
print(k)

def AccDeposit():
L=[]
Accno=int(input("Enter the Account number : "))
L.append(Accno)
Amtdeposit=eval(input("Enter the Amount to be deposited : "))
L.append(Amtdeposit)
month=input("Enter month of Salary : ")
L.append(month)
cust=(L)
sql="Insert into amt(Accno,Amtdeposit,Month) values(%s,%s,%s)"
mycursor.execute(sql,cust)
mydb.commit()
def accView():
print("Please enter the details to view the Money details :")
Accno=int(input("Enter the Account number of the Customer whose amount is to be
viewed : "))
sql="Select Account.Accno,
Account.Name,Account.Age,Account.occu,Account.Address,Account.Mob,Account.Aadharno
,Account.Amt,Account.AccType, sum(amt.Amtdeposit),amt.month from Account INNER JOIN
amt ONAccount.Accno=amt.Accno and amt.Accno = %s"
rl=(Accno,)
mycursor.execute(sql,rl)
res=mycursor.fetchall()

for x in res:
print(x)
def closeAcc():
Accno=int(input("Enter the Account number of the Customer to be closed : "))
rl=(Accno,)
sql="Delete from amt where Accno=%s"
mycursor.execute(sql,rl)
sql="Delete from Account where Accno=%s"
mydb.commit()
def MenuSet():
print("Enter 1 : To Add Customer")
print("Enter 2 : To View Customer")
print("Enter 3 : To Deposit Money")
print("Enter 4 : To Close Account")
print("Enter 5 : To View All Customer Details")
try:
userInput = int(input("Please Select An Above Option: "))
except ValueError:
exit("\nHy! That's Not A Number")
else:
print("\n")
if(userInput == 1):
AccInsert()
elif (userInput==2):
AccView()
elif (userInput==3):
AccDeposit()
elif (userInput==4):
closeAcc()
elif (userInput==5):
accView()
else:
print("Enter correct choice. . .")
MenuSet()
def runAgain():
runAgn = input("\nwant To Run Again Y/n:")
while(runAgn.lower() == 'y'):
if(platform.system() == "Windows"):
print(os.system('cls'))
else:
print(os.system('clear'))
MenuSet()
runAgn = input("\nwant To Run Again Y/n: ")
runAgain()
#OUTPUT SCREEN:-

#MYSQL TABLE :-
# Limitation:-
# 1 Performance and Speed.

# 2 It cannot perform all the required function as bank required. It’s simply a
record of
account of customer

You might also like