Document From Yogeshpy
Document From Yogeshpy
(CBSE)
Svakasi
(AffiliationNo.1930813)
ACADEMICSESSION: 2023-24
PROJECTREPORT
SUBMITTEDBY
CERTIFICATE
regulations ofCBSE for the purpose of AISSCE Practical Examination 2023 - 2024
WARAN.K.
ExternalExaminer: InternalExaminer:
NAME: NAME:
SIGNATURE: SIGNATURE:
M. V.
SIVASAN
KARI
M.A.,
B.Ed.,
(Princip
al)
ACKNOWLEDGEMENT
NAME:YOGESH WARAN.K
CLASS: XI
INDEX
1. Introduction 5
2. ManualSystem 11
3. ProposedSystem 12
4. IntroductionoftheProject 13
5. Moduleusedinthisproject 17
6. SystemDevelopmentLifeCycle[SDLC] 18
7. SourceCode 25
8. Output(Screenshots) 34
9. SystemTesting&Maintenance 37
10. SystemRequirements 38
11. Conclusion 39
12. Bibliography 40
INTRODUCTION TO PYTHON
1
Python is an interpreter, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding ;make it very attractive for
Rapid Application Development, as well as for use as a scripting language to connect existing components together. Python's simple and easy to learn syntax
emphasizesreadabilityandthereforereducesthecostofprogrammaintenance.Pythonsupports modules and packages, which encourages program modularity and code reuse. The Python
interpreterandtheextensivestandardlibraryareavailableinsourceorbinaryformwithoutcharge for all major platforms, and can be freely distributed.
Easy to code: Python is a high-level programming language and it is very easy to code. A It is also a developer-friendly language.
Free and Open Source: Python is freely available. You can download it from the Python Official Website. Secondly, it is open-source. This means that its source code is available to the public. You can download
it, change it, use it, and distribute it.
Object-Oriented Language: One of the key features of python is Object-Oriented programming. Python supports object-oriented language and concepts of classes, objects, modularizationetc.
Interfaces can be made using a module such as PyQt5, PyQt4, wx Python, or Tk in python.
High-Level Language Python is a high-level language. When we write programs in python, we do not need to remember the system architecture ,nor do we need tomanage the memory.
Extensible feature: If needed, you can write some of your Python code in other languages like C++. This makes Python an extensible language, meaning that it can be extended to other languages.
Python is Portable language: Python language is a also a portable language. For example,if we have python code for windows and if we want to run this code on other platforms such as Linux, Unix and Mac
then we do not need to change it ,we can run this code on any platform.
Python is Integrated language: Python an Intergrated language because we can easily integrated python with other languages like C,C++,etc.
Interpreted Language: Python is an Interpreted Language be cause Python code is executed line by line at a time. Like other languages C, C++, Java, etc. there is no need to compile entire python code, this
makes it easier to debug the code.
Large Standard Library: Python has a large standard library which provides a rich set of module and functions so you do not have to write your own code for every single thing. There are many libraries present in
python for such as regular expressions, web browsers, etc.
Dynamically Typed Language: Python is dynamically-typed. This means that the type ; for a value is decided at runtime, not in advance. This is why we don’t need to specify the type of data while declaring it.
INTRODUCTIONTO MySQL
A database is a collection of information related to a particular subject or purpose, such as tracking customer orders or maintaining a product collection. Usingany RDBMS application software
like MS SQL Server, My SQL, Oracle, Sybase etc., all information can be managed from a single database file. Within the file, data can be divided into separate storage containers called tables.
Data can be retrieved using queries.
A table is a collection of data about a specific topic, such as products or suppliers. Using a separate table for each topic means you can store that data only once, which makes your
database more efficient and reduces data-entry errors. Table organizes data into columns (called fields) and rows (called records).
A Primary key is one or more fields whose value or values uniquelyidentifyeachrecordin a table. In a relationship, a primary key is used to refer to specific record in one table from another
table. A foreign key is a column in a relational database table that provides a link betweendataintwotables.Itactsasacross-referencebetweentablesbecauseitreferences the primary key of
another table, thereby establishing a link betweenthem.
Role:
A computer database works as a electronicfiling system , which has a large number of ways of cross-referencing, and thisallowstheuser manydifferentwaysinwhichtore-organizeand retrieve
data. A database can handle business inventory, accounting and filing and use the informationinitsfilestopreparesummaries,estimatesandotherreports.Themanagementof
datainadatabasesystemisdonebymeansofageneral-purposesoftwarepackagecalleda Database Management System (DBMS). Some commercially available DBMS are MS SQL Server, MS
ACCESS, INGRES, ORACLE, and Sybase. A database management system, therefore, is a combinationofhardwareandsoftwarethatcanbeusedtosetupandmonitor a database, and can
manage the updating and retrieval of database that has been stored in it. Most of the database management systems have thefollowing capabilities:
Easytouse: MySQL is easyto use.Wehave to get onlythe basicknowledge of SQL. We can build and interact with
MySQL by using only a few simple SQL statements.
Secure:Itconsistsofasoliddatasecuritylayerthat protectssensitivedatafrom
intruders.Also,passwordsareencryptedinMySQL.
Client/ Server Architecture: It follows the working of a client/server architecture. There is a database server
(MySQL) and arbitrarily many clients (application programs),which communicate with the server; that is, they can
query data, save changes, etc.
Freetodownload: Itis free to use so that we candownloaditfrom MySQL official website without any cost.
Speed:It isconsidered tobeone of the veryfast database languages, backedbya large number of the benchmark test.
Memoryefficiency:It’sefficiencyishighbecauseithasaverylowmemoryleakage problem.
High Performance: It is faster, more reliable, and cheaper because of its unique storage engine architecture. It
provides very high-performance results in comparison tootherdatabaseswithout losingan essentialfunctionalityof the
software. Ithasfast loading utilities because of the different cache memory.
HighProductivity:MySQLusesTriggers,Storedprocedures,andviewsthatallowthe
developertogivehigherproductivity.
PlatformIndependent: It canbedownloaded, installed,andexecuted onmostof the available operating systems.
All conventional methods are in more use instead of new technologies. And now as everybody knows that
computer graphs at its extent means the more you can usecomputer system the more you can make your
work easier.
And if in this case system isnot computerized then ithastofacea lot of problemsbecause every task gets
Costly
Difficultyinsearchingtherecords
MaintenanceProblem
Timeconsuming
Tedious
PROPOSED SYSTEM
Proposed system is a system which is computerized in every manner. Computerized system is
not just adding machines but they are capable of doing much complex,tedious and cumbersome tasks.
Processing of data by hand is satisfactory only when the amount of data to beprocessed is small and
also the manual processing is slowing, monotonous & often subject to error.
Above explanation is clearly telling us that existing system contains a lot of deficiencies which can be
removed by only by following proposed system.
Nowadays, computer graph is at its extent. Computerization contains a lot of benefits so that everyone
chasing and following computerized items. Now, question arises whatkind of help this project or
computerized system can give to remove all disadvantages of this existing system.
INTRODUCTION TO PROJECT
A hospital is a health care institution providing patient treatment with specialized staff and equipment. Hospitals are usually funded by public sector, by
health organizations (for profit or non-profit), by health insurance companies, or by departments (e.g. , surgery, and urgent care etc). A hospital
management system is an information system that manages the aspects of a hospital. This may include the administrative, financial, and medical
processing. It is an integrated end-to-end Hospital Management System that provides relevant information across the hospital to support effective
decision making for patient care, hospital administration and critical financial accounting, in a seamless flow. This program can look after Inpatients, OPD
patients, records, database treatment, status illness, billing etc. it also maintains their hospital info such as ward id, Doctor in charge, Department
administering etc.
The project Hospital Management System includes registration of patients, storing their details into the system. The software has the facility to give a
unique id for every patient and stores the details of every patient and the staff automatically. It includes a search facility to know the current status of each
room. User can search availability of a doctor and the details of a patient using the id. The Hospital Management System can be entered using a username
and password. It is accessible either by an administrator or receptionist. Only they can add data into the database. The data can be retrievedeasily. The
interface is very user-friendly. The data are well protected for personal use and makes the data processing very fast. The purpose of the project entitled as
is to computerize the Front Office Management of Hospital to develop software which is user friendly, simple,fast,andcost-effective.Itdeals with the
collectionof patient’sinformation,diagnosisdetails,etc., and also to manipulate these details mea;ningfully. System input contains patient details, diagnosis
NEEDOFHOSPITALMANAGEMENT
1. Improvedpatientcare
2. BetterAdministrationControl
3. Fasterinformationflowbetweenvariousdepartments
4. SmartRevenue Management
ADVANTAGESOFHMS
Costs Reduction
Bettercollaboration&Communication
FLOWCHART
COMMANDED PROGRAMWILLBE
EXECUTEDINPYTHON IDLE .
ASTHEPYTHONAND MYSQLARE
CONNECTED THE COMMAND WILL
BE SENT TO MYSQL.
THE REQUIRED
DATA WILL BE
TAKEN FROMTHE DATABASE.
10
MODULESUSED IN THE
PROJECT
ADMIN
ADDPATIENTS
VIEWPATIENTSRECORD
VIEW OTHERWORKERS RECORD
DISCHARGEPATIENTS
ADDOTHERWORKERS RECORD
ADDDOCTOR
REMOVE DOCTOR
VIEWDOCTORSRECORD
SYSTEM DEVELOPMENT LIFE
CYCLE – SDLC
Every computer based system has a life cycle. System development starts when management or sometimes system development
personnel feel that a new system or an improvement in the existing system is required. The system development life cycle is classically
thought of as the set of activities that analysis, designers and user carry to develop and implement an information system.
StepsFollowinSystemDevelopmentLifeCycleis:
1. PreliminarySurveyorInvestigation.
2. FeasibilityStudy
3. SystemAnalysis
4. DesignofSoftware
5. Developmentofsoftware
6. SystemTesting
7. Implementationandevaluation
8. Maintenance
PreliminarySurvey
One of the most difficult tasks to the system analyst is identifying the real problem of the existing system.Without clear understanding of
the problem in the system, anyfurther work done will lead to wastage of effort at a later stage.
In Preliminary Survey the analyst get information about different source and find out whatare the objectives of designing the proposed system i.e. what
are requirement of designingof the new software. In this we identified what are the problems in current system to find out the drawback of current
system and find out what are the best system that full the requirement of the a particular Business Enterprises .
FeasibilityStudy
In this step we examine the feasibility of the proposed system. This involves the costs and benefits of the system.
Initially a rough cost benefit analysis will be sufficient for the top management to take a decision either in favor of
or against the proposed system.
Systemdesign
When the system analyst decides that the requested system is feasible and themanagement agrees to continue
the development process, the next phase of SDLC is determination of system requirements. This phase includes
studying of existing system in details and collecting data in order to find out the requirement of the users.
Implementation
In implementation, the designs are translated in to code. Computer programs are written using a conventional programming
language or an application generator. Programming tools like compilers, interpreters, debuggers are used to generate the code.
Different high level languages like python, C, C++, Pascal, Java are used for coding.
PICTORIAL REPRESENTATION OF SDLC
Planningphase
The planning phase is the most critical step in completing development, acquisition,and maintenance projects. Careful planning, particularly in the
early stages of a project, is necessary to coordinate activities and manage project risks effectively. The depth and formality of project plans should
be commensurate with the characteristics and risks of a given project. Project plans refine the information gathered during the initiation phase by
A critical part of a project manager’s job is to coordinate discussions between user, audit, security, design, development, and network personnel to
identify and document as many functional, security, and network requirements as possible. During this phase, a plan is developed that documents the
approach to be used and includes a discussion of methods, tools, tasks, resources, project schedules, and user input. A Project Management Plan is
created with components related to acquisition planning configuration management planning, quality assurance planning, and concept of
,
operation
Requirementsanalysis phase
This phase formally defines the detailed functional user requirements using high-level requirements
identified in the Initiation, System Concept, and Planning phases. It also delineates the requirements
in terms of data, system performance, security, and maintainability requirements for the system.The
requirements aredefined in this phase to a level of detail sufficient for systems design to proceed.
They need to be measurable, testable, and relate to the business need or opportunity identified in the
Initiation Phase. The requirements that will be used to determine acceptance of the system are
captured in the Test and Evaluation Master Plan.
Thepurposesofthisphaseareto:
Further define and refine the functional and data requirements and document them in the
Requirements Document,
Complete business process reengineering of the functions to be supported (i.e., verify what
information drives the business process, what information is generated, who generates it, where
does the information go, and who processes it),
Develop detailed data and process models (system inputs, outputs, and theprocess.
Develop the test and evaluation requirements that will be used to determine acceptable system
performance.
Designphase
The design phase involves converting the informational, functional, and network requirements identified during the initiation and planning
phases into unified design specifications that developers use to script programs during the development phase. Program designs are
constructed in various ways. Using a top-down approach, designers first identify and link major program components and interfaces, then
expand design layouts as they identify and link smaller subsystems and connections. Using a bottom-up approach, designers first identify and
link minor program components and interfaces, then expand design layouts as they identifyand link larger systems and connections.
Contemporary design techniques often use prototyping tools that build mock-up designs of items such as application screens, database
layouts, and system architectures. End users, designers, developers, database managers, and network administrators should review and refine
the prototyped designs in an iterative process until they agree on an acceptable design. Audit, security, and quality assurance personnel should
be involved in the review and approval process. During this phase, the system is designed to satisfy the functional requirements identified in
the previous phase. Sinceproblems in the design phase could be very expensive to solve in the later stage of
thesoftwaredevelopment,avarietyofelementsareconsideredinthedesigntomitigaterisk.
Identifyingpotentialrisksanddefiningmitigatingdesignfeatures.
Performing a security risk assessment.
Developingaconversionplantomigratecurrentdatatothenew system.
Determining the operating environment.
Definingmajorsubsystemsandtheirinputsandoutputs. Allocating
processes to resources.
Preparingdetailed logicspecificationsforeachsoftwaremodule.Theresultisadraft System Design
Document which captures the preliminary design for the system.
Everythingrequiringuserinputorapprovalisdocumented and reviewed bythe user. Once these
documents have been approved by the Agency CIO and Business Sponsor, the final System Design
Document is created to serve as the Critical/Detailed Design for the system.
This document receives a rigorous review by Agency technical and functional
representativestoensurethatitsatisfiesthebusinessrequirements.Concurrent with the development
of the system design, the AgencyProject Manager begins development of the Implementation
Plan, Operations and Maintenance Manual, andthe Training Plan.
Developmentphase
The development phase involves converting design specifications into executable programs. Effective
development standards include requirements that programmers and other project participants discuss
design specifications before programming begins. The procedures help ensure programmers clearly
understand program designs and functional requirements. Programmers use various techniques to
develop computer programs. The
largetransactionorientedprogramsassociatedwithfinancialinstitutionshavetraditionally been developed
using procedural programming techniques. Procedural programming involves the line-by-line scripting of
logical instructions that are combined to form a program. Effective completion of the previous stages is a
key factor in the success of the Development phase. The Development phase consists of:
Translatingthedetailedrequirementsanddesignintosystem components
Testingindividualelements(units)forusability.
PreparingforintegrationandtestingoftheITsystem.
Testingasadeployedsystemwithendusersworkingtogetherwithcontractpersonnel
Implementationphase
This phase is initiated after the system has been tested and accepted by the user. In this phase, the system is
installed to support the intended business functions. System performance is compared to performance
objectives established during the planning phase. Implementation includes user notification, user training,
installation of hardware, installation of software onto production computers, and integration of the system into
daily work processes. This phase continues until the system is operating in production in accordance with the
defined user requirements.
Operationsandmaintenancephase
The system operation is ongoing. The system is monitored for continued performance in accordance with user
requirements and needed system modifications are incorporated. Operations continue as long as the system
can be effectively adapted to respond to the organization’s needs. When modifications or changes are identified,
the system may re- enter the planning phase.
Thepurposeofthisphase isto:
Operate, maintain, and enhance the system.
Certify that the system can process sensitive information.
Conductperiodicassessmentsofthesystemtoensurethefunctional requirements continue to be satisfied.
Determine when the system needs to be modernized, replaced, or retired.
Integrationandtestingphase
Subsystem integration, system, security, and user acceptance testing is conducted during the integration and
test phase. The user, with those responsible for quality assurance, validates that the functional requirements, as
defined in the functional requirements document, are satisfied by the developed or modified system. OIT
Security staff assesses the system security and issue a security certification and accreditation prior to
installation/implementation.
Multiplelevelsoftestingareperformed,including:
Testing at the development facility by the contractor and possibly supported by end users
SOURCECODE
SOURCECODE:
"""
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
"""
import csv
student_database = 'students.csv'
def display_menu():
print("--------------------------------------")
print("---------------------------------------")
print("6. Quit")
def add_student():
print("-------------------------")
print("-------------------------")
global student_fields
global student_database
student_data = []
student_data.append(value)
writer = csv.writer(f)
writer.writerows([student_data])
return
def view_students():
global student_fields
global student_database
print("--- Student Records ---")
reader = csv.reader(f)
for x in student_fields:
print("\n-----------------------------------------------------------------")
print("\n")
def search_student():
global student_fields
global student_database
print("--- Search Student ---")
reader = csv.reader(f)
if len(row) > 0:
if roll == row[0]:
break
else:
global student_fields
global student_database
index_student = None
updated_data = []
reader = csv.reader(f)
counter = 0
if len(row) > 0:
if roll == row[0]:
index_student = counter
student_data = []
student_data.append(value)
updated_data.append(student_data)
else:
updated_data.append(row)
counter += 1
writer = csv.writer(f)
writer.writerows(updated_data)
else:
global student_fields
global student_database
student_found = False
updated_data = []
reader = csv.reader(f)
counter = 0
if len(row) > 0:
if roll != row[0]:
updated_data.append(row)
counter += 1
else:
student_found = True
if student_found is True:
writer = csv.writer(f)
writer.writerows(updated_data)
else:
while True:
display_menu()
if choice == '1':
add_student()
view_students()
update_student()
delete_student()
else:
break
print("-------------------------------")
print("-------------------------------")
Output:
mainmenu:
1.Add new
sudent:
2.View
students:
3.Search sudent:
4.Update student:
5.Delete student:
6.Quit:
School management system:
School Management System allows complete control of the different activities that includes class,
sports, library management, administration and more. Use of the automation improves efficiency
significantly.
SYSTEMREQUIREMENTS
Hardware:
Intelcorei5-4590processor
4GBRAM
SOFTWARE:
Windows10ProOS
Wampserver64(SQLApplication)
IDLEpython 3.11
CONCLUSION
school management software is an essential tool for educational institutions. It helps to
streamline administrative tasks, improve communication, and enhance overall efficiency.
By using school management software, schools can improve student outcomes and
provide a better education for their students.
The student management system is an environment where all the process of the student in the
institution is managed . It is done through the automated computerized method. Conventionally
this system is done using papers , files and binders. This system saves the time of the student
and of the administrator.
The given number of quantity is the number of quantity which you get, so that it is the biggest
mistake which you have done in your program. You should follow certain rules in the following
program it is the correct idea and correct information so that I don’t know what to type after this
you should create the first folder and name it as the first
Write a python program to find the sum of the real numbers , name
Than the given toy is to find the given the prime number
BIBLIOGRAPHY
In order to work on this project titled – HOSPITAL MANAGEMENT system, the
following books and literature are referred by me during the various phases of
development of the project.
ComputerSciencewithpython–BY,SumitaArora
https://cbsepython.in/class-12-computer-science-project-in-python/
http://python.mykvs.in/uploads/showpapers/testproject.php