Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 32

Deccan Education Society’s

WILLINGDON COLLEGE SANGLI


2020 – 2021

A
PROJECT REPORT
On

“Online Examination System”

SUBMITTED TO
SHIVAJI UNIVERSITY, KOLHAPUR

IN PARTIAL FULFILLMENT OF REQUIREMENT

FOR THE REWARD OF DEGREE OF

B.Sc (Computer Science) (Entire)

BY

Mr.Shubham Sadashiv Patil


Mr.Deepak Madev Mane

Under The Guidance Of


Asst Prof. Mr.Rahul Patil Sir
Deccan Education Society’s
WILLINGDON COLLEGE, SANGLI

CERTIFICATE
This is to certify that the project work entitled “ONLINE EXAMINATION
SYSTEM” is a bonafide work carried out by Mr.Shubham Sadashiv Patil
and Mr.Deepak Mahdev Mane in partial fulfillment

of the requirement for award of B.Sc. (Computer Science) (Entire) of Shivaji

University, Kolhapur has been carried out by him under my guidance satisfactorily

during the academic year 2020-2021.

Date:
Place: Sangli

Signature Of Guide Signature Of Co-Ordinator


Asst. Prof. Mr.Rahul Patil Sir Prof.Mr.V.S.Patil.
Department of comuter science(entire)
DECLARATION

To,
The Principal,
Willingdon College,
Sangli
Respected Sir,
I undersigned hereby declare that the project entitled “ONLINE EXAMINATION
SYSTEM” developed under the guidance of Asst. Prof. Mr.RAHUL PATIL
SIR is my original work. The reports generated in the project work are based on
the information collected by me. I have not copied from any other project report
submitted to Shivaji University, Kolhapur earlier.

Date:
Place: Sangli

Student Name Sign


.
Mr. Shubham Sadashiv Patil Mr.Deepak Mahadev Mane
ACKNOWLEDGEMENT
It gives me great pleasure to express my gratitude to Asst Prof. Mr.Rahul Patil
Sir for her valuable guidance and suggestions during the entire session of this
project. Her evaluations and suggestions have helped me enormously in the
completion of this project.
I am highly grateful to Prof. Mr.V.S.Patil., Head of Computer Science department
for providing necessary facilities during the course of project work.
I also wish to express my sincere thanks to the Principal, all teaching and non-
teaching staff of department for their extra-ordinary support throughout the period
of my project.

Date:
Place: Sangli
index
SR.NO TITLE PAGE NO.
1 Introduction to project
1.1 Introduction
1.2 Existing System
1.3 Need and Scope of computer system
2 Proposed System
2.1 Objectives
2.2 Requirement Engineering
2.2.1 Requirement Gathering
2.2.2 Software Requirement Specification
3 System Analysis
3.1 System Design
3.1.1 Data flow Diagram
3.1.2 Entity Relationship Diagram

4 System Design
4.1 Database Design
4.2 Input Design
4.3 Output Design
5 Implementation
5.1 System Requirement
5.1.1 Hardware Requirement
5.1.2 Software Requirement
5.2 User Guideline (Manual)
6 Outputs
6.1 Reports
7 Conclusion & Future Enhancements
7.1 Conclusion
7.2 Future Enhancement
8 Bibliography
INTRODUCTION
[1] Online examination system is considered a fast
developing examination method because of its accuracy
and speed.
[2]The administrator,instructor , students who are
attending for online examination can communicate with
the system through this project.
[3]Candidates can appear for the exam using any
desktop or laptop with any browser.
[4]Exam result can be generated instantly for the
objective type of questions.
[5]Organization can also easily monitor the progress of
the student through an examination.

EXISTING SYSTEM
The Whole process of assigning test and evaluation
their scores after the test, was done manually till date.
Processing the test paper i.e checking and distribution
respective used to take time when the software was not

installed.

NEED AND SCOPE OF COMPUTER


SYSTEM
*This can be used in educational institutions as well as in
corporate world.
*Can be used anywhere any time as it is a way based
application.
*No restriction that examiner has to be present when the
candidate takes test.
*The type of question is only multiple choice.
PROPOSED SYSTEM
The modern computerized system is developed with the
aim to overcome the drawbacks of existing manual
system. We have study manual examination system of
ABC college and identify possible automation. The
proposed system has got many advantages. People from
different parts of the world can register very easily. The
new system is more personalized. It is maze in such a
manner that all the new users can understand all the
options in it very easily. It is made in a quick and easy
referential manner. Access to all important matters are not
always locked and can be opened easily at the time of
urgency. The advantages of proposed system are that
security is maintained in the new system. Securities for all
important data are maintained confidentially. As it is
easily understandable and user friendly, quick entries can
be made in this system
Objective:-
• To develop online base live exam system thus the
examination process could be monitored in live mode and
participant can attend in the exam remotely.

