Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SUBMITTED BY
Nimisha Lal
Sitaram Chuadhary
Manju Dahal
Lelin Kumar Chaudhary
1
PURBANCHAL UNIVERSITY
SCHOOL OF ENGINEERING AND TECHNOLOGY
Biratnagar, Nepal
Certificate
This is to certify that the project entitled “School Result Management System” is being
submitted by
In the partial fulfillment of the requirements for the award of BE (Computer), seventh
semester. This record is a bona-fide work carried out by them under my guidance and
supervision.
2
ACKNOWLEDGMENT
We would like to express our sincere gratitude to our project guide MR. SAROJ
TIMALSINA for giving us the opportunity to work on this topic. It would never be possible
for us to take this project to this level without his innovative ideas and his relentless support
and encouragement.
We are also grateful and extend our sincere thanks to our academic head MR.
HEMANT GOIT and the other staff member of Department of Computer Engineering at
Purbanchal University School of Engineering and Technology for their cooperation.
Finally many thanks to friends, who have helped and given us suggestions, supports
and corrections throughout the project.
3
Contents
1. Abstract………………………………………………………….(5
2. Introduction……………………………………………………...(6
3. Project Analysis…………………………………………………(7
Software Requirement Specification…………………….(8-10
Functional Requirements……………………………....... (10-12
Specific Requirements…………………………………... (12-13
4. Design……………………………………………………………(13-16
5. Technology Overview……………………………………………(16-20
6. Project Description……………………………………………….(20-22
7. Web Application Screenshot……………………………………..(22-24
8. Logic Codes………………………………………………………(25-26
9. Conclusion………………………………………………………..(27
10.Bibliography……………………………………………………...(27
4
ABSTRACT
School Result Management System offers both web and mobile based system that
delivers speed, convenience, flexibility, security and services excellence. The project
automates the result of students. The web application is developed as two-tier architecture:
HTML, AJAX and jQuery as front-end GUI and MySQL and Apache server as Back end
database.
The overall project is the combination of both mobile and website. The activities and
information of the store are managed in the database and the front end is developed which
displays all the content of the database which are relevant to the students and school
administration like results, reports etc. website also provides other information related to the
school management system.
The project has been planned to be having the view of distributed architecture, with
centralized storage of the database. The application for the storage of the data has been
planned. Using of MySQL server and all the user interfaces have been designed. The
database connectivity is planned using the SQL connection methodology. The standards of
security and data protective mechanism have been given a big choice for proper usage. The
application takes care of different modules and their associated reports which are produced as
per the applicable strategies and standards that are put forwarded by the administrative staff.
5
Introduction
The software application unbelievably unravels and quickens the result management system
with unique templates by providing the administration a secure database system for storing,
evaluating and publishing the test scores and grades of candidates online. The database
likewise allows the students to observe and gander at the exam results on the web at
whatever point necessary.
The software exhibits some effortlessness in solving, adjusting and eradicating the problems
in traditional result and examination management with automation system.
6
Project Analysis
Analysis is the detail study of various operation performed by the system and their
relationship within an outside of the organization. A major question in this phase is what
must be done to solve the problem. During analysis data are collected from various files,
decision points and various transaction handled by the present system. Once analysis is
completed the system analyst has a good understanding of what is to be done.
Software Requirements:
PHP 5.0 as backend
APACHE HTTP Server
HTML, AJAX and jQuery as front-end GUI
Microsoft Windows or Linux
Database used: MYSQL
Browser: Google Chrome or Mozilla Firefox
Hardware Requirements:
Intel Pentium IV processor or equivalent or higher
512 MB Ram or Higher
20 GB HDD or Higher
Network Connectivity
7
SOFTWARE REQUIRMENT SPECIFICATION
1. Introduction
1.2 Purpose:
The objective of School Result Management System is to provide the
examination result to the student in a simple way. This project is useful for
students and institutions for getting the results in simple manner. By a result
analyzer with subject status and marks is an application tool for displaying the
results in secure way. The whole result analyzer will be under the control of the
administrator and the admin as the full privileges to read, write and execute the
result. The student can download his/here result.
1.3 Scope
This project would be very useful for school where regular evaluation of students
is required. Further it can be useful for any educational institutes such as college,
university etc.
Login module:
Login module will help in authentication of user accounts. Users who have valid
login id and password can only login into their respective accounts.
Search module:
Suppose a student wants to know about his/her result then he/she needs to search
for the school’s website. There he/she must have to open
http://eduwary.com/srms/ and enter the requirements needed and can obtain the
result.
8
Registration Module and Account Management:
This module will help the student get registered from anywhere if internet is present.
This module will really simplify the task of on paper registration. Also after
successful registration the admin can update information and change their password
when required.
Personal details: Details of student such as name roll id, class, registration date,
status, etc.
Contact details: Details of contact associated with the student.
SRS: System requirement Specification
WWW: World Wide Web
Administrator: A Login Id representing the user is an administrator & can access all
the records details
1.5 Overview:
Section 2 gives an overall description of the software. It gives what level of proficiency is
expected of the user, some general constraints while making the software.
Section 3 gives specific requirements which the software is expected to deliver. Some
performance requirements and constraints are also given and deal with other Non-
Functional Requirements.
Section 4 deals with External Interface Requirements like Hardware and Software
Interface.
9
2. OVERALL DESCRIPTION
10
2.4 Operating Environment:
The product can run on any browser.
2.5 Constraints:
Every user must be comfortable using computer.
All operations are in English so user must have basic knowledge of English.
Administrator Students
Enable/disable users
View his/her details
11
2. Student/Teacher:
Has the access right to view and edit their personal details.
Login into the website
Display student details
3. Specific Requirements:
12
Basic Flow:
The Administrator logs into the System.
The Administrator search the users from following keys:-
First/last name
Registration date
Mailing Address
User’s status
The System prompts for the user detail from one of the above keys.
The user’s details are displayed on the screen.
Alternative Flow:
Result Not Found
If in the Display notes sub-flows, a specific result does not exist, the system displays an
error message.
Conclusion: This SRS has given all the details of the application need to be built.
DESIGN PHASE
1. Introduction
The purpose of the design phase is to develop a clear understanding of what the developer
want people to gain from his/her project. As you the developer work on the project, the test
for every design decision should be
"Does this feature fulfill the ultimate purpose of the project?"
A purpose statement affects the design process by explaining what the developer wants the
project to do, rather than describing the project itself.
The Design Document will verify that the current design meets all of the explicit
requirements contained in the system model as well as the implicit requirements desired by
the student.
The overall system design objective is to provide an efficient, modular design that will reduce
the system’s complexity, facilitate change and result in an easy implementation. This will be
accomplished by designing strongly cohesion system with minimal coupling. In addition, this
document will provide interface design models that are consistent user friendly and will
provide straight forward transition through the various system functions.
13
1.3) Structure of Design Document
System Architecture Design – The System architecture section has detailed diagram
of the system, server and client architecture.
Data Design – The data Design include an ERD as well as Database design.
Functional Design Description – This section has the functional partitioning from the
SRS, and goes into great detail to describe each function.
The SRMS (School Result Management System) is a system which contains major part
which includes: User’s details and their results. The user selects one of the available options
as an input to the system. According to the input by the user the system acts and the rest of
the functions are performed accordingly. The administrator can operate on any student details
.But the normal student or users can only access their details of all the functionalities.
Start
Login to the
[Invalid admin_id or password] website
Database updated
Stop
14
3. Data Design
3.1 Entity Relationship Diagram
Login_id
Administrator Results
Manages
Password
Upload
records
15
4.2 Decision Tree
5. Conclusion
Hence we can conclude that the design phase of the SRMS give us the information of all the
processes used in the project and their relation.
TECHNOLOGY OVERVIEW
The technology selected for implementing School Result Management System is PHP/
HTML/CSS is used as the HTTP server. The development was done in a ‘windows’
environment.
PHP
PHP is a general-purpose scripting language that is especially suited to server side web
development where PHP generally runs on a web server. PHP code is embedded into the
HTML source document. Any PHP code in a requested file is executed by the PHP runtime,
usually to create dynamic web page content .It can also be used for command-line scripting
and client-side GUI applications. PHP can be deployed on many web servers and operating
systems, and can be used with many relational database management systems (RDBMS). It is
available free of charge, and the PHP Group provides the complete source code for users to
build, customize and extend for their own use.
HTML
HTML (Hypertext Markup Language) is a text-based approach to describe how content
contained within a HTML file is structured. This markup tells a web browser how to display
the text images and other forms of multimedia on a webpage. The role of HTML is to inform
16
a web browser about how the content contained within an HTML file is structured.
Commonly used HTML tags include <H1>,which describes a top level heading; <H2>,
which describes a second level heading; <p> to describe a paragraph; <table>, which
describes tabular data; and <ol>, which describes an ordered list of information.
MySQL
MySQL is a relational database management system (RDBMS) that runs as a server
providing multi-user access to a number of databases. MySQL is a popular choice of database
for use in web applications and is an open source product. The process of setting up a
MySQL database varies from host to host, however we will end up with a database name, a
user name and a password. Before using our database, we must create a table. A table is a
section of the database for storing related information. In a table we will set up the different
fields which will be used in that table. Creating a table in phpMyAdmin is simple; we just
type the name, select the number of fields and click the ‘go’ button. We will then be taken to
a setup screen where you must create the fields for the database.
AJAX
Ajax is a set of web development techniques using many web technologies on the client
side to create asynchronous web applications. With Ajax, web applications can send and
retrieve data from a server asynchronously (in the background) without interfering with the
display and behavior of the existing page. By decoupling the data interchange layer from the
presentation layer, Ajax allows web pages and, by extension, web applications, to change
content dynamically without the need to reload the entire page. In practice, modern
implementations commonly utilize JSON instead of XML.
CSS
Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to
simplify the process of making web pages presentable.CSS handles the look and feel part of
a web page.CSS is easy to learn and understand but it provides powerful control over the
presentation of an HTML document. Most commonly, CSS is combined with the markup
languages HTML or XHTML.
17
XAMPP
XAMPP is a small and light Apache distribution containing the most common web
development technologies in a single package. Its contents, small size, and portability make it
the ideal tool for students developing and testing applications in PHP and MySQL. XAMPP
is available as a free download in two specific packages: full and lite. While the full package
download provides a wide array of development tools, XAMPP Lite contains the necessary
technologies that meet the Ontario Skills Competition standards. The light version is a small
package containing Apache HTTP Server, PHP, MySQL, phpMyAdmin, Openssl, and
SQLite.
18
In order to stop all Apache processes we do not close the running terminal application, but
instead run another batch file in the xampplite directory called apache_stop.bat.
19
PROJECT DESCRIPTION
Introduction
This project assesses students by searching for their respective results. The results would be
highly customizable. This project will enable educational institutes to publish the results and
have right information of the students.
Student_information:
roll_id: Stores roll id of the student(s)
first_name: Stores first name of the student(s)
last_name: Stores last name of the student(s)
registration_date: Stores the registration date of the student(s).
gender: Stores the gender of the student(s).
date_of_birth: Stores the date of birth of the student(s).
student_status: Stores the current status of the student account(s).
email: Stores email of the student(s).
Address: Stores the address of the student(s).
Description: Stores description of the student(s).
last_login_date: Stores last login date of the student(s).
Features
The Website provides following functionalities to the users:
Administrator:
Login/Logout
View student information
Delete results
Edit /Add results
Search students
Student:
Login/Logout
View result
View record
View information
20
SCOPE OF THE PROJECT
The School Result Management System (SRMS) will help to provide all results of
the student.
Students won’t have to visit school for their result.
Student can view their result.
Can evolve as an online institution.
Functionality of chat and messages can be added.
21
Screenshot of website
1. Front View
2. Dashboard
22
3. Student’s Information
4. Website View
23
5. Result View
24
Logic Codes
Config.php
<?php
// DB credentials.
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PASS','');
define('DB_NAME','srms');
// Establish database connection.
try
{
$dbh = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME,DB_USER,
DB_PASS,array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'"));
}
catch (PDOException $e)
{
exit("Error: " . $e->getMessage());
}
?>
25
Index.php
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if($_SESSION['alogin']!=''){
$_SESSION['alogin']='';
}
if(isset($_POST['login']))
{
$uname=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT UserName,Password FROM admin WHERE UserName=:uname and
Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':uname', $uname, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
$_SESSION['alogin']=$_POST['username'];
echo "<script type='text/javascript'> document.location = 'dashboard.php'; </script>";
} else{
?>
26
Conclusion
The School Result Management System is developed using PHP and MySQL fully meets the
objectives of the system for which it has been developed. As far as design is concerned no
design is complete ever and there are chances of improvement each moment. However
performing all the necessary testing, we will conclude that our design will implement
properly that it absolutely was made.
Bibliography
PHP book by Vasvani (TMH publications).
Beginning PHP5 by WROX.
www.google.com.
www.wikipedia.com
www.w3schools.com
Informatics practices by Sumita Arora.
Head First PHP & MySQL by Lynn Beighley and Michael Morrison (O’Reilly).
Stack overflow (https://stackoverflow.com/)
MYSQL(https://www.mysql.com/
27