100% found this document useful (1 vote)
189 views57 pages

Student Result Management System: Major Project ON

This document describes a student result management system project submitted by Shubham Kumar Tripathi for their master's degree. The project aims to develop a computerized system to manage student examination records and provide results in an efficient manner. The current manual system uses physical sheets that take up space, are difficult to analyze, and slow to search. The proposed online system will consolidate multiple years of results into a single interface. It intends to reduce storage space, speed up retrieval of results, and present data in an organized format for easy analysis. The objectives are to manage student, subject, class, and semester details as well as results through the system.

Uploaded by

s sunil k kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
189 views57 pages

Student Result Management System: Major Project ON

This document describes a student result management system project submitted by Shubham Kumar Tripathi for their master's degree. The project aims to develop a computerized system to manage student examination records and provide results in an efficient manner. The current manual system uses physical sheets that take up space, are difficult to analyze, and slow to search. The proposed online system will consolidate multiple years of results into a single interface. It intends to reduce storage space, speed up retrieval of results, and present data in an organized format for easy analysis. The objectives are to manage student, subject, class, and semester details as well as results through the system.

Uploaded by

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

A

MAJOR PROJECT
ON
Student Result Management System

Submitted in Partial Fulfillment for the requirement of the award of


the degree of Master of Science in Computer Science

Session 2018-2019

Submitted by:
Shubham Kumar Tripathi
(1700800230)

Under the supervision of


Prof. (Dr.) Rakesh kumar Katare
Chandrakant Singh Prof. In charge
Department of computer Science
A.P.S. University, Rewa (M.P.)
External Supervisor Internal Supervisor

Submitted To
Department of Computer Science
Awadesh Pratap Singh Vishwavidayalaya Rewa(M.P).
PROJECT EVALUATION SHEET
Department of computer science
A.P.S. University, Rewa (M.P.)

1. Candidate Roll No – 1700800230

2. Candidate Name- Shubham Kumar Tripathi

3. Project Title- Student Result Management System

4. Software Base- Php & Mysql

5. Sponsoring Institute Name Address- Nic Computer & It.

6. Name of the Department and University- Department of Computer Science.

7. Submitted for Course & year- M.Sc (CS) IV Sem. 2018-19.

8. Details of Evaluation :-

Roll No. Enrolment No. Marks warded signature of Signature of


( out of 750) External Internal

1700800230 179030080657

9. Forwarding by Prof. In charge/Head of the Department


Prof.(Dr.) Rakesh Kumar Katare
Head
Department of Computer Science
A.P.S. University ,Rewa(M.P.)
DECLARATION

This is to certify that the project report entitled “ Student Result

Management System ” done by me is an authentic work carried out

for the partial fulfillment of the requirements for the award of the

degree of Master of Science in Computer Science under the

guidance and noble supervision of external Supervisor……………..

and Internal Supervisor Prof. (Dr.) Rakesh Kumar Katare .

.................................
Shubham Kumar tripathi
Department of Computer Science
A. P. S. University Residence:F-14 Civil Line,
Rewa (M.P.)-486003, India Rewa(M.P.)
Tel:(7662)231902(O) Mobile No. 9425352462
Email:-
[email protected]

CERTIFICATE

Ref.No. ........... Date: ...........

This is to be certify that the project entitled “Student Result

Management”,submitted by Shubham Kumar Tripathi in partial fulfillment for the

award of degree of M.Sc.(CS) IV semester, to the department of computer

science, Awadesh Pratap Singh University, Rewa (M.P.), during session

2018-19 is a bonafide & authentic work carried out by him for project training

purpose under the internal supervision of & external supervision of ..................

The student is having reasonable knowledge of the work done as part of project

development & was able to demonstrate his project work satisfactorily in front of

the examination committee.


_________________
Dr. Rakesh Kumar Katare
Internal supervisor,
Professor & Head
Department of Computer
Science
A.P.S. University, Rewa (M.P.)
ACKNOWLEDGEMENT

