0% found this document useful (0 votes)
35 views30 pages

CS Project 2024-25

Uploaded by

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

CS Project 2024-25

Uploaded by

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

CS PROJECT 2024-2025

Bank Management System

Submitted by: Sahir Ahmed


Class XII : A


CERTIFICATE
This is to certify that the project work
titled Bank Management System is a
bonafide record done by Class XII A
Students in partial fulfilment of the
project in Python during the year
2024-2025 by Sahir Ahmed Certified that
the candidates was examined by us in the
project work / viva voce examination held
at BVM GLOBAL@TRICHY on __/__/____.

Internal Examiner External


Examiner
PRINCIPAL

ACKNOWLEDGEMENT

I would like to express my special


thanks of gratitude to my teacher Ms
Kavitha K as well as our principal Mr
V G Suresh who gave me the golden
opportunity to do this wonderful
project on Bank Management
System, which also helped me in
doing a lot of Research and i came
to know about so many new things I
am really thankful to them. Secondly
i would also like to thank my parents
and friends who helped me a lot in
finalizing this project within the
limited time frame.

INDEX

1. Objective
2. Introduction
3. Description
4. Source code
5. Program Shots
6. Output
7. Bibliography

OBJECTIVE
To develop a Python and SQL
project to create a profound
Bank Management System.
seeking to expand your reach.
Our project Bank Management
System is the go-to platform for
all things that are related to
Bank Management.
INTRODUCTION
The project Bank Management System
presented here represents a pivotal solution in
the realm of financial management, blending the
sophistication of MySQL as the database
backend with the dynamic capabilities of
Python. This amalgamation results in a
comprehensive system that caters to both
administrative and user functionalities,
streamlining processes related to account
management, feedback collection, and loan
tracking.

Evolution of Management Systems using


Python and MySQL Connector
The evolution of management systems,
especially in the banking sector, has witnessed
a paradigm shift with the advent of powerful
programming languages like Python and robust
database management systems such as
MySQL. Python, recognized for its simplicity,
readability, and versatility, serves as the ideal
frontend language for developing user-friendly
interfaces. MySQL, on the other
hand, provides a reliable and scalable database
solution, ensuring the secure storage and
retrieval of crucial banking information.
The integration of these technologies facilitates
a seamless flow of data, enabling real-time
interactions between users and the banking
system. The dynamic connectivity offered by the
MySQL Python Connector ensures efficient
communication between the Python application
and the MySQL database.
Purpose of the Bank Management System
The Bank Management System project aims to
address several key challenges in traditional
banking operations. By leveraging Python's
intuitive programming features and MySQL's
robust data management capabilities, the
system provides an agile and user-centric
platform for both customers and administrators.

User Functions:
•Add Account: Users can easily open new
accounts by providing essential details,
streamlining the account creation process.
•View Balance: Account holders can check their
account balance in real-time, fostering
transparency and financial awareness.
•Give Feedback: The system facilitates a
channel for users to provide feedback, ensuring
continuous improvement based on user input.
•View Transaction History: Users have access to
their transaction history, aiding in financial
record-keeping and reconciliation.
Admin Functions
•Add New Accounts: Administrators can add
new accounts to the system, streamlining the
process of on boarding new customers.
•View Loan Details: Admin have access to
comprehensive loan details, enabling effective
management and decision-making.
•Update Loan Status: The system empowers
administrators to update the status of loans,
tracking repayments and ensuring accurate
record-keeping.
•View Loan Defaulters: Admin can identify and
view details of customers who have defaulted
on loan payments for a specified period.
•View User Feedback: The system consolidates
user feedback, providing valuable insights into
user experiences and concerns.
DESCRIPTION
This Project is a standard paper
which would help the students to
be prepared for their Computer
Science Examinations. Python
statements are used here which
makes it is easy for everybody to
understand. After the completion
of the test the students are given
their respective marks according
to their performance in the test. It
is notable that all questions are
integer type which would help the
students in performing better in
their competitive examination.

Source Code
# Sample Bank Management System

class BankAccount:
def __init__(self, name, balance=0):
self.name = name
self.balance = balance

def deposit(self, amount):


if amount > 0:
self.balance += amount
print(f"₹{amount} deposited successfully!")
else:
print("Invalid deposit amount")

def withdraw(self, amount):


if 0 < amount <= self.balance:
self.balance -= amount
print(f"₹{amount} withdrawn successfully!")
else:
print("Insufficient balance or invalid amount")

def view_balance(self):
print(f"{self.name}, your balance is ₹{self.balance}")

class BankManagementSystem:
def __init__(self):
self.accounts = {}

def add_account(self, name):


if name not in self.accounts:
self.accounts[name] = BankAccount(name)
print(f"Account for {name} created successfully!")
else:
print(f"Account for {name} already exists!")

def view_account_balance(self, name):


if name in self.accounts:
self.accounts[name].view_balance()
else:
print(f"No account found for {name}")

def deposit_to_account(self, name, amount):


if name in self.accounts:
self.accounts[name].deposit(amount)
else:
print(f"No account found for {name}")

def withdraw_from_account(self, name, amount):


if name in self.accounts:
self.accounts[name].withdraw(amount)
else:
print(f"No account found for {name}")

# Main menu
def main_menu():
bms = BankManagementSystem()

while True:
print("\n--- Bank Management System ---")
print("1. Add Account")
print("2. View Account Balance")
print("3. Deposit Money")
print("4. Withdraw Money")
print("5. Exit")

choice = input("Enter your choice (1-5): ")


if choice == "1":
name = input("Enter account holder's name: ")
bms.add_account(name)
elif choice == "2":
name = input("Enter account holder's name: ")
bms.view_account_balance(name)
elif choice == "3":
name = input("Enter account holder's name: ")
amount = float(input("Enter amount to deposit: ₹"))
bms.deposit_to_account(name, amount)
elif choice == "4":
name = input("Enter account holder's name: ")
amount = float(input("Enter amount to withdraw: ₹"))
bms.withdraw_from_account(name, amount)
elif choice == "5":
print("Exiting the system. Thank you!")
break
else:
print("Invalid choice! Please choose between 1-5.")

# Running the main menu


if __name__ == "__main__":
main_menu()
Program
Shots
O
UTPUT
BIBLIOGRAPHY
● https://www.geeksforgeeks.org
● Computer Science with
Sumitha Arora , Preethi Arora.

You might also like