0% found this document useful (0 votes)
9 views25 pages

Bank Management System Overview

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)
9 views25 pages

Bank Management System Overview

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

INDEX

[Link] Title Page no


1. Certificate
2. Acknowledgement
3. Bank Management System
4. Source Code
5. Output
6. SQL Tables
7. Bibliography
Bank Management System

The Bank Management System (BMS) is a web-based application used


for paying financial institutions for the services they provide to the
Bureau of the Fiscal Service. BMS also provides analytical tools to
review, and approve compensation, budgets, and outflows.
Bank Management System is used for solving financial applications of a
customer in banking environment in order to nurture the needs of an
end banking user by providing various ways to perform banking tasks.
Also to enable the user’s workspace to have additional functionalities
which are not provided under a conventional banking project.

The objective of a bank management system is to efficiently and


effectively manage various banking operations, processes, and
resources to ensure smooth functioning of the bank while providing
excellent services to customers.
Some key objectives include:
 Customer Service: Ensuring customer satisfaction by providing
convenient and reliable banking services, including account
management, transactions, loans, and customer support.
 Risk Management: Identifying, assessing, and mitigating various
risks such as credit risk, operational risk, market risk, and
compliance risk to safeguard the bank's assets and reputation.
 Operational Efficiency: Streamlining processes and utilizing
resources effectively to optimize operational efficiency, reduce
costs, and improve profitability.
 Information Security: Implementing robust security measures to
protect sensitive customer information, prevent fraud, and ensure
data integrity and confidentiality.
 Strategic Planning: Developing and implementing strategic plans
to achieve long-term goals, such as expanding market presence,
increasing profitability, and enhancing competitiveness.
 Technology Integration: Leveraging technology and innovative
solutions to automate processes, enhance customer experience,
and stay competitive in the digital banking landscape.
 Financial Performance: Maximizing financial performance by
managing assets and liabilities effectively, optimizing revenue
streams, and controlling expenses.
Source code
1)[Link]
This is for creating database and table.
import [Link] as sql

conn = [Link](host='localhost', user='root',


passwd='who1are2you3', database='bank')
if conn.is_connected():
print('Connected successfully to the database')

cur = [Link]()

[Link]('''
CREATE TABLE IF NOT EXISTS customer_details (
account_no INT PRIMARY KEY,
account_name VARCHAR(25),
phone_no INT,
address VARCHAR(50),
gender VARCHAR(10),
age INT,
credit_amount FLOAT
)
''')
2)[Link]
This is for employee login
import [Link] as sql

conn = [Link](host='localhost', user='root',


passwd='who1are2you3', database='bank')
cur = [Link]()

print("--- USER AUTHENTICATION ---")


print("1. Register")
print("2. Login")
choice = int(input("Enter your choice: "))

if choice == 1:
username = input("Enter a Username: ").strip()
password = input("Enter a Password: ").strip()

[Link]('''CREATE TABLE IF NOT EXISTS


user_table (
username VARCHAR(25) PRIMARY KEY,
password VARCHAR(25) NOT NULL
)''')