I express my sincere thanks to external Supervisor Mr. /Mrs. /Ms…………..


giving us privilege and necessary facilities, encouragement, critical supervision,
noble guidance to carry out this project in timely.

I take this opportunity to express my deepest sense of gratitude to Prof.(Dr.)


Rakesh Kumar Katare, Head ,Department of Computer Science Awadhesh
Pratap Singh University, Rewa (M.P.) for their guidance, help and moral
support.

I also express my gratitude to Prof.(Dr.) Navita Shrivastava, Prof. In Charge


M.Sc.(IT) ,Department of Computer Science , Awadhesh Pratap Singh
University, Rewa (M.P.) for their constant encouragement and valuable
suggestion.

I would like to express our sincere gratitude towards associated visiting faculty
Dr. Arvindra Singh, Dr. Ajitesh Singh Baghel, Dr.Sunil Tiwari
Ms.Dr. Aarti Pandey, Ms. Neha Singh and Ms. Ritu Mishra for
Direct or indirect help cooperation, love and affection to do this project.

Thanks also to our family who have been extremely understanding and
supportive of our studies. We feel very lucky to have a family that shares my
enthusiasm for academic pursuits.
Deepika Keshari & Monika Pandey
M.Sc. CS (IV) Sem.
A.P.S. University., Rewa(M.P.)
TABLE OF CONTENT:

Student Result Management........................................................................i


Declaration..................................................................................................ii
External
Certificate……………………………………………………………………
Internal Certificate....................................................................................iii
Acknowledgement.......................................................................................iv
Abstract/Preface..........................................................................................v
List of Figures...........................................................................................vii
List of Tables............................................................................................viii

Chapter1: Introduction............................................................................1
1.1 About Organization...............................................................2
1.2 About project........................................................................3
1.2.1 Existing system........................................................4
1.2.2 Proposed system........................................................5
1.3 Objective and Scope of the project

Chapter2: System Requirement Analysis and Specification


2.1 SDLC Model
2.2 Feasibility Study
2.3 Project Scheduling
2.4 System hardware requirements
2.5 Software requirements
2.6 SRS

Chapter3: Design
3.1 Flow chart
3.2 Data flow diagram
3.3 Class Diagram
3.4 ER Diagram
3.5 Project Hierarchy
3.6 Table specification
Chapter 4: System Input and Output Screens
Chapter 5: Coding and Testing
Chapter 6: System Implementation
Chapter 7: Conclusion
References
CHAPTER1
INTRODUCTION

1.1 INTRODUCTION

The main objective of developing this project is to automate student result


management. This application will greatly simplify and speed up the result
preparation and management process. A Project report on Student result
management system. Faculty, category and for examination, block allocation,
subject management, scheduling exam, result. This is a computerized examinations
results management system for tertiary student’s examination records. The main
aim of the project is to provide the examination result to the student in a simple
and accurate way.

1.2 ABOUT PROJECT


1.2.1Existing system

 In the previous system, t-sheets occupy more space and the format isnot in
an understandable way.
 It takes more time to search the student result because of filtering the rows
and columns.
 In this, analyzing the result is also difficult
 The data generated in t-sheets is not in understandable manner
 The t-sheets occupy more space.
 When a search is made, more time is taken to filter the data andgive the
result

Proposed System:
This is a tracking application where at a time we can see all the year’s result in a
single sheet and a choice of viewing the candidates result separately is also
possible. The proposed system t4sheets are designed inane organized manner. The
t-sheets occupy comparatively lesser space, so memory can be organized in a
proper way. Also, the time taken to retrieve the result is faster compared to the
existing system.

Objective of project:
The main objective of the project on student result management system is to
manage the detail of student, result, subject, class, and semester. It manages all the
information Student, subject, semester and result. The project is to useful For
Student they can see result anywhere and anytime.