Requirement Engineering:-

Requirement Gathering:-
1] Support high concurrency;

2] To enable student to take exams anytime and


anywhere;

3] Realize the function of adding test questions and test


paper online ;

4] Support test question management ,test paper


management ,easy to classify management;

5] Add candidates online and answering on multiple


platforms , such as computer and mobile phones;

6] Achieve candidates online answering on multiple


platforms,such as computer and mobile phones;

7] Achieve online query results.

Software Requirement Specification:-


1] It save time as it allows number of students to give the exam

at a time and display the result as the test gets over.so no need to

wait for the result.it is automatically generated by the server.

2] Administrator has a privilege to create,modify and delete the

test paper and its particular questions.


Data flow Diagram:-
System Design:-
1]Database Design:-
I. Table Add Exam:-
II. Table User Info-

III. Table Add Question:-


IV. Table Result-

Implementation :-
Software Requirements:-
Operating System:-Windows 7 or above
Visual Studio 2010
SQL Server 2008
Used Technologies:- PHP, javascript , BootSharp, SQL, HTML,
CSS.

Hardware Requirements:-
Processor:-Intel Core i3 or above
RAM:-4GB or above
Storage:-160GB or above
Keyboard and Mouse

Outputs:-
1. Home PageCode-
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta charset="UTF-8"> <meta name="viewport"
content="width=device-width,
initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/boot
strap.min.css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.m
in.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstr
ap.min.js"></script>
<title>Online Examination System</title>
<style>
.header{font-size:3rem;color:gray}
html{font-size:62.5%;}
@media(max-width:900px)
{
html{
font-size:60%;
}
}
@media(max-width:600px)
{
html{
font-size:40%;
}
}
</style>
</head>
<body style="background-image:url('bg.jpeg');background-
repeat:no-repeat;backgroundsize:cover;"
oncontextmenu="return false" oncopy="return false"
onpaste="return false">
<div class="navbar-inverse">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-
target="#menu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>

<div class="collapse navbar-collapse" id="menu">


<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="home.php">Home</a></li>
<li ><a href="signup.php">Sign-Up</a></li>
<li><a href="login.php">Login</a></li>
</ul>
</div>

</div>
<br></br>
<center><p class="header">Welcome To Online Examination
System</p> </center>
</body>
</html>

Output-
2. Sign-Up PageCode-

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta charset="UTF-8"> <meta name="viewport"
content="width=device-width,
initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/boot
strap.min.css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.m
in.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstr
ap.min.js"></script>
<title>Sign-Up </title>
<style>
.header{font-size:3rem;color:gray}
html{font-size:62.5%;}
@media(max-width:900px)
{
html{
font-size:60%;
}
}
@media(max-width:600px)
{
html{
font-size:40%;
}
}
.bg{background-color:#e5f5ff;opacity:0.8;border:2px solid
black;}
</style>
</head>
<body style="background-image:url('bg.jpeg');background-
repeat:no-repeat;backgroundsize:cover;"
oncontextmenu="return false" oncopy="return false"
onpaste="return false">
<div class="navbar-inverse">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-
target="#menu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>

<div class="collapse navbar-collapse" id="menu">


<ul class="nav navbar-nav navbar-right">
<li><a href="home.php">Home</a></li>
<li class="active"><a href="signup.php">Sign-Up</a></li>
<li><a href="login.php">Login</a></li>
</ul>
</div>

</div>
<br>
<center><p id="txt"></p> </center>

