Professional Documents
Culture Documents
Online Examination Project
Online Examination Project
A
PROJECT REPORT
On
SUBMITTED TO
SHIVAJI UNIVERSITY, KOLHAPUR
BY
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
University, Kolhapur has been carried out by him under my guidance satisfactorily
Date:
Place: Sangli
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
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.
Requirement Engineering:-
Requirement Gathering:-
1] Support high concurrency;
at a time and display the result as the test gets over.so no need to
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>
<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>
<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>
<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.