Feasibility Study:
Feasibility study  is  the  high  level  capsule  version  of  the  entire  requirement 
analysis  process. The objective  of  feasibility  study  is  to  determine  whether 
the  proposed  system  can  be   developed  with  available  resources.
There are three steps to be followed for determining the feasibility study of
proposed system.

 Technical  Feasibility
 Operational  Feasibility
 Economical  Feasibility

Technical Feasibility: It  is  concerned  with  hardware  and  software  feasibility.
In  this  study, one  has  to  test  whether the  proposed  system  can  be  developed 
using  existing  technology  or  not. If  new  technology  is  required ,what  is  the 
likely  hood  that  it  can  be  developed ?The  organization  for  which   the 
system  to  be  developed    is  not  provided online services .Hence  there  is  a 
requirement  of  new  hardware  and  software  technology  for  the  deployment 
of  proposed  system. As  per  client  requirements  the  system  to  be  developed 
should  have  speed  response  because  of  fast  change  info, programming 
productivity, reliability, security, scalability, integration  and  availability. To meet
these requirements  I  as  a  developer  found  jsp1.1  as  a  right  choice  because 
of  its  features  platform independence , modularity  and  reusability.

Operational Feasibility:  Operational  feasibility  determines  whether  the 


proposed  system  satisfied  the  user  objectives  and  can  be  fitted  in  to  current 
system  operation. The  proposed  system  “Lending Tree”  can  be  justified  as 
operationally  feasible  basing  on  the  following.

 The  methods  of  processing  and  presentation  are  completely  acceptable 


by  the  clients  because  they  meet  all  the  user  and  client  requirements.
 The  clients  have  been  involved  during  the  preparation  of  requirement 
analysis  and  design  process.
 The  system  will  certainly  satisfy  the  user  objectives  and  it  will  also 
enhance  their  capability.
 The  system  can  be best  fitted  into  current  operation  and  requires  little 
training  to  both  administrator  and  dealer. With  the  help  of   this 
system  customer  to  place  order  requires  simple  data  entry  through 
forms  provided. The  proposed  system  is  completely user  friendly.
Economical Feasibility: This includes an evaluation of  all  incremental  costs  and 
benefits  expected  if  proposed  system  is  implemented. costs-benefit  analysis 
which  is  to be  performed  during  economical  feasibility  delineates costs  for 
project  development  and  weighs  them  against  benefits  of  system. In this the
proposed system replaces   the manual process of receiving  orders  which 
benefits  the  organization  to  get  more  orders  and  good  response. So
developing this system is economically feasible to organization.
Project Plan & Scheduling:

Project planning is part of project management, which relates to the use of


schedules such as Gantt charts to plan and subsequently report progress within the
project environment.

Initially, the project scope is defined and the appropriate methods for completing
the project are determined. Following this step, the durations for the various tasks
necessary to complete the work are listed and grouped into a work breakdown
structure. Project planning is often used to organize different areas of a project,
including project plans, workloads and the management of teams and individuals.
The logical dependencies between tasks are defined using an activity network
diagram that enables identification of the critical path. Project planning is
inherently uncertain as it must be done before the project is actually started.
Therefore the duration of the tasks is often estimated through a weighted average
of optimistic, normal, and pessimistic cases. The critical chain method adds
"buffers" in the planning to anticipate potential delays in project execution. Float
or slack time in the schedule can be calculated using software. Then the necessary
resources can be estimated and costs for each activity can be allocated to each
resource, giving the total project cost. At this stage, the project schedule may be
optimized to achieve the appropriate balance between resource usage and project
duration to comply with the project objectives. Once established and agreed, the
project schedule becomes what is known as the baseline schedule. Progress will be
measured against the baseline schedule throughout the life of the project.
Analyzing progress compared to the baseline schedule is known as earned value
management.

The inputs of the project planning phase 2 include the project charter and the
concept proposal. The outputs of the project planning phase include the project
requirements, the project schedule, and the project management plan.

Project planning can be done manually, but project management software is often
used.
H/W & S/W Requirements:

Hardware Requirements:-

 Pentium-IV (Processor).
 2 GB Ram
 512 KB Cache Memory
 Hard disk 500 GB
 Microsoft Compatible 101 or more Key Board

