Cs Project Rishabh

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 23

Velammal vidhyashram

Mambakkam

ALL INDIA SENIOR SCHOOL


CERTIFICATE EXAMINATION
Computer science
INVESTIGATORY PROJECT REPORT
2022 – 2023

NAME: Rishabh
Grade: 12
Section: F
Roll No:
Group: CS-MATHS

BONAFIDE
CERTIFICATE
This is to certify that this COMPUTER Investigatory Project on the
topic ………………………………………………………………………………. has
been successfully completed by ………………………………………… of
class XII(BIOLOGY/COMPUTERSCIENCE), Roll.no……………………..
at Velammal Vidhyashram, Mambakkam for the partial fulfilment
of this project as a part of All India Senior School Certificate
Examination-CBSE, New Delhi for the academic Year 2021– 2022.

Date: …………………….

Signature of Principal Signature of guide


Name: Mrs. Jalpa Shreyas Shah Name: Ms Dany
Jose

Submitted for AISSCE 2020-2021, COMPUTER SCIENCE


Practical examination on ………………….

Signature Of Signature Of
Internal Examiner External
Examiner
ACKNOWLEDGEMENT

The success of any project depends largely on people associated


with it. We would like to take this opportunity to acknowledge the
enthusiasm of all these personalities.

We hereby express our heartfelt thanks to our Senior Principal


Mrs. JALPA SHREYAS SHAH for having given this opportunity to
do the project in the computer science laboratory and for his
constant encouragement.

We extend our sincere gratitude to acknowledge our sense of


gratitude to our computer science teacher Ms. DANI JOSE for the
valuable guidance offered to us. Her whole-hearted
encouragement and constant stimulant inspiration and advice
enabled us to complete the project successfully.

We are also thankful to all our teachers and Non-Teachers for


their help during our course of study.

We take this opportunity to express our sincere thanks to our


parents for their encouragement and support.
CONTENTS
1.Introduction

2.Objectives Of The Project

3.Proposed System

4.System Development Life Cycle(SDLC)

5.Phases Of ( SDLC )

6.Flow Chart

7.Source Code

8.Output

10.Hardware and software requirements

11.Bibliogrpahy
HOSPITAL MANAGEMENT
SYSTEM

INTRODUCTION

The Hospital Management System (HMS) is designed for Any


Hospital to replace their existing manual, paper-based system. This
System targets to provide a complete solution for Hospital and
Health care services. This System can be used in any Hospital,
Clinic, Diagnostics, or Pathology lab for maintaining patient details
and their test results. It Integrates the entire Resources of a
Hospital into One Integrated Software Application.

OBJECTIVES OF THE PROJECT

The objective of this project is to let the students apply the


programming knowledge to a real-world situation/problem and
exposed the students to how programming skills help in developing
good software.

1. Write programs utilizing modern software tools.

2. Apply object-oriented programming principles effectively


when developing small to medium-sized projects.
3. Write effective procedural code to solve small to medium-sized
problems.

4. Students will demonstrate a breadth of knowledge in computer


science, as exemplified in the areas of systems, theory, and software
development.

5. Students will demonstrate the ability to conduct research or


applied Computer Science projects, requiring writing and
presentation skills that exemplify scholarly style in computer
science.

PROPOSED SYSTEM

Today one cannot afford to rely on the fallible human beings of be


wants to stand against today’s merciless competition were not too
wise saying “to err is human” is no longer valid, it’s outdated to
rationalize your mistake. So, to keep pace with time, to bring about
the best result without malfunctioning and greater efficiency so to
replace the unending heaps of flies with a much-sophisticated hard
disk of the computer.

One must use data management software. The software has been
an ascent in the atomization of various organisations. Many
software products working are now in the markets, which have
helped in making the organizations work easier and more
efficiently. Data management initially had to maintain a lot of
ledgers and a lot of paperwork has to be done but now software
product in this organization has made their work faster and easier.
Now only this software has to be loaded on the computer and work
can be done.

This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be
obtained by clicking the button. Moreover, now it’s an age of
computers, and automating such an organization gives the better
look.

SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)


The systems development life cycle is a project
management technique that divides complex projects
into smaller, more easily managed segments or phases.
Segmenting projects allows managers to verify the
successful completion of project phases before allocating
resources to subsequent phases.

Software development projects typically include


initiation, planning, design, development, testing,
implementation, and maintenance phases.

However, the phases may be divided differently


depending on the organization involved.

For example, initial project activities might be


designated as request, requirements-definition, and
planning phases, or initiation, concept-development, and
planning phases.
End users of the system under development should
be involved in reviewing the output of each phase to
ensure the system is being built to deliver the needed
functionality.

PHASES OF SDLC
FLOW CHART

PYTHON -MYSQL CONNECTING

SOFTWARE LOGIN WITH USER NAME AND

PASSWORD

ASKS USER TO ENTER HIS CHOICE


YOUR NEED WILL BE FULFILLED BY
PYTHON BY INTERACTING WITH MYSQL
i.e registering-stored in database getting
information-get from database

Again 1st page will be opened to fulfil the need


of the user

What is Python?

