DHANUSH V OF 12-B COMPUTER SCIENCE PROJECT
DHANUSH V OF 12-B COMPUTER SCIENCE PROJECT
1 Abstract 2
2 System configuration 3
3 Introduction 4
4 Mysql 5
6 Proposed system 7
12 Source code 13
13 Output 16
14 Bibliography 18
Page 1
ABSTRACT
Page 2
SYSTEM CONFIGURATION
1. Software Requirements
Database: MySQL
2. Hardware Requirements
RAM: 4 GB minimum
Page 3
INTRODUCTION
In the modern era, the banking sector plays a crucial role in the
economic development of any country. To meet the increasing
demands for fast, secure, and efficient services, banks rely
heavily on computerized systems. A Bank Management
System is a software application designed to manage the day-
to-day operations of a bank. It handles tasks such as managing
customer accounts, processing transactions, maintaining
records, and overseeing loans and deposits.
Page 4
MYSQL
Page 6
PROPOSED SYSTEM
Page 7
SYSTEM DEVELOPMENT LIFE CYCLE
Page 8
PHASES OF SYSTEM DEVELOPMENT LIFE CYCLE
INITIATION PHASE
Page 10
INTEGRATION AND TEST PHASE
Page 11
Source code
import os
def create_account():
acc_number = input("Enter account number: ")
name = input("Enter account holder name: ")
balance = float(input("Enter initial deposit amount: "))
def view_accounts():
if not os.path.exists(BANK_FILE):
print("No accounts found.")
return
def search_account(acc_number):
if not os.path.exists(BANK_FILE):
return None
def deposit():
acc_number = input("Enter account number: ")
account = search_account(acc_number)
if account:
amount = float(input("Enter amount to deposit: "))
account[2] += amount
update_account(account)
print(f"₹{amount} deposited successfully!")
else:
print("Account not found.")
def withdraw():
acc_number = input("Enter account number: ")
account = search_account(acc_number)
if account:
amount = float(input("Enter amount to withdraw: "))
if amount <= account[2]:
account[2] -= amount
update_account(account)
print(f"₹{amount} withdrawn successfully!")
else:
print("Insufficient balance.")
else:
Page 13
print("Account not found.")
def main():
while True:
print("\n===== Bank Management System =====")
print("1. Create Account")
print("2. View All Accounts")
print("3. Deposit")
print("4. Withdraw")
print("5. Exit")
choice = input("Enter your choice (1-5): ")
if choice == '1':
create_account()
elif choice == '2':
view_accounts()
elif choice == '3':
deposit()
elif choice == '4':
withdraw()
elif choice == '5':
print("Exiting system. Goodbye!")
break
else:
print("Invalid choice. Try again.")
if __name__ == "__main__":
main()
Page 14
OUTPUT
Page 15
Page 16
BIBLIOGRAPHY
Page 17