Software Requirements: -

 Operating System : Windows

 Web-Technology: PHP

 Front-End: HTML,CSS,JAVASCRIPT

 Back-End: My SQL

 Web Server: Apache SERVER.


Scope of the Project:

Database Tier:  The concentration is applied by adopting the My sql database.


SQL is taken as the standard query language. The overall business rules are
designed by using the power of PL/SQL components like dynamic queries, stored
procedures stored functions etc.

User Tier: The use interface is developed is a browses specific environment to


have web based architecture. The components are designed using HTML standards
and PHP pages power the dynamic of the page design.

Role of My SQL in Database

My SQL is a freely available open source Relational Database Management


System (RDBMS) that uses Structured Query Language (SQL). SQL is the most
popular language for adding, accessing and managing content in a database. It is
most noted for its quick processing, proven reliability, ease and flexibility of use.

Structured Query Language (SQL)


SQL is an inter-active language used to query the database and access data in
database. SQL has the following features:
1. It is a unified language.
2. It is a common language for relational database
3. It is a non-procedural language.
What is a Relational Database Management System

A relational database management system (RDBMS) can perform a wide array of


tasks. It acts as a transparent interface between the physical storage and a logical
presentation of data. It provides a set of more or less flexible and sophisticates
tools for handling information. User can use this tool to:

 Define a database
 Query the database
 Add, edit and delete data
 Modify the structure of database
 Secure data from public access
 Communicate within the networks
 Export and Import data
A relational database management system (RDBMS) can perform a wide array of
tasks. It acts as a transparent interface between the physical storage and a logical
presentation of data. It provides a set of more or less flexible and sophisticates
tools for handling information. User can use this tool to:
1.    Relational Databases and
2.    A language that is at least as powerful as the relational algebra
Risk Management:

Risk management is the identification, evaluation, and prioritization of risks


(defined in ISO 31000 as the effect of uncertainty on objectives) followed by
coordinated and economical application of resources to minimize, monitor, and
control the probability or impact of unfortunate events or to maximize the
realization of opportunities. Risk management’s objective is to assure uncertainty
does not deflect the endeavor from the business goals.

Risks can come from various sources including uncertainty in financial markets,
threats from project failures (at any phase in design, development, production, or
sustainment life-cycles), legal liabilities, credit risk, accidents, natural causes and
disasters, deliberate attack from an adversary, or events of uncertain or
unpredictable root-cause. There are two types of events i.e. negative events can be
classified as risks while positive events are classified as opportunities. Several risk
management standards have been developed including the Project Management
Institute, the National Institute of Standards and Technology, actuarial societies,
and ISO standards. Methods, definitions and goals vary widely according to
whether the risk management method is in the context of project management,
security, engineering, industrial processes, financial portfolios, actuarial
assessments, or public health and safety.
Data Flow Diagram:

The DFD takes an input-process-output view of a system i.e. data objects


flow into the software, are transformed by processing elements, and resultant data
objects flow out of the software.

Data objects represented by labeled arrows and transformation are


represented by circles also called as bubbles. DFD is presented in a hierarchical
fashion i.e. the first data flow model represents the system as a whole. Subsequent
DFD refine the context diagram (level 0 DFD), providing increasing details with
each subsequent level.

The DFD enables the software engineer to develop models of the


information domain & functional domain at the same time. As the DFD is refined
into greater levels of details, the analyst perform an implicit functional
decomposition of the system. At the same time, the DFD refinement results in a
corresponding refinement of the data as it moves through the process that embody
the applications.

A context-level DFD for the system the primary external entities


produce information for use by the system and consume information generated by
the system. The labeled arrow represents data objects or object hierarchy.
RULES FOR DFD:

 Fix the scope of the system by means of context diagrams.

 Organize the DFD so that the main sequence of the actions

 Reads left to right and top to bottom.

 Identify all inputs and outputs.

 Identify and label each process internal to the system with Rounded