<div class="container">
<div class="row">
<div class="col-sm-4"> </div>
<div class="col-sm-4">
<div class="card bg">
<div class="row">
<div class="col-sm-2"> </div>
<div class="col-sm-8">
<br>
<form method="post" action="signup.php">
<center> <label id="labelmsg"> </label> </center>
<br>
<input type="text" class="form-control" placeholder="Name"
autofocus name="name"
autocomplete="off" required="">
<br/>
<input type="radio" required="" name="gender" checked
value="male">Male <input
type="radio" required="" name="gender"
value="female">Female
<br/> <br/>
<input type="text" class="form-control"
placeholder="Username" name="username"
autocomplete="off" required="" >
<br/>
<input type="password" class="form-control"
placeholder="Password" name="password"
required="">
<br/>
<input type="number" class="form-control"
placeholder="Mobile" name="mobile"
required="">
<br/>
<input type="email" class="form-control" placeholder="Email"
name="email"
autocomplete="off" required="">
<br/>
<br/>
<center>
<input type="submit" class="btn btn-success" value="Create
Account" name="btn_acc">
<input type="reset" class="btn btn-success" value="Cancel">
</center>
</form>
<br></div>
</div>
</div>
</div>
<div class="col-sm-4"> </div>
</div>
</div>
</body>
</html>
<?php
if(isset($_POST["btn_acc"]))
{
require "makeconnection.php";
if(chkUsername($_POST["username"]))//for checking username
is available or
not
{
echo "<script> alert('username is not available'); </script>";
}
else
{
//To register new user
$result=$con->query("insert into
tbl_signup(role,block,name,gender,username,password,mobile,e
mail)
values(0,1,'".$_POST['name']."','".$_POST['gender']."','".
$_POST['username']."','".$_POS
T['password']."','".$_POST['mobile']."','".$_POST['email']."')");
if($result)
{
echo "<script> alert('Your account has been created
successfully...'); </script>";
}
}
}
function chkUsername($unm){
$cnt=0;
require "makeconnection.php";
$result=$con->query("select * from tbl_signup");
while($row=$result->fetch_assoc())
{
if($unm==$row["username"])
{
$cnt++;
}
}
if($cnt>0)
{
return true;
}
else
{
return false;
}
}
?>
3. Login Page Code –
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta charset="UTF-8"> <meta name="viewport"
content="width=device-width,
initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/boot
strap.min.css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.m
in.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstr
ap.min.js"></script>
<title>Login </title>
<style>
.header{font-size:3rem;color:gray}
html{font-size:62.5%;}
@media(max-width:900px)
{
html{
font-size:60%;
}
}
@media(max-width:600px)
{
html{
font-size:40%;
}
}
.bg{background-color:#e5f5ff;opacity:0.8;border:2px solid
black;}
</style>
<script>
function f()
{
var c=document.getElementById("chkbox");
var p=document.getElementById("password");
var l=document.getElementById("chklabel");
if(c.checked==true)
{
p.type="text";
l.innerHTML="Hide Password";
}
else
{
p.type="password";
l.innerHTML="Show Password";
}
}
</script>
</head>
<body style="background-image:url('bg.jpeg');background-
repeat:no-repeat;backgroundsize:cover;"
oncontextmenu="return false" oncopy="return false"
onpaste="return false">
<div class="navbar-inverse">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-
target="#menu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>

<div class="collapse navbar-collapse" id="menu">


<ul class="nav navbar-nav navbar-right">
<li><a href="home.php">Home</a></li>
<li ><a href="signup.php">Sign-Up</a></li>
<li class="active"><a href="login.php">Login</a></li>
</ul>
</div>

</div>
<br>
<center><p class="header">Login</p> </center>

<div class="container">
<div class="row">
<div class="col-sm-4"> </div>
<div class="col-sm-4">
<div class="card bg">
<div class="row">
<div class="col-sm-2"> </div>
<div class="col-sm-8">
<br>
<form action="login.php" method="post">
<center> <label id="labelmsg"> </label> </center>
<br/>
<input type="text" class="form-control"
placeholder="Username" autocomplete="off"
name="username" required="" autofocus>
<br/>
<input type="password" class="form-control"
placeholder="Password" name="password"
required="" id="password">
<br/>
<input type="checkbox" id="chkbox" onclick="f()"><label
id="chklabel">Show
Password</label>
<br/> <br/>
<center>
<input type="submit" class="btn btn-success" value="Login"
name="btn_login">
</center>
</form>
<br></div>
</div>
</div>
</div>
<div class="col-sm-4"> </div>
</div>
</div>

</body>
</html>
<?php
if(isset($_POST["btn_login"]))
{
require "makeconnection.php";
$cnt=0;
//for admin
$result=$con->query("select * from tbl_signup where
username='".$_POST['username']."' and password='".
$_POST['password']."' and
role=1");
while($row=$result->fetch_assoc())
{
$cnt=1;
}
if($cnt==1)
{
session_start();
$_SESSION["user"]=$_POST['username'];
header("Location:http://localhost/project/admin/admin_dashboar
d.php");
}
else
{
//for user
$result=$con->query("select * from tbl_signup where
username='".$_POST['username']."' and password='".
$_POST['password']."' and role=0
and block=1");
while($row=$result->fetch_assoc())
{
$cnt=2;
}
if($cnt==2)
{
session_start();
$_SESSION["user"]=$_POST['username'];
header("Location:http://localhost/project/user/user_dashboard.p
hp");
}
else
{
echo "<script> alert('Login Failed...'); </script>";
}
}
}
?>
Conclusion :-
Online examination system is a
user friendly system, which is very easy and
convenient to use. The system is complete in the
sense that it is operational and it is tested by entering
data and getting the reports in proper order. But
there is always a scope for improvement and
enhancement. During the development of this,coding
standards are followed for easy maintainability and
extensibility.

Reference and Bibliography:-


 Book : Php And Mysql In Easy by Mike Mcgrath
 Book : Beginning PHP and MySQL by Jason Gilmore
 www.programmer2programmer.net
 www.readymadeproject.coom
 http://ajprofessionals.googlepages.com/
 www.wikipedia.org
 www.php.net

You might also like