0% found this document useful (0 votes)
11 views18 pages

Computer - Science - Project KOINEER

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views18 pages

Computer - Science - Project KOINEER

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Computer Science Project

PROJECT REPORT ON
SCHOOL MANAGEMENT
SYSTEM

Made by:- KOHINOORSONI

[1]
This is to certify that the Project / Dissertation

entitled School Management System is a


bonafide

work done by Milind Yadav of class XII , Session

2020-21 in partial fulfillment of CBSE’s

Examination 2021 and has been carried out under

my direct supervision and guidance. This report or

a similar report on the topic has not been

submitted for any other examination and does not

form a part of any other course undergone by the

candidate.

[2]
ACKNOWLEDGEMENT

I undertook this Project work, as the part of my XII- A


Computer Science course. I had tried to apply my best of
knowledge and experience, gained during the study and class
work experience. It requires a systematic study, insight vision
and professional approach during the design and development.
I would like to extend my sincere thanks and gratitude to my
teacher Mr. VARSHA .

KOHINOOR
SONI
Class
XII-A

[3]
CONTENTS
1. Introduction

2.SDLC

3. Theoretical Background
------------------------------

4. System Implementation
------------------------------

4.1 The Hardware used:


---------------------------------

4.2 The Softwares used:


---------------------------------

5. System Design & Development


--------------------

1. Database Design:

6. User Manual

1. How to install:

7. Bibliography
[4]
System Development Life Cycle
SDLC is a process followed for a software project,
within a software organization. It consists of a
detailed plan describing how to develop,
maintain, replace and alter or enhance specific
software. The life cycle defines a methodology
for improving the quality of software and the
overall development process.

[5]
T H e O Re T I c A l B A c K G R O u N D
What is Database?

Introduction and Concepts:

A database is a collection of information related to a particular subject or purpose, such as tracking


customer orders or maintaining a product collection. Using any RDBMS application software like MS
SQL Server, MySQL, Oracle, Sybase etc, you can manage all your information from a single database
file. Within the file, divide your data into separate storage containers called tables. You may and
retrieve the data 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 organises data into columns (called fields) and rows
(called records).

A Primary key is one or more fields whose value or values uniquely identify each record in a table. In
a relationship, a primary key is used to refer to specific record in one table from another table. A
primary key is called foreign key when it is referred to from another table.

To find and retrieve just the data that meets conditions you specify, including data from multiple
tables, create a query. A query can also update or delete multiple records at the same time, and
perform built-in or custom calculations on your data.

Role of RDBMS Application Program:


[6]
A computer database works as a electronic filing system, which has a large number of ways of cross-
referencing, and this allows the user many different ways in which to re-organize and retrieve data.
A database can handle business inventory, accounting and filing and use the information in its files
to prepare summaries, estimates and other reports. The management of data in a database system
is done by means of a general-purpose software package called a 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 combination of hardware and software that
can be used to set up and monitor a database, and can manage the updating and retrieval of
database that has been stored in it. Most of the database management systems have the following
capabilities:

 Creating of a table, addition, deletion, modification of records.


 Retrieving data collectively or selectively.
 The data stored can be sorted or indexed at the user's discretion and direction.
 Various reports can be produced from the system. These may be either standardized report
or that may be specifically generated according to specific user definition.
 Mathematical functions can be performed and the data stored in the database can be
manipulated with these functions to perform the desired calculations.
 To maintain data integrity and database use.

The DBMS interprets and processes users' requests to retrieve information from a database. In most
cases, a query request will have to penetrate several layers of software in the DBMS and operating
system before the physical database can be accessed. The DBMS responds to a query by invoking the
appropriate subprograms, each of which performs its special function to interpret the query, or to
locate the desired data in the database and present it in the desired order.

What is My SQL ?
The management of data in a database system is done by means of a general-purpose software
package called a Database Management System (DBMS). Some commercially available RDBMS are
MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase.

MySQL, the most popular Open Source SQL database management system, is developed,
distributed, and supported by Oracle Corporation. MySQL is named after co-founder Monty
Widenius's daughter, My. The name of the MySQL Dolphin (our logo) is “Sakila,”.

 MySQL is a database management system.


A database is a structured collection of data. It may be anything from a simple
shopping list to a picture gallery or the vast amounts of information in a corporate
network. To add, access, and process data stored in a computer database, you need a
database management system such as MySQL Server. Since computers are very good
at handling large amounts of data, database management systems play a central role in
computing, as standalone utilities, or as parts of other applications.

[7]
 MySQL is based on SQL.
A relational database stores data in separate tables rather than putting all the data in
one big storeroom. This adds speed and flexibility. The SQL part of “MySQL” stands
for “Structured Query Language.” SQL is the most common standardized language
used to access databases and is defined by the ANSI/ISO SQL Standard. The SQL
standard has been evolving since 1986 and several versions exist. In this manual,
“SQL-92” refers to the standard released in 1992, “SQL:1999” refers to the standard
released in 1999, and “SQL:2003” refers to the current version of the standard.
 MySQL software is Open Source.