circles.

 A process is required for all the data transformation and Transfers.


Therefore, never connect a data store to a data Source or the destinations
or another data store with just a Data flow arrow.

 Do not indicate hardware and ignore control information.

 Make sure the names of the processes accurately convey everything the
process is done.

 There must not be unnamed process.

 Indicate external sources and destinations of the data, with Squares.

 Number each occurrence of repeated external entities.

 Identify all data flows for each process step, except simple Record
retrievals.

 Label data flow on each arrow.

 Use details flow on each arrow.

 Use the details flow arrow to indicate data movements.


Data flow Diagram

Data flow diagram Student Result Management System

 Managing all the Student


 Managing all the Result
 Managing all the Subject
 Managing all the Class
 Managing all the Subject Combination

Student
Management
Result
Admin
Management
Management

Student Result
Management System

SubjectCobmination Subject
Management Management

Class
Management

Flow Chart:
No Yes
Check
Result

Check Roll
Number Valid

Continue same Operation

Perform Operation

Show Result

E – R Diagram:
ER Notation

There is no standard for representing data objects in ER diagrams. Each


modeling methodology uses its own notation. The original notation used by Chen
is widely used in academics texts and journals but rarely seen in either CASE tools
or publications by non-academics. Today, there are a number of notations used,
among the more common are Bachman, crow's foot, and IDEFIX.

All notational styles represent entities as rectangular boxes and relationships


as lines connecting boxes. Each style uses a special set of symbols to represent the
cardinality of a connection. The notation used in this document is from Martin. The
symbols used for the basic ER constructs are:

 Entities are represented by labeled rectangles. The label is the name of the

entity. Entity names should be singular nouns.

 Relationships are represented by a solid line connecting two entities. The

name of the relationship is written above the line. Relationship names should

be verbs

 Attributes, when included, are listed inside the entity rectangle. Attributes

which are identifiers are underlined. Attribute names should be singular

nouns.

 Cardinality of many is represented by a line ending in a crow's foot. If the

crow's foot is omitted, the cardinality is one.


 Existence is represented by placing a circle or a perpendicular bar on the

line. Mandatory existence is shown by the bar (looks like a 1) next to the

entity for an instance is required. Optional existence is shown by placing a

circle next to the entity that is optional


Id Email date
Name
Code
Date

Id

Student
Subject Assign

Subject name Gender Roll Number

Add
Studen

Add
Subject

Sub_id Mark

Add Result Access


Admin
Result

Class_id
Full name User name Stu_id
Password

USE CASE DIGRAM:


Admin login

Add Class

User login Manage Class

Add Result
Show Result

Manage Result

USER Add Student ADMIN

Manage student

Table:
ADMIN:

Column name Type (size) Constraint


Id Number (12) Primarykey
User Varchar2(50)
Password Varchar2(50)

Class Table:

Column name Type (size) Constraint


ID Number (12) Primary key
Class name Varchar2 (12)
Classnamenumeric Number (12)
Section Varchar2 (12)
Creation date Date()

Student table:
Column name Type (size) Constraint
Id Number (20) PrimaryKey
Studentid Varchar2 (50)
Email Varchar2 (30)
Fullname Varchar2 (30)
Roll number Number (20)
Gender Varchar2 (50)
Status Varchar2 (40)
Date of birth Date()

Result Table:

Column name Type (size) Constraint


Id Number (20)) PrimaryKey
Studentid Number(20)
Classid Number(20)
Subjectid Number(20)
Mark Number(20)
Updation_date Date()

Subject Table:
Column name Type (size) Constraint
Id Number (20) PrimaryKey
Subject name Varchar2 (30)
Subject Code Number(20)
Creation_date Date()
Updation_date Date()

Testing:
Testing is the process of detecting errors. Testing performs a very critical role for
quality assurance and for ensuring the reliability of software. The results of testing
are used later on during maintenance also.

