Cs Project File (1)
Cs Project File (1)
SCIENCE
PROJECT
FILE
“SCHOOL MANAGEMENT SYSTEM”
NAME: SHIVAM PATHAK
CLASS: XII B
ROLL NO: 42
01 INTRODUCTION 01
03 PROPOSED SYSTEM 02
07 USE OF TECHNOLOGY 10
06 SOURCE CODE 12
07 OUTPUT 15
09 BIBLIOGRAPHY 21
INTRODUCTION
The SCHOOL MANAGEMENT SYSTEM is an integrated software
which is used to maintain the details of the school. This project
contains the modules to deal the details of students and employees
working in the school. This software is used to store, edit, search
and delete the details of the students as well as employees.
Additionally it handles School Rules for students.
OBJECTIVES OF THE
PROJECT
The objective of this project is to let the students
apply the programming knowledge into a real- world
situation/problem and exposed the students how
programming skills helps in developing a good
software.
• Write programs utilizing modern software tools.
• Apply object oriented programming principles effectively when developing
small to medium sized projects.
• Write effective procedural code to solve small to medium sized problems.
• Students will demonstrate a breadth of knowledge in computer science,
as exemplified in the areas of systems, theory and software development.
• Students will demonstrate ability to conduct a research or applied
Computer Science project, requiring writing and presentation skills
which exemplify scholarly style in computer science.
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human
beings of be really wants to stand against today’s
merciless competition where not to wise saying “to
err is human” 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 has to use the data management software.
Software has been an ascent in atomization various
organizations. Many software products working are
now in markets, which have helped in making the
organizations work easier and efficiently. Data
management initially had to maintain a lot of ledgers
and a lot of paper work has to be done but now
software product on 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 of and automating such an organization
gives the better look.
SYSTEM DEVELOPMENT LIFE
CYCLE (SDLC)
PLANNING PHASE
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 further
identifying the specific activities and resources required to complete a project.
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. Personnel assignments, costs,
project schedule, and target dates are established.
A Project Management Plan is created with components related to
acquisition planning, configuration management planning, quality assurance
planning, concept of operations, system security, verification and validation,
and systems engineering management planning.
REQUIREMENTS ANALYSIS PHASE
DESIGN PHASE
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 identify and 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. Since problems in the design
phase could be very expensive to solve in the later stage of the software
development, a variety of elements are considered in the design to mitigate risk.
These include:
• Identifying potential risks and defining mitigating design features.
• Performing a security risk assessment.
• Developing a conversion plan to migrate current data to the new system.
• Determining the operating environment.
• Defining major subsystems and their inputs and outputs.
• Allocating processes to resources.
• Preparing detailed logic specifications for each software module. The
result is a draft System Design Document which captures the
preliminary design for the system.
• Everything requiring user input or approval is documented and reviewed
by the 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 representatives to ensure that it satisfies the business
requirements. Concurrent with the development of the system design,
the Agency Project Manager begins development of the Implementation
Plan, Operations and Maintenance Manual, and the Training Plan.
DEVELOPMENT PHASE
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 large transaction oriented programs associated with financial
institutions have traditionally 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:
• Translating the detailed requirements and design into system
components.
• Testing individual elements (units) for usability.
• Preparing for integration and testing of the IT system.
INTEGRATION AND TEST PHASE
• 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.
Multiple levels of testing are performed, including:
import mysql.connecter:
By importing this package, we are able to establish the
connection between SQL and Python
FUNCTIONS
connect():
This function establishes connection
between Python and MySQL
cursor():
It is a special control structure that facilitates the row-by-row
processing of records in the result set.
The syntax is:
<cursor object>=<connection object>.cursor()
execute():
commit():
Q WHAT IS MYSQL?
● MySQL is a relational DBMS that can run virtually all platforms, including
Linux, Unix and Windows. Popular for web-based applications and online
publishing, MySQL is a part of open-source enterprise stack LAMP (Linux,
Apache, MySQL, PHP).
● On April 20th, 2009 Oracle Corp., which develops and sells the proprietary
Oracle database, announced a deal to acquire Sun Microsystems.
#creating database
import mysql.connector
mydb=mysql.connector.connect(host="localhost",
user="root", passwd="#Shivam123")
mycursor=mydb.cursor()
mycursor.execute("create database if not exists pyschool")
mycursor.execute("use pyschool")
#creating required tables
mycursor.execute("create table if not exists pystudent(name
varchar(50) not null,class varchar(25) not null,roll_no
varchar(25), gender char(1))")
mycursor.execute("create table if not exists pystaff(name
varchar(50) not null,gender char(1),subject varchar(25) not
null,Salary varchar(25))")
mydb.commit()
while(True):
print("1=Enter Data for new student")
print("2=Enter Data for new Staff Data")
print("3=Search Student Data")
print("4=Search Staff Data")
print("5=Remove student record")
print("6=Remove staff record")
print("7=Exit")
ch=int(input("Enter your choice:"))
#PROCEDURE FOR Entering A NEW Student Record
if(ch==1):
print("All information prompted are mandatory to be
filled")
name=input("Enter name(limit 35 characters):")
classs=str(input("Enter Class:"))
roll_no=str(input("Enter Roll Number:"))
gender=str(input("Enter Gender(M/F):"))
mycursor.execute("insert into pystudent
values('"+name+"','"+classs+"','"+roll_no+"','"+gender+"')")
mydb.commit()
print("Student record has been saved successfully!!")
#PROCEDURE FOR Entering A New Staff Record
elif(ch==2):
sname=str(input("Enter Staff member name:"))
gender=str(input("Enter Gender(M/F):"))
dep=str(input("Enter department or subject:"))
sal=int(input("Enter Salary"))
mycursor.execute("insert into pystaff
values('"+sname+"','"+gender+"','"+dep+"','"+ str(sal)+"')")
mydb.commit()
print("Staff record has been saved successfully!!!")
#PROCEDURE FOR displaying Student record
elif(ch==3):
roll_no=str(input("Enter student roll_no:"))
mycursor.execute("select * from pystudent where
roll_no='"+roll_no+"'")
for i in mycursor:
name,classs,roll_no,gender=i
print(f'Name:- {name}')
print(f'Class:- {classs}')
print(f'Roll Number:- {roll_no}')
print(f'gender:- {gender}')
#PROCEDURE FOR DISPLAYING staff record
elif(ch==4):
name=str(input("Enter Name"))
mycursor.execute("select * from pystaff where
name='"+name+"'")
for i in mycursor:
name,gender,dep,sal=i
print(f" Name:- {name}")
print(f" gender:- {gender}")
print(f"departmant:- {dep}")
print(f" sal:- {sal}")
#PROCEDURE FOR DELETING STUDENT RECORD
elif(ch==5):
r_no=str(input("Enter Roll Number"))
mycursor.execute("delete from pystudent where
roll_no='"+r_no+"'")
mydb.commit()
print("Student Record is successfully Deleted")
#PROCEDURE FOR DELETING STAFF RECORD
elif(ch==6):
name=str(input("Enter Name"))
mycursor.execute("delete from pystaff where
name='"+name+"'")
mydb.commit()
print("Staff Record is successfully Deleted")
else:
break
OUTPUT
#Adding Student record
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python , MySql
BIBLIOGRAPHY
• Computer science With Python - Class XI
& XII ,By Sumita Arora.
• SULTAN CHAND PUBLICATIONS CS
CLASS XI AND XII
• https://python4csip.com/
***