Python is a computer programming language often used to build


websites and software, automate tasks, and conduct data analysis.
Python is a general-purpose language, meaning it can be used to
create a variety of different programs and isn’t specialized for any
specific problems. This versatility, along with its beginner-
friendliness, has made it one of the most-used programming
languages today.
What is MySQL?

MySQL is a relational database management system (RDBMS)


developed by Oracle that is based on structured query language
(SQL).

A database is a structured collection of data. It may be anything


from a simple shopping list to a picture gallery or a place to hold
the vast amounts of information in a corporate network. In
particular, a relational database is a digital store collecting data and
organizing it according to the relational model. In this model,
tables consist of rows and columns, and relationships between data
elements all follow a strict logical structure. An RDBMS is simply
the set of software tools used to actually implement, manage, and
query such a database.

SOURCE CODE

from sys import exit


import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='dbase',
database='hospital_management')
if conn.is_connected():
print('successfully connected')
c1=conn.cursor()
print('---------------------------------------------')
print("HOSPITAL MANAGEMENT SYSTEM")
print('---------------------------------------------')
print('"GOD WISHES YOU"')
print("1.LOGIN")
print("2.EXIT")
choice=int(input("ENTER YOUR CHOICE:"))
if choice==1:
u1=input("enter user name:")
pwd1=input("enter the password:")
while u1=='Rishabh' and pwd1=='rishabh_2005':
print('connected')

print("WELCOME TO HOSPITAL")
print("successfully connected")
print('1.RegisteringPatient details')
print('2.RegisteringDoctor details')
print('3.RegisteringWorker details')
print("4.total patient details")
print("5.total doctor details")
print("6.total worker details")
print('7.Patient detail')
print('8.Doctor detail')
print('9.Worker detail')
print('10.Exit')
choice=int(input('ENTER YOUR CHOICE:'))
if choice==1:
p_name=input('Enter Patient Name:')
p_age=int(input('Enter Age:'))
p_problems=input('Enter the Problem/Disease:')
p_phono=int(input('Enter Phone number:'))
p_sex=input('Enter the sex:')
sql_insert="insert into patient_details
values(""'"+p_name+"',"+str(p_age)+",'"+p_problems+"',"+str(
p_phono)+",'"+p_sex+"')"
c1.execute(sql_insert)
print('SUCCESSFULLY REGISTERED')
conn.commit()

elif choice==2:
d_name=input('Enter Doctor Name:')
d_age=int(input('Enter Age:'))
d_department=input('Enter the Department:')
d_phono=int(input('Enter Phone number:'))
d_sex=input('Enter the sex:')
sql_insert="insert into doctor_details
values(""'"+d_name+"',"+str(d_age)+",'"+d_department+"',"+s
tr(d_phono)+",'"+d_sex+"')"
c1.execute(sql_insert)
print('successfully registered')
conn.commit()

elif choice==3:
w_name=input('Enter Worker Name:')
w_age=int(input('Enter Age:'))
w_workname=input('Enter type of work:')
w_phono=int(input('Enter Phone number:'))
sql_insert="insert into worker_details
values(""'"+w_name+"',"+str(w_age)+",'"+w_workname+"',"+
str(w_phono)+")"
c1.execute(sql_insert)
print('successfully registered')
conn.commit()
elif choice==4:
sql_w='select*from patient_details '
c1.execute(sql_w)
r = c1.fetchall()
for i in r :
print(i)

elif choice==5:
sql_x="select*from doctor_details"
c1.execute(sql_x)
s=c1.fetchall()
for i in s:
print(i)

elif choice==6:
sql_y="select*from worker_details"
c1.execute(sql_y)
t=c1.fetchall()
for i in t:
print(i)

elif choice==7:
h=input("Enter the name:")
sql_w='select*from patient_details where
p_name=("{}")'.format(h)
c1.execute(sql_w)
u = c1.fetchall()
for i in u:
print(i)

elif choice==8:
d=input("Enter the name:")
sql_d='select*from doctor_details where
d_name=("{}")'.format(d)
c1.execute(sql_d)
v=c1.fetchall()
for i in v:
print(i)

elif choice==9:
f=input("Enter the name:")
sql_f='select*from worker_details where
w_name=("{}")'.format(f)
c1.execute(sql_f)
w=c1.fetchall()
for i in w:
print(i)

elif choice==10:
exit()
break
else:
print('wrong username&password')
if choice==2:
exit

TABLES SQL
SAMPLE OUTPUTS
#Now let’s see the patient_details table
BIBLIOPGRAPHY

1)https://www.seminarsonly.com/EngineeringProjects/
Computer/Hospital_Management_system.php

2) https://mscw.ac.in/NAAC/Criteria1/Samples-of-
ProjectWork_Fieldwork/Computer_Science/
software_Engineering/
Software%20Engineering/Hospital%20Managment%20Project
%20
SE-converted.pdf

3) https://cse.final-year-projects.in/t/hospital

4)https://projectabstracts.com/list-of-hospital-management-
systemprojects

5)https://projectworlds.in/product-category/python-projects/

6) https://pythonworld.in/practical-project/project-list/

You might also like