Psychology of Testing
The aim of testing is often to demonstrate that a program works by showing that it
has no errors. The basic purpose of testing phase is to detect the errors that may be
present in the program. Hence one should not start testing with the intent of
showing that a program works, but the intent should be to show that a program
doesn’t work. Testing is the process of executing a program with the intent of
finding errors.

Testing Objectives

The main objective of testing is to uncover a host of errors, systematically and with

minimum effort and time. Stating formally, we can say,

 Testing is a process of executing a program with the intent of finding an error.

 A successful test is one that uncovers an as yet undiscovered error.

 A good test case is one that has a high probability of finding error, if it exists.

 The tests are inadequate to detect possibly present errors.

 The software more or less confirms to the quality and reliable standards.

Levels of Testing
In order to uncover the errors present in different phases we have the concept of
levels of testing. The basic levels of testing are as shown below…
Client Needs                                                   
 Requirements                                                    
 Design                                       
Code       
                                                    
System Testing
The philosophy behind testing is to find errors. Test cases are devised with this in
mind. A strategy employed for system testing is code testing.

Code Testing:

This strategy examines the logic of the program. To follow this method we
developed some test data that resulted in executing every instruction in the
program and module i.e. every path is tested. Systems are not designed as entire
nor are they tested as single systems. To ensure that the coding is perfect two types
of testing is performed or for that matter is performed or that matter is performed
or for that matter is performed on all systems.
 Criteria Satisfied by Test Cases

1)   Test cases that reduced by a count that is greater than  one, the number of
additional test cases that much be designed to achieve reasonable testing.
2)   Test cases that tell us something about the presence or absence of classes of
errors, rather than an error associated only with the specific test at hand.  

  
S No Test Case Action taken
1  Enter Wrong username and password for Displays error message 
Admin at the login form.
2  Enter correct username and password for Displays Home Page
Admin at the login form
3 Create users of departments PickUp, New Users of these departments
Verifiaction and Legal will be created
4 Register the customer info Customer Info has to be
registered
5 Create a loan information related to a New Loan Info has to be stored
bank Related to that bank
6 Register a customer It registers a new customer

7 Login as customer with correct username Displays customer home page


and password.
8 Select a bank and get the interest rates Displays Interests Rates

9 Apply for the loan Posts the application

10 View the loan applications by logging as Displays new application


admin
11 Forward the application to Pickup from Forwards to an employee in
admin Pickup Dept
12 Forward the application to verification Forwards to Verification Dept
Dept from Pickup dept
13 Forward the application to Admin Dept Forwards to Admin
from Verification Dept
14 Enter Builder Info Creates APF No

15 Update the status of the application by Updates Status


admin finally
16 Check the status Displays current status of the
application
17 Send a message to a user It Sents a message

Screen Shot:
Home page

Admin Login Page