Open Source means that it is possible for anyone to use and modify the software.
Anybody can download the MySQL software from the Internet and use it without
paying anything. If you wish, you may study the source code and change it to suit
your needs. The MySQL software uses the GPL (GNU General Public License),
 The MySQL Database Server is very fast, reliable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server also has a
practical set of features developed in close cooperation with our users. You can find a
performance comparison of MySQL Server with other database managers on our
benchmark page. MySQL Server was originally developed to handle large databases
much faster than existing solutions and has been successfully used in highly
demanding production environments for several years. Although under constant
development, MySQL Server today offers a rich and useful set of functions. Its
connectivity, speed, and security make MySQL Server highly suited for accessing
databases on the Internet.
 MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a multi-
threaded SQL server that supports different backends, several different client
programs and libraries, administrative tools, and a wide range of application
programming interfaces (APIs).

The Main Features of MySQL

 Written in C and C++.


 Works on many different platforms.
 Uses multi-layered server design with independent modules.
 Provides transactional and nontransactional storage engines.
 Designed to make it relatively easy to add other storage engines. This is useful if you want to
provide an SQL interface for an in-house database.
 Uses a very fast thread-based memory allocation system.
 Executes very fast joins using an optimized nested-loop join.
 Implements SQL functions using a highly optimized class library that should be as fast as
possible. Usually there is no memory allocation at all after query initialization.
 Provides the server as a separate program for use in a client/server networked environment,
and as a library that can be embedded (linked) into standalone applications. Such
applications can be used in isolation or in environments where no network is available.
 Password security by encryption of all password traffic when you connect to a server.

[8]
 Support for large databases. We use MySQL Server with databases that contain 50 million
records. We also know of users who use MySQL Server with 200,000 tables and about
5,000,000,000 rows.
 MySQL client programs can be written in many languages. A client library written in
C is available for clients written in C or C++, or for any language that provides C
bindings.
 APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and Tcl are available,
enabling MySQL clients to be written in many languages.
 The Connector/ODBC (MyODBC) interface provides MySQL support for client
programs that use ODBC (Open Database Connectivity) connections.
 The Connector/J interface provides MySQL support for Java client programs that use
JDBC connections. Clients can be run on Windows or Unix. Connector/J source is
available.

[9]
SySTeM IMPleMeNTATION

The Hardware used:

While developing the system, the used hardware are:

PC with i3 processor having 4.00 GB RAM.SVGA and other required devices.

The Softwares used:


 Microsoft Windows® 8.1 as Operating System.

 Python 3.7 as Front-end Development environment.

 MySQL as Back-end Sever with Database for Testing.

 MS-Word 2007 for documentation.

[10
]
SySTeM DeSIGN & D e Ve l O P M e N T
Database Design:
An important aspect of system design is the design of data storage structure. To begin with a logical
model of data structure is developed first. A database is a container object which contains tables,
queries, reports and data validation policies enforcement rules or contraints etc. A logical data often
represented as a records are kept in different tables after reducing anomalies and redundancies. The
goodness of data base design lies in the table structure and its relationship.

This software project maintains a database named Pyschool which contains the following tables.

Tables:-
In my awesome and amizing software of banks I have created to tables to make the software user
friendly and to make it different from others.Tables are shown below.

Pystaff:-

Pystudent:-

[11
]
Project View