try:
[Link]("INSERT INTO user_table (username,
password) VALUES (%s, %s)", (username, password))
[Link]()
print("User Registered Successfully!")
except [Link]:
print("Username already exists. Please try
another one.")

elif choice == 2:
username = input("Enter Your Username: ").strip()
password = input("Enter Your Password: ").strip()

[Link]("SELECT * FROM user_table WHERE


username = %s AND password = %s", (username, password))
user = [Link]()

if user is None:
print("Invalid Username or Password")
else:
print("Login Successful!")
import menu1

else:
print("Invalid Choice. Exiting...")
3)[Link]
This is the main program which contains all functions of the Bank
Management System. It contains functions such as Adding, Deleting,
Editing and Transaction.

import [Link] as sql

conn = [Link](host='localhost', user='root',


passwd='who1are2you3', database='bank')
cur = [Link]()
[Link] = True

while True:
print("\n--- BANK MENU ---")
print("1. Create Bank Account")
print("2. Transaction")
print("3. Customer Details")
print("4. Transaction Details")
print("5. Edit Account Details")
print("6. Delete Account")
print("7. Quit")

choice = int(input("Enter your choice: "))

if choice == 1:
account_no = int(input("Enter your Account
Number: "))
account_name = input("Enter your Account Name:
")
phone_no = int(input("Enter your Phone Number:
"))
address = input("Enter your Address: ")
gender = input("Enter your Gender: ")
age = int(input("Enter your Age: "))
credit_amount = float(input("Enter your Credit
Amount: "))

query = f"INSERT INTO customer_details VALUES


({account_no}, '{account_name}', {phone_no},
'{address}', '{gender}', {age}, {credit_amount})"
[Link](query)
print("Account Created Successfully!")

elif choice == 2:
account_no = int(input("Enter Your Account
Number: "))
[Link](f"SELECT * FROM customer_details
WHERE account_no = {account_no}")
account_data = [Link]()

if account_data is None:
print("Invalid Account Number. Try Again.")
else:
print("1. Withdraw Amount")
print("2. Add Amount")
transaction_choice = int(input("Enter your
choice: "))

if transaction_choice == 1:
amount1 = float(input("Enter Withdrawal
Amount: "))
[Link](f"UPDATE customer_details
SET credit_amount = credit_amount - {amount1} WHERE
account_no = {account_no}")
print("Amount Withdrawn Successfully!")

elif transaction_choice == 2:
amount2 = float(input("Enter Amount to
Add: "))
[Link](f"UPDATE customer_details
SET credit_amount = credit_amount + {amount2} WHERE
account_no = {account_no}")
print("Amount Added Successfully!")

elif choice == 3:
account_no = int(input("Enter Your Account
Number: "))
[Link](f"SELECT * FROM customer_details
WHERE account_no = {account_no}")
account_data = [Link]()

if account_data is None:
print("Invalid Account Number")
else:
print(f"\nAccount Number:
{account_data[0]}\nAccount Name: {account_data[1]}\
nPhone Number: {account_data[2]}\nAddress:
{account_data[3]}\nGender: {account_data[4]}\nAge:
{account_data[5]}\nCredit Amount: {account_data[6]}")

elif choice == 4:
try:
account_no = int(input("Enter Your
Account Number: "))
[Link](f"SELECT * FROM
customer_details WHERE account_no = {account_no}")
account_data = [Link]()
if account_data is None:
print("Invalid Account Number")
else:
print("Amount added :",amount2)
print("Amount Withdrawn :",amount1
except:
print()
elif choice == 5:
account_no = int(input("Enter Your Account
Number to Edit: "))
[Link](f"SELECT * FROM customer_details
WHERE account_no = {account_no}")
account_data = [Link]()
if account_data is None:
print("Invalid Account Number")
else:
print("1. Edit Account Name")
print("2. Edit Phone Number")
print("3. Edit Address")
print("4. Edit Gender")
print("5. Edit Age")
edit_choice = int(input("Enter your choice:
"))

if edit_choice == 1:
new_name = input("Enter New Account
Name: ")
[Link](f"UPDATE customer_details
SET account_name = '{new_name}' WHERE account_no =
{account_no}")
elif edit_choice == 2:
new_phone = int(input("Enter New Phone
Number: "))
[Link](f"UPDATE customer_details
SET phone_no = {new_phone} WHERE account_no =
{account_no}")
elif edit_choice == 3:
new_address = input("Enter New Address:
")
[Link](f"UPDATE customer_details
SET address = '{new_address}' WHERE account_no =
{account_no}")
elif edit_choice == 4:
new_gender = input("Enter New Gender:
")
[Link](f"UPDATE customer_details
SET gender = '{new_gender}' WHERE account_no =
{account_no}")
elif edit_choice == 5:
new_age = int(input("Enter New Age: "))
[Link](f"UPDATE customer_details
SET age = {new_age} WHERE account_no = {account_no}")

print("Account Details Updated


Successfully!")

elif choice == 6:
account_no = int(input("Enter Your Account
Number to Delete: "))
[Link](f"DELETE FROM customer_details
WHERE account_no = {account_no}")
print("Account Deleted Successfully!")

elif choice == 7:
print("Thank you for using the banking system.
Goodbye!")
break

else:
print("Invalid Choice. Try Again.")
Output
--- USER AUTHENTICATION ---
1. Register
2. Login
Enter your choice: 2
Enter Your Username: Abhi123
Enter Your Password: 12345
Login Successful!

Creating Accounts:

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 1
Enter your Account Number: 101
Enter your Account Name: Abhijeet
Enter your Phone Number: 2345678901
Enter your Address: Ghaziabad
Enter your Gender: M
Enter your Age: 27
Enter your Credit Amount: 85000
Account Created Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 1
Enter your Account Number: 102
Enter your Account Name: Aarya
Enter your Phone Number: 9999999900
Enter your Address: Delhi
Enter your Gender: M
Enter your Age: 25
Enter your Credit Amount: 785000
Account Created Successfully!
--- BANK MENU ---
1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 1
Enter your Account Number: 103
Enter your Account Name: Vanshika
Enter your Phone Number: 2580258025
Enter your Address: Jaipur
Enter your Gender: F
Enter your Age: 22
Enter your Credit Amount: 50000
Account Created Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 1
Enter your Account Number: 104
Enter your Account Name: Gargi
Enter your Phone Number: 1234567890
Enter your Address: Mumbai
Enter your Gender: F
Enter your Age: 45
Enter your Credit Amount: 900000
Account Created Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 1
Enter your Account Number: 105
Enter your Account Name: Raghav
Enter your Phone Number: 2316547895
Enter your Address: Delhi
Enter your Gender: M
Enter your Age: 22
Enter your Credit Amount: 10000
Account Created Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 3
Enter Your Account Number: 103

Account Number: 103


Account Name: Vanshika
Phone Number: 2580258025
Address: Jaipur
Gender: F
Age: 22
Credit Amount: 50000.0

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 2
Enter Your Account Number: 10
Invalid Account Number. Try Again.

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 2
Enter Your Account Number: 101
1. Withdraw Amount
2. Add Amount
Enter your choice: 1
Enter Withdrawal Amount: 50000
Amount Withdrawn Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 2
Enter Your Account Number: 104
1. Withdraw Amount
2. Add Amount
Enter your choice: 2
Enter Amount to Add: 750000
Amount Added Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 5
Enter Your Account Number to Edit: 102
1. Edit Account Name
2. Edit Phone Number
3. Edit Address
4. Edit Gender
5. Edit Age
Enter your choice: 3
Enter New Address: New York
Account Details Updated Successfully!

--- BANK MENU ---


1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 6
Enter Your Account Number to Delete: 105
Account Deleted Successfully!
--- BANK MENU ---
1. Create Bank Account
2. Transaction
3. Customer Details
4. Transaction Details
5. Edit Account Details
6. Delete Account
7. Quit
Enter your choice: 4
Enter Your Account Number:101
Amount Withdrawn :50000
SQL TABLES
[Link] before transaction:-

[Link] after transaction:-


[Link] after editing:-

[Link] after Deletion:-


Acknowedgement

I would like to express my heartfelt gratitude to all those who contributed to the
successful completion of my project, "Bank Management System."
First and foremost, I am deeply thankful to my Computer Science teacher, Ms
Venkatalakshmi , for their invaluable guidance, encouragement, and support
throughout the project. Their expertise and insights have been instrumental in
shaping this work.
I am also grateful to my school, Ryan International School for providing me with
the necessary resources and infrastructure to complete this project effectively.
A special thanks to my parents and friends for their unwavering support and
encouragement during this endeavor.
This project has not only enhanced my technical skills in Python and SQL but has
also given me a deeper understanding of real-world banking operations and the
importance of database management.
Finally, I extend my gratitude to everyone who directly or indirectly supported me
in completing this project.

Common questions

Powered by AI

User authentication in the BMS follows a registration and login process where users enter a username and password. The system checks these credentials against stored values in the user_table. Security measures include error messages upon incorrect entries to prevent unauthorized access and a concealed password input field to protect sensitive information during the login process .

The transaction handling capabilities of the BMS include allowing users to perform withdrawals and deposits through a secure authentication process. Users can view their account information and update their credit amounts accordingly. The system updates the customer_details table with new credit balances after transactions, ensuring transaction integrity and real-time updates for accurate account management .

The BMS facilitates the creation and management of customer accounts by providing a streamlined interface for inputting and storing customer details such as account numbers, names, contact information, and credit amounts. It allows easy access for updating or deleting accounts and provides functionalities for processing transactions directly through a user-friendly menu-driven system .

The BMS ensures effective risk management by identifying, assessing, and mitigating various types of risks such as credit risk, operational risk, market risk, and compliance risk. It implements strategies to safeguard the bank's assets and reputation, which might include robust security protocols, compliance checks, and risk assessment models to manage potential and real threats to the bank's financial stability and operations .

Operational efficiency in the Bank Management System is achieved by streamlining processes and effectively utilizing resources to optimize operations, reduce costs, and improve profitability. This includes automating transactions, using data analytics for decision-making, and enhancing workflow processes to minimize manual interventions and errors .

Strategic planning within a Bank Management System involves developing and implementing plans to achieve long-term goals. These goals include expanding market presence, increasing profitability, enhancing competitiveness, and improving customer service. By aligning operational objectives with these strategic goals, banks can ensure sustained growth and adaptation to market changes .

Information security is of paramount importance in the Bank Management System to protect sensitive customer information, prevent fraud, and ensure data integrity and confidentiality. Robust security measures, such as encryption and authentication protocols, are essential to defend against cyber threats and data breaches, safeguarding both the bank's reputation and customer trust .

Technology integration in the Bank Management System is critical as it leverages innovative solutions to automate processes and enhance customer experiences. This can include implementing advanced analytics, online banking solutions, and mobile platforms to stay competitive in the digital landscape. It allows for real-time transaction processing, improved data management, and enhanced security measures, thus optimizing operational efficiency and expanding market presence .

The setup.py script in the BMS infrastructure is responsible for database and table creation. It connects to the MySQL database and executes SQL commands to establish the customer_details table, which stores essential customer information such as account number, account name, phone number, address, gender, age, and credit amount .

The Bank Management System (BMS) enhances customer service by providing convenient and reliable banking services, including account management, facilitating transactions, and offering customer support. It strives to ensure customer satisfaction by streamlining processes that allow customers to efficiently manage their financial activities. This is achieved through integrated technology solutions that deliver seamless user experiences and functionalities not found in conventional banking systems .

You might also like