Create Class Page:
Manage Class:
Create Subject page
Manage Subject page
Add Subject Combination page
Manage Subject Combination:
Add Student:
Manage Student:
Add Result:
Manage result:
CODING:
Index page:
<?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{

echo "<script>alert('Invalid Details');</script>";

?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Login</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" > <!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="">
<div class="main-wrapper">

<div class="">
<div class="row">
<h1 align="center">Student Result Management System</h1>
<div class="col-lg-6 visible-lg-block">

<section class="section">
<div class="row mt-40">
<div class="col-md-10 col-md-offset-1 pt-50">

<div class="row mt-30 ">


<div class="col-md-11">
<div class="panel">
<div class="panel-heading">
<div class="panel-title text-center">
<h4>For Students</h4>
</div>
</div>
<div class="panel-body p-20">

<div class="section-title">
<p class="sub-title">Student Result Management System</p>
</div>

<form class="form-horizontal" method="post">


<div class="form-group">
<label for="inputEmail3" class="col-sm-6 control-
label">Search your result</label>
<div class="col-sm-6">
<a href="find-result.php">click here</a>
</div>
</div>

</form>

</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-11 -->
</div>
<!-- /.row -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</section>
</div>
<div class="col-lg-6">
<section class="section">
<div class="row mt-40">
<div class="col-md-10 col-md-offset-1 pt-50">

<div class="row mt-30 ">


<div class="col-md-11">
<div class="panel">
<div class="panel-heading">
<div class="panel-title text-center">
<h4>Admin Login</h4>
</div>
</div>
<div class="panel-body p-20">

<div class="section-title">
<p class="sub-title">Student Result Management System</p>
</div>

<form class="form-horizontal" method="post">


<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-
label">Email</label>
<div class="col-sm-10">
<input type="text" name="username"
class="form-control" id="inputEmail3" placeholder="UserName">
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-2
control-label">Password</label>
<div class="col-sm-10">
<input type="password" name="password"
class="form-control" id="inputPassword3" placeholder="Password">
</div>
</div>

<div class="form-group mt-20">


<div class="col-sm-offset-2 col-sm-10">

<button type="submit" name="login"


class="btn btn-success btn-labeled pull-right">Sign in<span class="btn-label btn-label-right"><i
class="fa fa-check"></i></span></button>
</div>
</div>
</form>
</div>
</div>
<!-- /.panel -->
<p class="text-muted text-center"><small>design</small></p>
</div>
<!-- /.col-md-11 -->
</div>
<!-- /.row -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</section>

</div>
<!-- /.col-md-6 -->
</div>
<!-- /.row -->
</div>
<!-- /. -->

</div>
<!-- /.main-wrapper -->

<!-- ========== COMMON JS FILES ========== -->


<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>

<!-- ========== PAGE JS FILES ========== -->

<!-- ========== THEME JS ========== -->


<script src="js/main.js"></script>
<script>
$(function(){

});
</script>

<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES ==========
-->
</body>
</html>

Add Result page:


<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
if(isset($_POST['submit']))
{
$marks=array();
$class=$_POST['class'];
$studentid=$_POST['studentid'];
$mark=$_POST['marks'];

$stmt = $dbh->prepare("SELECT tblsubjects.SubjectName,tblsubjects.id FROM


tblsubjectcombination join tblsubjects on tblsubjects.id=tblsubjectcombination.SubjectId
WHERE tblsubjectcombination.ClassId=:cid order by tblsubjects.SubjectName");
$stmt->execute(array(':cid' => $class));
$sid1=array();
while($row=$stmt->fetch(PDO::FETCH_ASSOC))
{

array_push($sid1,$row['id']);
}

for($i=0;$i<count($mark);$i++){
$mar=$mark[$i];
$sid=$sid1[$i];
$sql="INSERT INTO tblresult(StudentId,ClassId,SubjectId,marks)
VALUES(:studentid,:class,:sid,:marks)";
$query = $dbh->prepare($sql);
$query->bindParam(':studentid',$studentid,PDO::PARAM_STR);
$query->bindParam(':class',$class,PDO::PARAM_STR);
$query->bindParam(':sid',$sid,PDO::PARAM_STR);
$query->bindParam(':marks',$mar,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
{
$msg="Result info added successfully";
}
else
{
$error="Something went wrong. Please try again";
}
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SMS Admin| Add Result </title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" >
<link rel="stylesheet" href="css/select2/select2.min.css" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<script>
function getStudent(val) {
$.ajax({
type: "POST",
url: "get_student.php",
data:'classid='+val,
success: function(data){
$("#studentid").html(data);

}
});
$.ajax({
type: "POST",
url: "get_student.php",
data:'classid1='+val,
success: function(data){
$("#subject").html(data);

}
});
}
</script>
<script>

function getresult(val,clid)
{

var clid=$(".clid").val();
var val=$(".stid").val();;
var abh=clid+'$'+val;
//alert(abh);
$.ajax({
type: "POST",
url: "get_student.php",
data:'studclass='+abh,
success: function(data){
$("#reslt").html(data);

}
});
}
</script>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">

<!-- ========== TOP NAVBAR ========== -->


<?php include('includes/topbar.php');?>
<!-- ========== WRAPPER FOR BOTH SIDEBARS & MAIN CONTENT
========== -->
<div class="content-wrapper">
<div class="content-container">

<!-- ========== LEFT SIDEBAR ========== -->


<?php include('includes/leftbar.php');?>
<!-- /.left-sidebar -->
<div class="main-page">

<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Declare Result</h2>

</div>

<!-- /.col-md-6 text-right -->


</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i class="fa fa-home"></i>
Home</a></li>

<li class="active">Student Result</li>


</ul>
</div>

</div>
<!-- /.row -->
</div>
<div class="container-fluid">

<div class="row">
<div class="col-md-12">
<div class="panel">

<div class="panel-body">
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong> <?php echo htmlentities($error); ?>
</div>
<?php } ?>
<form class="form-horizontal" method="post">

<div class="form-group">
<label for="default" class="col-sm-2 control-label">Class</label>
<div class="col-sm-10">
<select name="class" class="form-control clid" id="classid"
onChange="getStudent(this.value);" required="required">
<option value="">Select Class</option>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<option value="<?php echo htmlentities($result->id); ?>"><?php echo htmlentities($result-
>ClassName); ?>&nbsp; Section-<?php echo htmlentities($result->Section); ?></option>
<?php }} ?>
</select>
</div>
</div>
<div class="form-group">
<label for="date" class="col-sm-2 control-label ">Student
Name</label>
<div class="col-sm-10">
<select name="studentid" class="form-control stid"
id="studentid" required="required" onChange="getresult(this.value);">
</select>
</div>
</div>

<div class="form-group">

<div class="col-sm-10">
<div id="reslt">
</div>
</div>
</div>
<div class="form-group">
<label for="date" class="col-sm-2
control-label">Subjects</label>
<div class="col-sm-10">
<div id="subject">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" name="submit" id="submit"
class="btn btn-primary">Declare Result</button>
</div>
</div>
</form>

</div>
</div>
</div>
<!-- /.col-md-12 -->
</div>
</div>
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /.main-wrapper -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/select2/select2.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$(".js-states").select2();
$(".js-states-limit").select2({
maximumSelectionLength: 2
});
$(".js-states-hide").select2({
minimumResultsForSearch: Infinity
});
});
</script>
</body>
</html>
<?PHP } ?>

