Final Report Project
Final Report Project
ON
BACHELOR OF TECHNOLOGY
in
Computer Science and Engineering
DECLARATION
I hereby declare that the major project report which is being presented on, Online
Examination Portal submitted to Prof.Vipin Kr. Kushwaha in the partial fulfillment of
the requirements for the award of the degree of Bachelor of Technology in Computer
Science and Engineering, is an authentic record of our own work.
The matter embodied in this report has not been submitted by me for the award of any other
degree.
HRITIK KUMAR
(2000900100029)
OM SARAN
(2000900100045)
Harsh Deol
(2000900100026)
ii
CERTIFICATE
Date:
iii
ACKNOWLEDGEMENT
We would like to express our sincere thanks to our guide and staff in charge Prof.Vipin Kr.
Kushwaha, Associate Professor, CSE/IT Department, for his vital support, valuable
guidance and for providing us with all facility and guidance for presenting assisting us in
times of need.
We would also take this opportunity to express our heartfelt gratitude to Prof. (Dr.)B.
Sharan, Dean Academics & Head of the Department of Computer Science &
Engineering, for his valuable support and cooperation in the presentation of this paper.
We are thankful to our friend for their lively discussion and suggestions. Finally, we would
like to thank the almighty who have given us all that is required for the successful completion
of my project.
Sincerely
Hritik Kumar
(2000900100029)
Om Saran
(2000900100045)
Harsh Deol
(2000900100026)
iii
Date:
ABSTRACT
In an online examination system examine get their user id and password with his/her admit
card. This id is already saved in the examination server. When examine login to the server
he/she get his/her profile already register. On the certain time examine gets the message to
start the examination. All answers given by examine are saved into the server with his/her
profile information. Online examination system also allows to correct the answer if the
examine needed to change any answer in the examination time duration, however, after the
time duration any change will not allow. This also makes c checking the answer easy and
error proof as computers are more accurate than man and provide fast results too. Php is a
web base language so we can create an online examination system in PHP.
In the world of internet, all task has been done through internet, so we have decide why
Exam has not conducted through internet. For convert current exam system into digital
exam system, we have build this small Online Exam system project. If this system has
build in professional level then it will automate our existing examination system into
digitize exam system. In this system it will required less labor force for execute system and
it will be more accurate and less time consuming and at the same time we can conduct
more person exam at the same time and it will publish result in a very short time. Below
you can find benefits of Online Examination System. If this system has been implemented
then examination will not limited in to four wall of class room, but student can part into
exam from any place.
iii
TABLEOF CONTENTS
DECLARATION ...............................................................................................ii
CERTIFICATE..................................................................................................iii.
ACKNOWLEDGEMENT .................................................................................iv
ABSTRACT .......................................................................................................v
TABLE OF CONTENT………………………………………………….….…vi
LIST OF FIGURES………………………………………………………….....ix
iii
Chapter1: INTRODUCTION…………………………………………………….………1
Chapter2:LITERATURESURVEY……………………………………………….…..…1
-
2.1Initial Investigation……………………………………………………………………….…......1
2.2 Problem Defnation……………………………………………………………………...……....1
2.3 Evaluation of Existing System……………………………………………………..…...1
2.3.1 Proposed System……………………………………………………………….......…2
2.4 Software Selection……………………………………………………………...............3
ix
5.2 Use Case Analysis………………………………………………………...……………....13
5.3Activity Diagram…………………………………………………………………..15
5.4 Sequence Diagram…………………………………………………………..........16
5.5DFD Requirement…………………………………………………………..… ….17
6.1 ER Digram…………………...…………………………………………....…..…21
Chapter7: IMPLEMENTATION………………………………….. 22
Chapter9:CONCLUSIONS………………………………………….........................48
Chapter10:FUTUREIMPROVEMENTS………………….……….........................49
Chapter11:BIBLOGRAPH…………………………………………….………...…50
ix
LIST OF FIGURES
ix
Chapter 1
INTRODUCTION
1.1 PROBLEM STATEMENT
We are going to make an attractive examination portal in which user can create an
account after which user have to sign in to attempt the test.
Most of the currently existing portal we know have some problems like crashing and
getting hanged.
We will try to overcome these problems.
We tried to make this site robust, reliable and it takes less bandwidth to move from
one page to next page.
We have also working on encryption and decryption of the password using some
algo.
DISADVANTAGES
Time Consuming for creating question paper.
Time to check right and wrong answers.
Human error.
1
Limitation of no of student can give examination at a time.
Require teacher to monitor exam centre.
Student needs to come exam centre for giving test.
This application is used to conduct online examination. The students can sit at
individual terminals and login to write the exam in the given duration. . The
questions have to be given to the students. This application will perform correction,
display the result immediately and also store it in database. This application provides
the administrator with a facility to add new exams. This application provides the
Instructor add questions to the exam, modify questions in the exam in a particular
exam. This application takes care of authentication of the administrator, Instructor as
well as the student.
2
2.4 SOFTWARESELECTION
PHP:
PHP is a server-side scripting language designed for web development but also used
as a general-purpose programming language. PHP originally stood for Personal
Home Page, it now stands for PHP: Hypertext Pre-processor, which is a recursive
backronym.PHPcode can be simply mixed with HTML code,or it can be used in
combination with various templating engines and web frameworks. PHP code is
usually processed by a PHP interpreter, which is usually implemented as a web
server's native module or a Common Gateway Interface (CGI) executable.
MySQL:
MySQL is (as of July 2013) the world's second most widely used relational
database management system (RDBMS) and most widely used open-source
RDBMS. The SQL acronym stands for Structured Query Language. The MySQL
development project has made its source code available under the terms of the
GNU General Public License, as well as under a variety of proprietary agreements.
MySQL is a relational database management system (RDBMS), and ships with no
GUI tools to administer MySQL databases or manage data contained within the
databases.
JavaScript:
JavaScript (often shortened to JS) is a lightweight, interpreted, object-oriented
language with first-class functions, and is best known as the scripting language for
Web pages, but it's used in many non-browser environments as well. It is a
prototype-based, multi-paradigm scripting language that is dynamic, and supports
object-oriented, imperative, and functional programming styles.
3
Chapter 3
HARDWARE & SOFTWARE REQUIRMENTS
OperatingSystem : XP/7/10.
Frontend : HTML5, CSS, Js.
Backend : MySQL
Server-SideScripting : PHP
Softwareused : Notepad++, vs code.
4
Chapter 4
This software system is very essential for every educational institution has it
reduces Man Effort. Computer-based tests as a method of conducting an
assessment enable users to manage an exam easily. The flexibility associated
with computer-based tests reduces exam anxiety among test takers. Online
examination managed avoids the possibilities of secretly using unfair means to
get the right answers. Organizing and running exams online not only reduces
an organization’s administrative burden but also saves cost and time with safe
and secure data.
This website is designed for the web-based browsers. There should be an internet
connection for appearing these tests. This interface is very easy and can be
maintained by anyone. This familiar GUI will make the user feel more comfortable
navigating and viewing the data on our system. Once our application is loaded into
browser it allows user to give online test and make themselves improved.
Admin:
Admin has right to create batches, test series, create question bank and student with
5
limited controls and permission. Admin has authority to managing everything inside the
application like batch management, student management, test series with section
management and question bank management. Admin can use software easily to conduct
online exam in institute.
User:
In this panel, student can register with user’s details and start the test at particular time
which set by admin. Complete test and get results in Score Card, Question Report &
answer report.
The Functional Requirements Specification documents the operations and activities that
a system must be able to perform.
6
Functional Requirements should include:
Login Form: In this login form login option is provided to login. The admin
or user can login to the software the administrator will be responsible for
adding new user, new account and new group, this information will be
stored in the login table.
Registration Module: A registered user is a user of a website, program, or
previouslyregistered.Registeredusersnormallyprovidesomesortofcredentials(
suchasausername or e-mail address, and a password) to the system in order
to prove their identity: this is known as logging
Admin Module: Configuration, and reliable operation of computer systems;
especially multi-user computers, such as servers. The system administrator
seeks to ensure that the uptime, performance, resources, and security of
the computers they manage meet the needs of the users, without
exceeding a set budget when doing.
7
4.5 NON-FUNCTIONAL REQUIREMENTS
Availability
Backup
A backup, or data backup is a copy of computer data taken and stored elsewhere so
that it may be used to restore the original after a data loss event Backups can be
used to recover data after its loss from data deletion or corruption, or to recover
data from an earlier time. Backups provide a simple form of disaster recovery;
Certification
It refers to the confirmation of certain characteristics of an object, person, or
organization. This confirmation is often, but not always, provided by some form of
external review, education, assessment,or audit. Accreditation is a specific
organization's process of certification.
9
Compliance
Compliance means conforming to a rule, such as a specification, policy, standard or law.
Regulatory compliance describes the goal that organizations aspire to achieve in their
efforts to ensure that they are aware of and take steps to comply with relevant laws,
policies, and regulations.
Configuration management
Configuration management is a systems engineering process for establishing and
maintaining consistency of a product's performance, functional, and physical attributes
with its requirements, design, and operational information throughout its life. The CM
process is widely used by military engineering organizations to manage changes
throughout the system lifecycle of complex systems, such as weapon systems, military
vehicles, and information systems.
Capacity
Channel capacity, in electrical engineering, computer science, and information
theory, is the tight upperbound on the rate at which information can be reliably
transmitted over a communication channel.
Disaster Recovery
Disaster Recovery involves a set of policies, tools and procedures to enable the
recovery or continuation of vital technology infrastructure and systems following a
natural or human-induced disaster. Disaster recovery focuses on the IT or technology
systems supporting critical business functions,
Extensibility
Extensibility is a software engineering and systems design principle that provides for
future growth. Extensibility is a measure of the ability to extend a system and the
level of effort required to implement the extension.
10
Maintainability
Maintainability is the ease with which a product can be maintained in order to: correct
defects or their cause, repair or replace faulty or worn-out components without having
to replace still working parts, prevent unexpected working conditions, maximize a
product's useful life, and maximize efficiency, reliability, and safety, meeting to new
requirements.
Network topology
Network topology is the arrangement of the elements (links, nodes, etc.) of
a communication network. Network topology can be used to define or
describe the arrangement of various types of telecommunication networks,
including command and control radio
networks, industrial field buses and computer networks.
Durability
Durability is the ability of a physical product to remain functional, without requiring
excessive maintenance or repair, when faced with the challenges of normal operation
over its design lifetime. There are several measures of durability in use, including years
of life, hours of use, and number of operational
cycles.]In economics, goods with a long usable life are referred to as durable goods
11
Chapter 5
SYSTEM DEFINATION
A system architecture or systems architecture is the conceptual model that defines the
structure, behavior, and is organized in a way that supports reasoning.
12
5.2 –USE CASE ANALYSIS (Use case diagrams)
Ausecasediagramisagraphicdepictionoftheinteractionsamongtheelementsofasystem.
Ausecaseis a methodology used in system analysis to identify, clarify, and organize
system requirements.
13
5.3 ACTIVITY DIAGRAM
14
Activity Diagram in Admin Side
15
5.4 SEQUENCE DIAGRAM
Fig5.5:Sequence diagram
16
5.5 DFD REQUIREMENT
A Data Flow Diagram (DFD) is a structured analysis and design tool that can be used for
flowcharting. A DFD is a network that describes the flow of data and the processes that
change or Trans form the data throughout a system. This network is constructed by
using a set of symbols that do not imply any physical implementation. It has the purpose
of clarifying system.
EXTERNAL ENTITY
An external entity is a source or destination of a data flow. Only those entities which
originate or receive data are represented on a data flow diagram. The symbol used is a
rectangular box.
PROCESS
A process shows a transformation or manipulation of data flow within the system. The
symbol used is an oval shape.
DATAFLOW
The data flow shows the flow of information from a source to its destination .Data flow is
represented by a line, with arrow heads showing the direction of flow. Information always
flows to or from a process and may be written, verbal or electronic.
DATA STORE
A data store is a holding place for information within the system: It is represented by an
open-ended narrow rectangle. Data stores may belong-term files such as sales ledgers,
or may be short-term accumulations: for example, batches of documents that are waiting
to be processed. Each data store should be given a reference followed by an arbitrary
number.
17
DFD Level 0
18
19
Chapter 6
6.1 ER DIAGRAMS
20
Fig6.4:Complete ER-DIAGRAM
21
Detailed Design
Conceptual design in itself is not the end of the design process, rather it serves as a basis for the
detailed MIS design. The performance requirements specified by the conceptual design become
inputs to the detailed design phase , in which these are further refined ,detailed and finalized to be
called. Thus ,the main objective of the detailed design is to prepare a blue print of a system that meets
the goals of the conceptual system design requirements. Detailed design involves the following
phases.
DATA-BASED SIGN
Databases are the storehouses of data used in the software systems. The date is stored in
tablesinsidethedatabase.Severaltablesarecreatedforthemanipulationofthedataforthesystem.Twoesse
ntialsettingsfor a database are-PRIMARY KEY- the field that is unique for all the record
occurrences. FOREIGN KEY-thefield used to set relation between tables.
Normalization is a technique to avoid redundancy in the tables. Database normalization is the
process of organizing the fields and tables of a relational database to minimize
redundancy.Normalizationusuallyinvolvesdividinglargetablesintosmaller(andlessredundant)tablesa
nddefiningrelationshipsbetweenthem. The objective is to isolate data so that additions, deletions,
and modifications of a field can be made in just one table and then propagated through the rest of
the database using the defined relationships.
TYPES OF NORMALIZATIONS
First Normalization Form (1 NF)
Second Normalization Form (2 NF)
Third Normalization Form (3 NF)
Boyce-cod Normalization Form (BCNF)
22
TABLE STRUCTURE
User Table:
23
Table 6.1: User table
Admin Table:
Subject table:
24
Chapter 7
IMPLEMENTATION
7.2 SCREENSHOTS
Login
25
Fig7.2.1: Admin login
Dashboard:
26
Examination portal:
Examinee Result:
27
Result:
Feedback:
28
7.3 Code
Index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Online Exam</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="src/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="src/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="src/css/style.css">
<style type="text/css">
html {
scroll-behavior: smooth;
}
</style>
</head>
<body>
<nav class="navbar navbar-fixed-top" id="navbar">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-
target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Online Exam</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
29
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#developers">Developers</a></li>
<li><a href="register.php">Register</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Login
<ul class="dropdown-menu">
<li><a href="userlogin.php">User Login</a></li>
<li><a href="admin/login.php">Admin Login</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 coverBg">
<div class="coverText">
<h1 class="heroText">Online Examination System</h1>
<p>Online Examination System has become a fast growing examination method because of
its speed and accuracy</p>
<br>
<a href="register.php">Register</a>
</div>
</div>
</div>
</div>
<br>
30
</ul>
</div>
<div class="footer-items">
<h1>Quick Links</h1>
<div class="border"></div>
<ul>
<a href="https://www.W3schools.com/"><li>W3schools</li></a>
<a href="https://www.Javatpoint.com/"><li>Javatpoint</li></a>
<a href="https://www.geeksforgeeks.org/"><li>GeeksForGeeks</li></a>
<a href="https://www.TutorialsPoint.com/in/"><li>TutorialsPoint</li></a>
<a href="https://www.edureka.co/"><li>Edureka</li></a>
</ul>
</div>
<div class="footer-items">
<h1>Contact Us</h1>
<div class="border"></div>
<ul>
<li><i class="fa fa-university" aria-hidden="true"></i>Brindavan College</li>
<li><i class="fa fa-phone" aria-hidden="true"></i>+91 6207473452</li>
<li><i class="fa fa-phone" aria-hidden="true"></i>+91 9801775502</li>
<li><i class="fa fa-envelope" aria-
hidden="true"></i><a href="#">piyushkant2016@gmail.com</a></li>
<li><i class="fa fa-envelope" aria-
hidden="true"></i><a href="#">princeaditya678@gmail.com</a></li>
</ul>
<div class="social-media">
<a href="https://www.facebook.com/"><i class="fa fa-facebook" aria-
hidden="true"></i></a>
<a href="https://twitter.com/"><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a href="https://www.instagram.com/"><i class="fa fa-instagram" aria-
hidden="true"></i></a>
<a href="https://in.linkedin.com/"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
31
</div>
32
<a href="#"><li>Home</li></a>
<a href="#services"><li>Services</li></a>
<a href="#developers"><li>Developer Contact</li></a>
<a href="#about"><li>About us</li></a>
<div class="container-fluid">
<div class="row about-bg" style="margin-top:-19.55px;" id="about">
➤User have to register itself by filling all the detail mentioned in the form.
<br>➤Login at least before 15 min with your email id and password on the date & time giv
en for ur choosen subject's exam.
<br>➤Fill the answersheet by choosing one of the option(MCQ), answer will be submitted
automatically.
<br>➤Result will be published on specific date and time.
</div>
</script>
</body>
</html>
getregister.php
<?php
$filepath = realpath(dirname(__FILE__));
include_once ($filepath.'/classes/User.php');
$usr = new User();
function register($data){
global $usr,$registerMsg;
$name = $data['name'];
$fname = $data['fname'];
$dob = $data['dob'];
$gender = $data['gender'];
$address = $data['address'];
33
$contact = $data['contact'];
$collage= $data['collage'];
$subject= $data['subject'];
$email = $data['email'];
$password = $data['password'];
$registerMsg = $usr-
>userRegistration($name,$fname,$dob,$gender,$address,$contact ,$collage,$subject,$email,
$password);
$registerMsg=trim($registerMsg);
if($registerMsg=='exist')
{
$data['msg']='<div class="alert alert-warning text-
center"> <strong>Warning!</strong> Email Address Already Exist! Please a
nother Email</div>';
}elseif($registerMsg=='success'){
header('Location: userlogin.php?'.$registerMsg);
}elseif($registerMsg=='Not Register'){
$data['msg']='<div class="alert alert-warning text-
center"><strong>Warning!</strong> Error..Not Registered!!!</div>';
}
return $data;
}
?>
Register.php
<?php
$filepath = realpath(dirname(__FILE__));
include_once ($filepath.'/classes/Exam.php');
$exm = new Exam();
include 'inc/header.php';
include 'getregister.php';
34
$subject = $exm->getSubjects();
$data=array_fill_keys(array('name','fname','dob','gender','address','contact','collage','email','p
</div>
<div class="col-md-6">
<div class="form-group">
<label for="contact">Contact No. *</label>
<input type="number" name="contact" id="contact" value="<?php echo $data['contact']?
>" class="form-control" required/ >
</div>
<div class="form-group">
<label for="collage">Name of Collage *</label>
<input type="text" name="collage" id="collage" value="<?php echo $data['collage']?>" cl
ass="form-control" required/>
</div>
<div class="form-group">
<label for="sub">Subject *</label>
<select name="subject" id="sub" class="form-control">
<option value="selectCourse">Select Course</option>
<?php
if($subject){
while($result = $subject->fetch_assoc()){
?>
35
</div>
<div class="form-group">
<div class="panel-body">
<?php echo $data['msg'];?>
<span id = "state" class="msg"></span>
<form action="" method="post" id="registerForm" onSubmit="return check();">
<div class="col-md-6">
<div class="form-group">
<label for="name">Name *</label>
<input type="text" name="name" id="name" value="<?php echo $data['name']?>"class="fo
rm-control" required/>
</div>
<div class="form-group">
<label for="fname">Father's Name *</label>
<input type="text" name="fname" id="fname" value="<?php echo $data['fname']?>" class=
"form-control" required/>
</div>
<div class="form-group">
<label for="dob">Date Of Birth *</label>
<input type="date" name="dob" id="dob" value="<?php echo $data['dob']?>" class="form-
control" min="1980-01-01" max="<?=date('Y-m-d');?>" required/>
</div>
<div class="form-group">
<label for="gender">Gender *</label>
<select name="gender" id="gender" class="form-control">
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
<div class="form-group">
<label for="address">Address *</label>
36
<textarea class="form-
control" rows="5" name="address" id ="address" required/><?php echo $data['address']?></text
area>
</div>
<style type="text/css">
select {
border: 1px solid #ddd;
margin-bottom: 10px;
padding: 8px 10px;
width: 100%;
</style>
<div class="form-group">
<label for="dob">Date Of Birth *</label>
<input type="date" name="dob" id="dob" value="<?php echo $data['dob']?>" class="form-
control" min="1980-01-01" max="<?=date('Y-m-d');?>" required/>
</div>
<div class="form-group">
<label for="gender">Gender *</label>
<select name="gender" id="gender" class="form-control">
<option value="male">Male</option>
</div>
<div class="form-group">
<label for="email">E-mail *</label>
var errorPassLen='<div class="alert alert-
warning"><strong>Warning!</strong> Please Enter Minimum 8 Characters</div>';
var contact=$('#contact').val().toString().length;
var passLength=$('#password').val().toString().length;
if(passLength!=8){
$('.msg').html(errorPassLen);
return false;
}
if(contact!=10){
$('.msg').html(errorCont);
return false;
}
38
if($('#sub').val()=="selectCourse"){
$('.msg').html(errorSub);
return false;
}
if($('#password').val() === $('#repassword').val()){
return true;
}else{
$('.msg').html(errorPass);
return false;
}
</script>
<?php include 'inc/footer.php';?>
Login.php
admin
<?php
$filepath = realpath(dirname(__FILE__));
include_once("../lib/Session.php");
include_once ($filepath.'/../classes/Admin.php');
$ad = new Admin();
Session::checkAdminLogin();
$adminExist=$ad->getAdminExisting();
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: pre-check=0, post-check=0, max-age=0");
header("Pragma: no-cache");
header("Expires: Mon, 6 Dec 1977 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
?>
39
<?php
if($adminExist){
if($_SERVER['REQUEST_METHOD'] == 'POST'){
$adminData = $ad->getAdminData($_POST);
}
}else{
if($_SERVER['REQUEST_METHOD'] == 'POST'){
$adminReg = $ad->addAdminData($_POST);
if($adminReg){
echo "<script> alert('Register Successfully');
window.location='login.php';
</script>";
}
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<link rel="stylesheet" href="../src/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/login.css">
</head>
<body>
<div class="loginPage">
40
<?php if($adminExist)
{
?>
<div class="loginBox">
<h2>Admin Login</h2>
</div>
<div class="form-group">
<label for="repassword">Re-Enter Password *</label>
<input type="password" name="password" id="repassword" class="form-
control" required/>
</div>
</div>
<button type="submit" id="regsubmit" class="btn btn-primary reg-
btn" name="submit" value="addUser">
Register Now
</button>
</form>
<br>
<div style="font-size: 16px;text-
align:center;">Already Registered ? <a href="userlogin.php">Login</a> Here</div>
</div>
</div>
<script>
function check(){
var errorPass='<div class="alert alert-
warning"><strong>Warning!</strong> Password Does Not Match!<br> Please Re-Enter.</div>';
var errorSub='<div class="alert alert-
warning"><strong>Warning!</strong> Please Select Subject</div>';
var errorCont='<div class="alert alert-
warning"><strong>Warning!</strong> Please Enter Currect Contact No.</div>';
var errorPassLen='<div class="alert alert-
41
warning"><strong>Warning!</strong> Please Enter Minimum 8 Characters</div>';
var contact=$('#contact').val().toString().length;
var passLength=$('#password').val().toString().length;
if(passLength!=8){
$('.msg').html(errorPassLen);
return false;
<?php
if(isset($adminData)){
echo $adminData;
}
?>
<img src="../img/user.png" class="user">
<form action="" method="post">
<p>Username</p>
<input type="text" name="adminUser" placeholder="Enter Username" required/>
function check(){
var passLength=$('#pass').val().toString().length;
if(passLength!=8){
$('.msg').html(errorPassLen);
return false;
}
if($('#pass').val() === $('#repass').val()){
return true;
}else{
$('.msg').html(errorPass);
return false;
}
}
</script>
</html>
42
Userlogin.php
<?php
$filepath = realpath(dirname(__FILE__));
include_once ($filepath.'/inc/header.php');
include_once ($filepath.'/../classes/User.php');
$usr = new User();
if($_SERVER['REQUEST_METHOD'] == 'POST'){
$email= $_POST['email'];
$password =($_POST['password']);
$userlogin = $usr->userLogin($email,$password);
}
?>
<?php
$msg="";
Session::checkLogin();
?>
<?php
if (isset($_GET['success'])) {
center">Registration Successfully Complete<br> please Login Here</div>';
}
?>
</style>
<p>Email</p>
<input type="email" name = "email" placeholder="Enter Email">
<p>Password</p>
<input type="password" name = "password" placeholder="Enter Password" id="password">
<input type="submit" name = "" value="Log In" id="loginsubmit">
<a href="forget.php"> Forget Password</a>
<hr>
<div style="font-size: 16px;text-
</form>
43
</div>
<div class="msg">
<span class="empty" style ="display:none">Field Must Not be Empty !</span>
<span class="error" style ="display:none">Email or Password not Matched !</span>
<span class="disable" style ="display:none">User ID Disable !</span>
</div>
</div>
<script type = "text/javascript" src="src/jquery/jquery.js"></script>
<script type = "text/javascript" src="jvascrpt/main.js"></script>
</body>
</html>
44
Chapter 8
TESTINGAND RESULT
Testing
isaprocessofexecutingaprogramwithintentoffindinganerroritpresentsaninterestingano
maly for the softwareengineering.
The goal of the software testing is to convince system developer and customers that
the software is good enough for operational use. Testing is a process intended to
build confidence in the software.
Testingisasetofactivitiesthatcanbeplannedinadvanceandconductedsystematicallyitiso
ftenreferred to as verification & validation.
Unit testing is usually conducted as part of a combined code and unit test phase of
the software lifecycle, although it is not uncommon for coding and unit testing to be
conducted as two distinct phases.
8.1.2 SYSTEM TESTING
Systemtestingisactuallyaseriesofdifferenttestswhoseprimarypurposeisfullytoexercis
ethecomputer- based system. The system tests that where applied are recovery
testing and performance testing. Finally a review or audit is conducted which is a
final evaluation that occurs only after operating the system long enough for user to
have gained a familiarity with it. System testing was done by the inspection team to
verify that all the functionality identified is the software requirement specification
has been implemented.
8.1.3 ACCEPTANCE TESTING
User acceptance of the system is the key factor for the success of any system. This
is done by user. The system is given to the user and they test it with live data.
Acceptance testing involves the planning and execution of function.
45
8.1.4 TESTING REPORT
This document describes the plan for testing. This course is for scheduling software
engineering. All the major activities are specified here. No additional testing is
added other than this.
User Loginmodule
Register module
Admin loginmodule
Here we have specified all the test cases that are to be used for the system testing,
The below table shows the global error messages which were designed during the
testing process for all modules.
46
Register Module:
47
Chapter 9
CONCLUSION
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.
System security, data security and reliability are the striking features.
48
Chapter 10
FUTURE IMPROVEMENT
This application avoids the manual work and the problems concern with it. It is an easy
way to obtain the information regarding the different scheduled examinations information
that are Currently issued.Well, I and my team members have worked hard in order to
present an improved website better than the existing one’s regarding the information about
the various activities. Still, we found out that the project can be done in a better way.
Primarily, when we request information about a particular schedule it just shows the exam
date and platform. So, after getting the information we can get access to the online exam.
The enhancement that we can add
the searching option. We can directly search to the particular student details
from this site.
the payment option. We can receive the exam payment online.
we can use AI like chatbot to help users.
49
Chapter 11
BIBLIOGRAPHY
Good teachers are worth more than thousands of books, we have them in our department.
BOOK REFERENCE
WEBSITES
[1] www.stackoverflow.com
[2] www.youtube.com
[3] https://www.php.net
[4] www.google.com
[5] www.w3schools.com
50