Project Format - Computer
Project Format - Computer
CLASS : XII
Submitted By
BALAMURUGAN A
(Reg No…………….)
1
DECLARATION
2
Maharishi Vidya Mandir Senior Secondary School, Coimbatore.
BONAFIDE CERTIFICATE
Place: Coimbatore
Date: Project Guide
Internal Examiner
Principal:
3
ACKNOWLEDGEMENT
I thank almighty, without whose grace, my work would not have been completed.
I would like to express my sincere gratitude to Mrs. Anila Vinod, PGT Computer
Science, Department of Science for her valuable guidance and kind advice,
encouragement and creative suggestion at every stage of this project work, without her
advice this project would have been incomplete.
I also extend my sincere thanks to all faculty members of the department for their
appropriate suggestions and sustained cooperation.
Eventually, I express my heartfelt thanks to my beloved parents for their blessings and
continued support & encouragement in fulfilling this project.
4
CONTENTS
2 System Requirements
3 MySQL – Tables
4 Project Coding
5 Output
6 Bibliography
5
INTRODUCTION
This project showcases how Python, a powerful and versatile programming language, can be
integrated with MySQL, a popular relational database management system, to create a basic data
management system. The project exemplifies practical skills in database connectivity, management,
and data handling.
In today’s world, data is a vital asset, and its efficient storage, retrieval, and management are crucial.
This project aims to give students hands-on experience with these concepts by building a system
capable of managing bakery-related data. Using Python, the project connects to a MySQL database
to perform essential operations, such as adding and viewing customers and products. Through this,
students gain valuable insights into how backend databases function in real-world applications.
The project is organized into multiple Python classes that manage different aspects of a bakery’s
database, such as customer details and product information. By utilizing modular code design, the
project ensures that each part of the program can function independently, making it easier to
understand and maintain. The integration with MySQL enables real-time data storage and retrieval,
emphasizing the importance of database management skills in application development.
This project provides a solid foundation in database principles, making it a valuable learning tool for
students preparing for higher studies or careers in technology. It also highlights the importance of
using programming for real-world solutions, connecting theory to practical application. Through this
project, students will better understand database connectivity, data management, and programming
logic, all of which are essential components of modern computing.
The key features of the project include
1. Database Management
● Creates and manages a MySQL database with necessary tables for storing patient, doctor,
nurse, worker, and user information.
2. User Authentication
3. Admin Functions
● View Records: Admins can view details of doctors, nurses, and workers through a structured
table display.
● Add Members: Admins can add new doctors, nurses, and workers to the database.
● Delete Members: Admins can remove existing staff members from the database.
4. Patient Management
6
● View Patient Records: Admins can view the list of admitted patients.
● Admit Patients: Allows the admission of new patients with details like name, phone number,
age, doctor assigned, and date of admission.
● Discharge Patients: Admins can discharge patients and remove their records from the
database
5. Data Validation
● Ensures unique entries for critical fields (like phone numbers) to prevent duplicates.
6. User-Friendly Interface
● Interactive console interface that guides users through various options and tasks.
7. Error Handling
● Comprehensive error handling for database operations to provide feedback on issues (e.g.,
duplicate entries, connection errors).
7
SYSTEM REQUIREMENTS:
i) Windows version 22H2
ii) Processor: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz 2.70
GHz
iii) Frontend software : Python 3.12.6
iv) Backend software: mysql Ver 8.0.39
8
MYSQL TABLES:
Database - abmhospital
Show tables;
9
Table – Doctors:
Table – Nurses:
10
Table –Workers:
11
Table –Patients:
12
Table –Users:
13
PROJECT CODE
14
15
16
17
OUTPUT
Main Page
Sign Up
18
Login
Password Change
19
Add new doctor
20
Add new nurse
21
Add new worker
22
Show details of nurses
23
Delete doctor
24
Delete nurse
25
Delete worker
26
Add Patients
27
Show details of patients
28
Exit Patient
Sign out
29