Limitations:
 The size of the database increases day-by-day, increasing the load on the
database back up and data maintenance activity.
 Training for simple computer operations is necessary for the users working on
the system.
 At the Same Time a lot of user’s access this application Data storage and
retrieval will become slower and affect it performance.

Future Enhancement:
The package was designed in such a way that future modifications can be done
easily. In future we want to add much new functionality to “Student Result
Management System”. We want to add Grading facility to students.
Any work may not always be perfect. There may be some error or some defect in
the work. We have taken enough care to make project user friendly and more
interactive. I hope that “Student Result Management System” will be useful to
user.
We never claim that this system may fulfill all the requirement of the entire user in
every condition.

Conclusions and Recommendations


The package was designed in such a way that future modifications can
be done easily. The following conclusions can be deduced from the
development of the project.

 Automation of the entire system improves the efficiency


 It provides a friendly graphical user interface which proves to be
better when compared to the existing system.
 It gives appropriate access to the authorized users depending on their
permissions.
 It effectively overcomes the delay in communications.
 Updating of information becomes so easier.
 System security, data security and reliability are the striking features.
 The System has adequate scope for modification in future if it is
necessary.

Bibliography:
Ref eren ces f or t h e Proj ect Devel opm ent were taken f rom t he
f ol l owi n g Book s an d Web Sit es .
PHP
BEGINNING PHP 5 by DAVE MERCER
PHP AND MYSQL WEB DEVELOPMENT by LUKEWELLING,LAURA
My SQL
PL/SQL Programming by Scott Urman
SQL complete reference by Livion
JAVA Technologies
Java Script Programming by Yehuda Shiran
HTML
HTML Black Book by Holzner

You might also like