[12
]
[13
]
PyTHON CODING:-
P R I N T ( " * * * * S c H O O l MANAGeMeNT****")
I M P O RT M y S Q l . c O N N e c T O R
MyDB=MySQl.cONNecTOR.cONNecT(HOST="lOcAlHOST
",uSeR="ROOT",PASSWD="1234")
MycuRSOR=MyDB.cuRSOR()
M y c u R S O R . e X e c u Te ( " c R e A Te DATA BAS e IF N O T eXISTS
PyScHOOl")
M y c u R S O R . e X e c u Te ( " u S e P y S c H O O l " )
M y c u R S O R . e X e c u Te ( " c R e A Te TA B l e IF N O T eXISTS
P y S T u D e N T ( N A M e VA R c H A R ( 5 0 ) N O T N u l l , c l A S S
VA R c H A R ( 2 5 ) N O T N u l l , R O l l _ N O
VA R c H A R ( 2 5 ) , G e N D e R cHAR(1))")
M y c u R SO R .e X e c u Te (" c R e A Te TA Bl e IF N O T
e X ISTS PySTAFF(NAMe VA R c H A R ( 5 0 ) N O T
N u l l , G e N D e R c H A R ( 1 ) , S u B J e c T VA R c H A R ( 2 5 )
N O T N u l l , S A l A R y VA R c H A R ( 2 5 ) ) " )
MyDB.cOMMIT()
W H I l e ( T Ru e ) :

PRINT("1=ENTeR DATA F O R N e W S Tu D e N T " )


PRINT("2=ENTeR DATA F O R N e W STAFF DATA")
P R I N T ( " 3 = S e A R c H S T u D e N T DATA")
P R I N T ( " 4 = S e A Rc H STAFF DATA")
P R I N T ( " 5 = Re M OVe S T u D e N T
R e c O R D " ) P R I N T ( " 6 = Re M O Ve STAFF
RecORD")
PRINT("7=EXIT")
c H = I N T ( I N P u T ( " E N Te R y O u R
cHOIce:"))
[14
]
IF(cH==1):
P R I N T ( "A l l I N F O R M AT I O N P R O M P Te D A R e
M A N D A T O R y T O Be F I l l e D " )
NA M e = I N P u T ( " E N Te R NA M e ( l I M I T
35 c H A R A c Te R S ) : " )
c l A S S S = S T R ( I N P u T ( " E N Te R
ClASS:"))
R O l l _ N O = S T R ( I N P u T ( " E N Te R R O l l
N u MBeR :") ) G e N D e R = S T R ( I N P u T ( " E N Te R
GeNDeR(M/F):"))
M y c u R S O R . e X e c u Te ( " I N S e R T I N TO P y S T u D e N T
VA l u e S ( ' " + NA M e + " ' ,' " + c l AS S S + " ' ,' " + RO l l _ N O + " ' ,' " + G e N D e R + "
')")
MyDB.cOMMIT()
P R I N T ( " S Tu D e N T R e c O R D HAS BeeN S AVe D
SucceSSFul
ly!!")

el IF( c H= = 2 ) :
S NA M e = ST R ( I N P u T ( " E N Te R STAFF M e M B e R NAMe:"))
G e N D e R = S T R ( I N P u T ( " E N Te R GeNDeR(M/F):"))
D e P = STR ( I N P u T( " E N Te R D e PA RT M e N T
O R SuBJecT:"))
SA l = I N T( I N Pu T( " EN Te R S A l A Ry " ) )
M y c u R S O R . e X e c u Te ( " I N S e R T I N TO PySTAFF
VAlueS('"+SNAMe+"','"+GeNDeR+"','"+DeP+"','"+STR(
SAl)+"')")
MyDB.cOMMIT()
PRINT("STAFF R e c O R D HAS BeeN S AVe D
SucceSSFully!!!")

el I F ( c H= = 3 ) :
ROll_NO=ST [15
]
R(INPuT("E
N Te R
STuDeNT
F O R I IN M y c u R S O R :
NAMe,clASSS,ROll_NO,GeNDeR=I
PRINT(F'NAMe:- { NA M e } ' )
PRINT(F'ClASS:- { c l A S S S } ' )
PRINT(F'ROll NuMBeR:- { R O l l _ N O } ' )
PR I N T( F ' Ge N De R : - { G e N D e R } ' )

el I F ( c H= = 4 ) :
NA M e = ST R ( I N P u T ( " E N Te R NAMe"))
M y c u R S O R . e X e c u Te ( " S e l e c T * F R O M PySTAFF
W H e R e NAMe='"+NAMe+"'")
F O R I IN M y c u R S O R :
N A M e , G e N D e R , D e P, S A l = I
PRINT(F"NAMe:- { NA M e } " )
PR I N T( F " G e N De R : - { G e N D e R } " )
PR IN T( F"DePARTMAN T:-
{DeP}") PRINT(F"SAl:- { S A l } " )
el I F ( c H= = 5 ) :
R _ N O = S T R ( I N P u T ( " E N Te R R O l l
N u M B e R" ) )
M y c u R S O R . e X e c u Te ( " D e l e Te F R O M P y S T u D e N T
WHeRe ROll_NO='"+R_NO+"'")
MyDB.cOMMIT()
P R I N T ( " S Tu D e N T R e c O R D IS S u c c e S S F u l l y
D e l e Te D " )
elIF(cH==6):
NA M e = ST R ( I N P u T ( " E N Te R NAMe"))
M y c u R S O R . e X e c u Te ( " D e l e Te F R O M PySTAFF W H e R e
NAMe='"+NAMe+"'") [16
]
MyDB.cOMMIT()
PRINT("STAFF R e c O R D IS S u c c e S S F u l l y D e l e Te D " )
elSe:
BReAK

USeR M A N u A l

How to installSoftware:
Hardware Requirement-
 Intel Pentium/Celeron or similar processor based PC at Client/Server end.
 128 MB RAM and 4GB HDD space (for Database) is desirable.
 Standard I/O devices like Keyboard and Mouse etc.
 Printer is needed for hard-copy reports.
 Local Area Network(LAN) is required for Client-Server Installation

Software Requirement-
 Windows XP/2007 OS is desirable.
 Python must be installed and mysql connector must be installed.
 MySQL Ver 6.1 with Library Database must be present at machine.

[17
]
Re Fe Re N c e S

In order to work on this project titled –School Managewment System, the following books and
literature are refered by me during the various phases of development of the project.

(1) Computer Science

-Reeta Sahoo

-Gagan Sahoo

(2) http://www.mysql.org/

(3) Course Book for class XII

(4) Various Websites of Discussion Forum and software development activities.

Other than the above-mentioned books, the suggestions and supervision of my teacher and my class
experience also helped me to develop this software project.

[18
]

You might also like