You are on page 1of 53

A

PROJECT REPORT
ON
Online Examination System
Submitted in partial fulfillment for award of the
POST GRADUATE DIPLOMA IN COMPUTER APPLICATION(PGDCA)
OF

GAUHATI UNIVERSITY
SESSION 2023-2024

SUBMITTED BY
PAROMITA ROY
PGDCA 2nd SEMESTER
Roll No: _ MS-221-162-0012
Registration No: _075993

Guided by-
GUIDED TEACER
ASSTT. PROFESSOR
Dept. of Computer Science, B.N College

BACHELOR OF SCIENCE (BSC IN COMPUTER SCIENCE)


B.N COLLEGE, DHUBRI (ASSAM)
TO WHOM IT MAY CONCERN

This to certify that the project entitled “ONLINE EXAMINATION SYSTEM” of B.N. College is
benefited work done by Paromita Roy B.N. College, Dhubri bearing Roll No: MS-221-162-0012 and
Registration no. 075993 of 2020-21 “B.N. College, Dhubri” in fulfillment of the requirement for the
award of the PGDCA and have been carried out this project under my supervision.

During the project work, she has successfully completed the study of submitted the report.
This report or a similar report on the topic have not been submitted for any other examination and does
not form part of any course undergone by the candidate.

Date: .

Place: .

Signature of the
(External Guide)
CERTIFICATE
This is to certify that the project entitled “ONLINE EXAMINATION SYSTEM” is carried out by
Paromita Roy students of 5th semester for Bachelor of Science of Bholanath College, Dhubri.

This project work of Paromita Roy is submitted for the requirement of the degree PGDCA in Computer
Science to be awarded by Gauhati University. This work has not been presented earlier for any other
academic activity.

During the period of his project work, she has been found to be sincere and hardworking. I wish him all
success in future career and life.

Date: _________________.
Place: _________________.

(Dr. Shahajahan Ali)


Head of the Department,
Bachelor of Science
B.N. College, Dhubri
CERTIFICATE

This is to certify that project work entitled “ONLINE EXAMINATION SYSTEM” is done by
Paromita Roy bearing Roll No. MS-221-162-0012, Registration No: 075993 for PGDCA program of
B.N. College, Dhubri affiliated to Gauhati University. She has done their project under my supervision
and guidance to the base of my knowledge.

This project work has been prepared as a fulfillment of the requirement for the degree of
ONLINE EXAMINATION SYSTEM to be awarded by Gauhati University. Her work has not been
submitted for any other academic activity.

During the period of his project work, she has been found to be sincere and hardworking. I wish his all
success in life.

Date: .

Place: .

(Dr. Sahjahan Ali)


Asstt.Professor
Department of Computer
Science,
B.N. College,Dhubri

3
ACKNOWLEDGEMENT

We feel immense pleasure in expressing my sincere thanks and gratitude to our project guide GUIDE
NAME, Faculty of Computer Science Department, B.N. College for her valuable guidance and constant
encouragement throughout the entire project work entitled “ONLINE EXAMINATION SYSTEM”
without which this project would never been possible.

I also express my honest thanks and gratitude to Dr. Dhruba Chakrabortty, Principal of B.N. College,
Dhubri for giving me the chance to complete PGDCA degree under Gauhati University. I also thank all
the faculty members for their kind cooperation and help to success my project. Al last I also express my
thanks to all my friends those who give me the constant inspiration for fulfillment of the project.

Date: .

Place: .

(Paromita Roy)
Roll No: MS-221-162-0012
Registration No: 075993
B.N. College, Dhubri.

4
SELF DECLARATION

We hereby declare that we Paromita Roy, MS-221-162-0012 and 075993 that the
project entitled “ONLINE EXAMINATION SYSTEM” has been carried out by us and is submitted in
the partial fulfillment for the award of the degree of PGDCA, 2nd semester in B.N. College under the
Gauhati University, Assam.

I also declare that any or all contents incorporated in the dissertation has not been submitted
anywhere for the award of any degree from institute or university.

Date: .

Place: .

(Paromita Roy)
Roll No: MS-221-162-0012
Registration No: 075993
B.N. College, Dhubri.

5
TABLE OF CONTENTS
Sr. No Contents

1. Introduction / objectives
Abstract of the Project Online Examination System
Main objectives
Scope of the project Grocery Shop Management System
Reports of Grocery Shop Management System
Modules of Grocery Shop Management System

2. Purpose of the proposed system

3. System Analysis ( Modules )


 Project planning
 Scheduling
 State diagram

4. Software requirements specification

5. Software engineering paradigm applied


 Design Approach
 Flowchart
 State diagram
 ER diagram
 DFD

6. System design:
a. Modularization Details
b. Data integrity and constraints
c. Database design / procedural design / objectoriented
design
d. User interface design
7. Coding:

8. Testing :
I. Techniques and strategies along withtest case
design and test report.-------------------------- 35 - 36
II. Debugging and improvement.------------------ 36 - 37

6
9. System Security Measure
10. Cost Estimation
11. Screenshots /snapshots
12. Future Scope
13. Bibliography

7
0
INTRODUCTION:

Online Quiz Examination System is a Multiple Choice Questions (MCQ) based examination system.
It provides an easy to use environment for both Test Conductors and Students appearing for
Examination. The main objective of Online Quiz Examination System is to provide all the features
that an Examination System must have, with the "interfaces that don't Scare Its Users!".

Online Examination System is a technology-driven way to simplify examination activities like


defining exam patterns with question banks, defining exam timers, objective/ subjective question
sections, and conducting exams using a computer or mobile devices in a paperless manner.

Online Examination System is a cost-effective, scalable way to convert traditional pen and paper-
based exams to online and paperless mode. Candidates can appear for the exam using any
desktop, laptop, or mobile device with a browser. Exam results can be generated instantly for the
objective type of questions.
It can simplify overall examination management and result in generation activity.

Abstract of the Project Online Examination System:

Internet is the means for people to communicate, fulfil their needs and exchanging ideas.
Applications on Internet is playing very vital role now a days. Internet made this world into global vile.
Now a days Internet is means to full-fill your desire at mouse click and roam around the world sitting
in front of your computer.

This Website gives information about the Libran Computer Education, which provides certificate
courses in computers. It has branches all over the city.

The main screen appears which consist information about how to follow through the application.
Once the client selects his option from the homepage, he will be forwarded into the details. If the
user wants to know about the history of institution, he can click on ABOUT-US and the details of the
courses available in this institution can click on COURSE DETAILS. If the user is the new person, he
can register his User-id by using student registration form. If the student already registered can write
the examination. Information regarding the details of the student will be displayed in the browser and
a client can fulfil the details and can register in the institute that the management will keep in touch
with him. Details of the course will be displayed from the course information module.

MAIN OBJECTIVES :

The main objective of the online examination system is to provide equal opportunity to every student
who is not going to the exam due to the lack of geographical areas. If you are regularly watching tv in
India, you show one advertisement about online education to remove geographical barriers. In the
Ad, one girl is leaving in the mountain region and can’t go to the learning institute due to the lack of
infrastructure(buses or transport). So, with the help of mobile and internet, the girl educates herself
and prepares for her future.

1
However, Online examinations use the same for the assessment of students’ yearly learning. As a
result, candidates from remote locations can participate in examinations without physically being
present, enhancing inclusion and facilitating access to education.

Conducting exams online eliminates the need for costly logistics and paperwork, leading to significant
cost and time savings. It simplifies the examination process by automating tasks such as question
paper generation, grading, and result processing, reducing administrative burdens on educational
institutions.

Functionalities Provided by the project Online Examination System


are as follows:
 Student/User Data Maintenance.
 Student/User Details.
 Examination Maintenance.
 Examination questions maintenance.
 Examination result maintenance.

Scope of the project Online Examination System:

The scope of secure online examinations is expanding day by day. With the rise of online exams,
various technological advancements have also occurred. You can set any type of questions
including subjective questions and MCQ based questions.

An Online application engine and Online examination system are important in today’s times.
Learning Spiral, an online examination solution provider offers services and solutions geared
towards effective management of applicants and an online examination system. Their products
like UCanassess, SmartExam including UcanApply power many leading universities, recruitment
boards and other assessment bodies. Our products can also help meet your needs for a
comprehensive Online Examination System, University Management System or University
Examination System etc.

2
Reports of Online Examination System:

 It generates the report of students


 Provide filter reports on student. Teachers and branches
 You can easily export PDF for the student Teachers and branches
 Application also provides excel export for Teachers and Students
 You can also export the report into csv format for Teachers and Students

Modules of Online Examination System:

LOGIN: It's a multiple login interface where you can login as ADMIN or as a CLERK.

• Admin: The admin will have the privileges to access all the functions in the applications.

• Clerk: The Clerk is restricted to some privileges of the application.

• MANAGE STUDENT/USER: The Manage Student module will contain two Sub Modules, that is
Manage Existing Student and Add new Student. In Manage Existing Student Module we can
manipulate the Existing Student Information's and Update. In Add new Student Module we can add
the new Student to the Database.

• MANAGE SUBJECT: In Manage Subject Module we have two Sub Modules. In Manage Existing
Subject Module we can manipulate and update the Existing Subjects. In Add new subject Module we
can add the New

3
Project Planning:

The main focus of the project “STUDENTS ATTENDANCE MANAGEMENT SYSTEM” is to provide
all the features that an Examination System must have, with the "interfaces that don't Scare it's
Users!".

Project planning was done to define the scope of the project, assess risks, and estimate and
schedule project activities and thereby lay the foundation for the execution, monitoring and control
of the project.

Scheduling:

The project scheduling is a mechanism to communicate what tasks need to get done and which
organizational resources will be allocated complete those tasks in what timeframe.

A project scheduling is a document collecting all the work needed to deliver the project on time.

State Diagram:

State diagram are a familiar technique to describe the behavior of a system. They describe all the
possible states a particular object can get into and how the objects state changes as a result of
events that reach the objects. In most 00 techniques, state diagrams are drawn for a single class to
show the lifetime behavior of a single object. There are many form of state diagram, each with slightly
different semantics. The most popular one used in OO technique is based on David Hare’s state
chart.

Software requirements specification

The Software Requirements Specification is produced at the culmination of the analysis task. The
function and performance allocated to software as part of system engineering are refined by
establishing a complete information description, a detailed functional and behavioral description, an
indication of performance requirements and design constraints, appropriate validation criteria, and
other data pertinent to requirements

4
Software Requirements:

Name of the components Specifications


Operating system Windows 98 , 7 , 8 10, 11 Linux
Database Mysql Database
Server Apache Server
Browser Chrome , firefox, opera etc.

Hardware Requirements:

Name of the components Specifications


Processor Pentium III Quad core
RAM 4GB
Hard Disk 120GB
Monitor 14 inch

5
Software Engineering Paradigm Applied

Design Approach:
The Design Approach starts with the conceptual design in the baseline spiral and involves
architectural design, logical design of modules, physical product design and the final design in the
subsequent spirals.

6
 Flowchart :

7
 State diagram:

Fig: state diagram

8
ER diagram:

E-R Model is a popular high level conceptual data model. This model and its variations are
frequently used for the conceptual design of database application and many database design
tools employ its concept.
A database that confirms to an E-R diagram can be represented by a collecton of tables in the
relational system. The mapping of E-R diagram to the entities are:
 Attributes
 Relations
Many-to-many
Many-to-one
One-to-many
One-to-one
 Weak entities
 Sub-type and super-type.

Model is an abstraction process that hides super details while highlighting details relation to
application at end.

 A data model is a mechanism that provides this abstraction for database application.
 Data modeling is used for representing entities and their relationship in the database.
 Entities are the basic units used in modeling database entities can have concrete existence
or constitute ideas or concepts.
 Entity type or entity set is a group of similar objects concern to an organization for which it
maintain data,Properties are characteristics of an entity also called as attributes
 A key is a single attribute or combination of 2 or more attributes of an entity set is used to
identify one or more instances of the set. In relational model we represent the entity by a
relation and use tuples to represent an instance of the entity.
 Relationship is used in data modeling to represent in association between an entity set.
 An association between two attributes indicates that the values of the associated attributes
are independent.

9
Fig: ER diagram

10
DFD (Data flow diagram):

Data flow diagram is the starting point of the design phase that functionally decomposes the
requirements specification. A DFD consists of a series of bubbles joined by lines. The bubbles
represent data transformation and the lines represent data flows in the system. A DFD describes
what data flow rather than how they are processed, so it does not hardware, software and data
structure.

A data-flow diagram (DFD) is a graphical representation of the "flow" of data through an information
system. DFDs can also be used for the visualization of data processing (structured design). A data
flow diagram (DFD) is a significant modeling technique for analyzing and constructing information
processes. DFD literally means an illustration that explains the course or movement of information in
a process. DFD illustrates this flow of information in a process based on the inputs and outputs. A
DFD can be referred to as a Process Model.
The data flow diagram is a graphical description of a system's data and how to Process transform
the data is known as Data Flow Diagram (DFD).
Unlike details flow chart, DFDs don't supply detail descriptions of modules that graphically describea
system's data and how the data interact with the system. Data flow diagram number of symbols and
the following symbols are of by DeMarco.

 Level-0 DFD :
Also known as context diagrams, are the most basic data flow diagrams. They provide a
broad view that is easily digestible but offers little detail.

11
Level-1:-
Level 1 DFDs are still a general overview, but they go into more detail than a context diagram.
In a level 1 data flow diagram, the single process node from the context diagram is broken
down into sub processes. As these processes are added, the diagram will need additional
data flows and data stores to link them together.

12
LEVE-2: DFD :-

admin

13
LEVE-2: DFD :-

14
System design:
In this phase, a logical system is built which fulfils the given requirements. Design phase of software
development deals with transforming the client’s requirements into a logically working system.
Normally, design is performed in the following in the following two steps:

1. Primary Design Phase: In this phase, the system is designed at block level. The blocks
are created on the basis of analysis done in the problem identification phase. Different blocks
are created for different functions emphasis is put on minimizing the information flow between
blocks. Thus, all activities which require more interaction are kept in one block.
2. Secondary Design Phase: In the secondary phase the detailed design of every block
is performed.

The general tasks involved in the design process are the following:

1. Design various blocks for overall system processes.

2. Design smaller, compact and workable modules in each block.

3. Design various database structures.

4. Specify details of programs to achieve desired functionality.

5. Design the form of inputs, and outputs of the system.

6. Perform documentation of the design.

7. System reviews.

15
Data integrity and constraints:

In Database Management Systems, integrity constraints are pre-defined set of rules that are

applied on the table fields(columns) or relations to ensure that the overall validity, integrity,

and consistency of the data present in the database table is maintained. Evaluation of all the

conditions or rules mentioned in the integrity constraint is done every time a table insert,

update, delete, or alter operation is performed. The data can be inserted, updated, deleted,

or altered only if the result of the constraint comes out to be True. Thus, integrity constraints

are useful in preventing any accidental damage to the database by an authorized user.

16
Database design / procedural design / object oriented design:

Database design can be generally defined as a collection of tasks or processes that enhance

the designing, development, implementation, and maintenance of enterprise data

management system. Designing a proper database reduces the maintenance cost thereby

improving data consistency and the cost-effective measures are greatly influenced in terms

of disk storage space. Therefore, there has to be a brilliant concept of designing a database.

The designer should follow the constraints and decide how the elements correlate and what

kind of data must be stored.

The main objectives behind database designing are to produce physical and logical design

models of the proposed database system. To elaborate this, the logical model is primarily

concentrated on the requirements of data and the considerations must be made in terms of

monolithic considerations and hence the stored physical data must be stored independent of

the physical conditions. On the other hand, the physical database design model includes a

translation of the logical design model of the database by keep control of physical media

using hardware resources and software systems such as Database Management System

(DBMS)

17
User Interface Design:
User Interface Design is conceded with the dialogue between a user and the computer. It is
concerned with everything from starting the system or logging into the system to the
eventually presentation of desired inputs and outputs. The overall flow of screens and
messages is called a dialogue.

The following steps are various guidelines for User Interface Design:
1. The system user should always be aware of what to do next.

2. The screen should be formatted so that various types of information, instructions and
messages always appear in the same general display area.

3. Message, instructions or information should be displayed long enough to allow the system
user to read them.

4. Use display attributes sparingly.

5. Default values for fields and answers to be entered by the user should be specified.

6. A user should not be allowed to proceed without correcting an error.

7. The system user should never get an operating system message or fatal error.

18
Coding:

Index page:

<?php
include_once 'config/Database.php';
include_once 'class/User.php';

$database = new Database();


$db = $database->getConnection();

$user = new User($db);

if($user->loggedIn()) {
if(!empty($_SESSION["role"]) && $_SESSION["role"] == 'admin') {
header("Location: exam.php");
} else if (!empty($_SESSION["role"]) && $_SESSION["role"] == 'user'){
header("Location: view_exam.php");
}
}

$loginMessage = '';
if(!empty($_POST["login"]) && !empty($_POST["email"]) && !empty($_POST["password"]) &&
!empty($_POST["loginType"]) && $_POST["loginType"]) {
$user->email = $_POST["email"];
$user->password = $_POST["password"];
$user->loginType = $_POST["loginType"];
if($user->login()) {
if($_SESSION["role"] == 'admin') {
header("Location: exam.php");
} else if ($_SESSION["role"] == 'user'){
header("Location: view_exam.php");
}
} else {
$loginMessage = 'Invalid login! Please try again.';
}
} else if (empty($_POST["login"]) || empty($_POST["email"]) || empty($_POST["password"])||
empty($_POST["loginType"])){
$loginMessage = 'Enter email, pasword and select user type to login.';
}
include('inc/header.php');
?>
<title>Online Exam System with PHP & MySQL</title>
<?php include('inc/container.php');?>
<div class="content">

19
<div class="container-fluid">
<h2>Online Exam System</h2>
<div class="col-md-6">
<div class="panel panel-info">
<div class="panel-heading" style="background:#167ce6ba;color:white;">
<div class="panel-title">Log In</div>
</div>
<div style="padding-top:30px" class="panel-body" >
<?php if ($loginMessage != '') { ?>
<div id="login-alert" class="alert alert-danger col-sm-12"><?php echo
$loginMessage; ?></div>
<?php } ?>
<form id="loginform" class="form-horizontal" role="form" method="POST"
action="">
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-
user"></i></span>
<input type="text" class="form-control" id="email" name="email"
value="<?php if(!empty($_POST["email"])) { echo $_POST["email"]; } ?>" placeholder="email"
style="background:white;" required>
</div>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-
lock"></i></span>
<input type="password" class="form-control" id="password"
name="password" value="<?php if(!empty($_POST["password"])) { echo $_POST["password"]; } ?>"
placeholder="password" required>
</div>
<label class="radio-inline"><strong>User Type:</strong></label>
<label class="radio-inline">
<input type="radio" name="loginType" value="admin">Administrator
</label>

<label class="radio-inline">
<input type="radio" name="loginType" value="user">User
</label>

<div style="margin-top:10px" class="form-


group">
<div class="col-sm-12 controls">
<input type="submit" name="login" value="Login" class="btn btn-
info">
</div>
</div>
</form>
<p>
Admin Login<br>
Email: admin@webdamn.com<br>
Password: 123
20
</p>
<p>
User Login<br>
Email: user2@test.com<br>
Password: 123
</p>
</div>
</div>
</div>
</div>

<?php include('inc/footer.php');?>

21
Questions:

<?php
include_once 'config/Database.php';
include_once 'class/User.php';

$database = new Database();


$db = $database->getConnection();

$user = new User($db);

if(!$user->loggedIn()) {
header("Location: index.php");
}
include('inc/header.php');
?>
<title>Online Exam System with PHP & MySQL</title>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css" />
<script src="js/questions.js"></script>
<script src="js/general.js"></script>
<?php include('inc/container.php');?>
<div class="container" style="background-color:#f4f3ef;">
<h2>Online Exam System</h2>
<?php include('top_menus.php'); ?>
<br>
<div>
<div class="panel-heading">
<div class="row">
<div class="col-md-10">
<h3 class="panel-title"></h3>
</div>
<div class="col-md-2" align="right">
<button type="button" id="addQuestions" class="btn btn-info" title="Add
Questions"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<table id="questionsListing" data-exam-id="<?php echo $_GET['exam_id']; ?>"
class="table table-bordered table-striped">
<thead>
<tr>
<th>Id</th>
<th>Question</th>
<th>Right Option</th>
<th></th>
<th></th>
</tr>
22
</thead>
</table>
</div>

<div id="questionsModal" class="modal fade">


<div class="modal-dialog">
<form method="post" id="questionsForm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title"><i class="fa fa-plus"></i> Edit
questions</h4>
</div>
<div class="modal-body">

<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Question Title <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="question_title"
id="question_title" autocomplete="off" class="form-control" />
</div>
</div>
</div>

<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 1 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_1"
id="option_title_1" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 2 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_2"
id="option_title_2" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 3 <span
class="text-danger">*</span></label>
<div class="col-md-8">

23
<input type="text" name="option_title_3"
id="option_title_3" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 4 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_4"
id="option_title_4" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Answer <span class="text-
danger">*</span></label>
<div class="col-md-8">
<select name="answer_option" id="answer_option"
class="form-control">
<option value="">Select</option>
<option value="1">1 Option</option>
<option value="2">2 Option</option>
<option value="3">3 Option</option>
<option value="4">4 Option</option>
</select>
</div>
</div>
</div>

</div>
<div class="modal-footer">
<input type="hidden" name="id" id="id" />
<input type="hidden" name="exam_id" id="exam_id" />
<input type="hidden" name="action" id="action" value="" />
<input type="submit" name="save" id="save" class="btn btn-info"
value="Save" />
<button type="button" class="btn btn-default" data-
dismiss="modal">Close</button>
</div>
</div>
</form>
</div>
</div>

</div>
<?php include('inc/footer.php');?>

24
User:

<?php
include_once 'config/Database.php';
include_once 'class/User.php';

$database = new Database();


$db = $database->getConnection();

$user = new User($db);

if(!$user->loggedIn()) {
header("Location: index.php");
}
include('inc/header.php');
?>
<title>Online Exam System with PHP & MySQL</title>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css" />
<script src="js/user.js"></script>
<script src="js/general.js"></script>
<?php include('inc/container.php');?>
<div class="container" style="background-color:#f4f3ef;">
<h2>Online Exam System</h2>
<?php include('top_menus.php'); ?>
<br>
<h4>User List</h4>
<br>
<div>
<div class="panel-heading">
<div class="row">
<div class="col-md-10">
<h3 class="panel-title"></h3>
</div>
<div class="col-md-2" align="right">
<button type="button" name="add" id="addUser" class="btn btn-success
btn-xs">Add New</button>
</div>
</div>
</div>
<table id="userListing" class="table table-bordered table-striped">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Email</th>
<th>Gender</th>
<th>Mobile</th>
<th>Role</th>
<th></th>

25
<th></th>
<th></th>
</tr>
</thead>
</table>
</div>

<div id="userModal" class="modal fade">


<div class="modal-dialog">
<form method="post" id="userForm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title"><i class="fa fa-plus"></i> Add User</h4>
</div>
<div class="modal-body">
<div class="form-group"
<label for="firstName" class="control-label">First Name*</label>
<input type="text" class="form-control" id="firstName"
name="firstName" placeholder="First name" required>
</div>

<div class="form-group"
<label for="lastName" class="control-label">Last Name*</label>
<input type="text" class="form-control" id="lastName"
name="lastName" placeholder="last name" required>
</div>

<div class="form-group"
<label for="username" class="control-label">Email*</label>
<input type="email" class="form-control" id="email" name="email"
placeholder="Email" required>
</div>

<div class="form-group"
<label for="mobile" class="control-label">Mobile*</label>
<input type="text" class="form-control" id="mobile"
name="mobile" placeholder="mobile" required>
</div>

<div class="form-group"
<label for="address" class="control-label">Address*</label>
<textarea class="form-control" id="address" name="address"
placeholder="address" required></textarea>
</div>

<div class="form-group">
<label for="status" class="control-
label">Role</label>
<select id="role" name="role" class="form-control">
<option value="admin">Admin</option>

26
<option value="user">User</option>
</select>
</div>

<div class="form-group">
<label for="gender" class="control-
label">Gender</label>
<select id="gender" name="gender" class="form-control">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>

<div class="form-group"
<label for="username" class="control-label">New Password</label>
<input type="password" class="form-control" id="newPassword"
name="newPassword" placeholder="Password">
</div>

</div>
<div class="modal-footer">
<input type="hidden" name="userId" id="userId" />
<input type="hidden" name="action" id="action" value="" />
<input type="submit" name="save" id="save" class="btn btn-info"
value="Save" />
<button type="button" class="btn btn-default" data-
dismiss="modal">Close</button>
</div>
</div>
</form>
</div>
</div>

<div id="userDetails" class="modal fade">


<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title"><i class="fa fa-plus"></i> User Details</h4>
</div>
<div class="modal-body">
<table id="" class="table table-bordered table-striped">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Email</th>
<th>Gender</th>
<th>Mobile</th>
<th>Address</th>

27
<th>Created</th>

</tr>
</thead>
<tbody id="userList">
</tbody>
</table>
</div>
</div>
</div>
</div>

<div id="questionsModal" class="modal fade">


<div class="modal-dialog">
<form method="post" id="questionsForm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title"><i class="fa fa-plus"></i> Edit
questions</h4>
</div>
<div class="modal-body">

<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Question Title <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="question_title"
id="question_title" autocomplete="off" class="form-control" />
</div>
</div>
</div>

<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 1 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_1"
id="option_title_1" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 2 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_2"
id="option_title_2" autocomplete="off" class="form-control" />

28
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 3 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_3"
id="option_title_3" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Option 4 <span
class="text-danger">*</span></label>
<div class="col-md-8">
<input type="text" name="option_title_4"
id="option_title_4" autocomplete="off" class="form-control" />
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<label class="col-md-4 text-right">Answer <span class="text-
danger">*</span></label>
<div class="col-md-8">
<select name="answer_option" id="answer_option"
class="form-control">
<option value="">Select</option>
<option value="1">1 Option</option>
<option value="2">2 Option</option>
<option value="3">3 Option</option>
<option value="4">4 Option</option>
</select>
</div>
</div>
</div>

</div>
<div class="modal-footer">
<input type="hidden" name="id" id="id" />
<input type="hidden" name="exam_id" id="exam_id" />
<input type="hidden" name="action" id="action" value="" />
<input type="submit" name="save" id="save" class="btn btn-info"
value="Save" />
<button type="button" class="btn btn-default" data-
dismiss="modal">Close</button>
</div>
</div>
</form>

29
</div>
</div>

</div>
<?php include('inc/footer.php');?>

Testing:
Testing is vital for the success of any software. no system design is ever perfect. Testing is also
carried in two phases, first phase is during the software engineering that is during the module
creation. second phase is after the completion of software. this is system testing which verifies that
the whole set of programs hanged together.

Techniques and strategies along with test case design and test report:

White Box Testing: In this technique, the close examination of the logical parts through the software
are tested by cases that exercise species sets of conditions or loops, all logical parts of the software
checked once. errors that can be corrected using this technique are typographical errors, logical
expressions which should be executed once may be getting executed more than once and error
resulting by using wrong controls and loops. When the box testing tests all the independent part
within a module a logical decisions on their true and the false side are exercised, all loops and
bounds within their operational bounds were exercised and internal data structure to ensure their
validity were exercised once.

Black Box Testing: This method enables the software engineer to device sets of input
techniques that fully exercise all functional requirements for a program, black box testing tests the
input, the output and the external data. it checks whether the input data is correct and whether we
are getting the desired output.

Unit Testing: Each module is considered independently. it focuses on each unit of software as
implemented in the source code, it is white box testing.

Integration Testing: Integration testing aims at constructing the program structure while at the
same constructing tests to uncover errors associated with interfacing the modules. modules are
integrated by using the top down approach.

Validation Testing: Validation testing was performed to ensure that all the functional and
performance requirements are met.
30
System Testing: It is executing programs to check logical changes made in it with intention of
finding errors. A system is tested for online response, volume of transaction, recovery from failure
etc. System testing is done to ensure that the system satisfies all the user requirements.

Debugging and Improvement:


Debugging is the process of identifying and resolving errors, or bugs, in a software system. It is an

important aspect of software engineering because bugs can cause a software system to

malfunction, and can lead to poor performance or incorrect results. Debugging can be a time-

consuming and complex task, but it is essential for ensuring that a software system is functioning

correctly.

Code Inspection: This involves manually reviewing the source code of a software system to identify

potential bugs or errors.

31
Debugging Tools: There are various tools available for debugging such as debuggers, trace tools,

and profilers that can be used to identify and resolve bugs.

Unit Testing: This involves testing individual units or components of a software system to identify

bugs or errors.

Integration Testing: This involves testing the interactions between different components of a

software system to identify bugs or errors.

System Testing: This involves testing the entire software system to identify bugs or errors.

Monitoring: This involves monitoring a software system for unusual behavior or performance issues

that can indicate the presence of bugs or errors.

Logging: This involves recording events and messages related to the software system, which can

be used to identify bugs or errors.

System Security Measures:


System security includes the development and implementation of security countermeasures. These

include firewalls, data encryption, passwords and biometrics. A firewall consists of software and

hardware set up between an internal computer network and the Internet to filter out unwanted

intrusions.

Cost Estimation:
Software cost comprises a small percentage of overall computer-based system cost. There are a

number of factors, which are considered, that can affect the ultimate cost of the software such as -

human, technical, Hardware and Software availability etc.

The main point that was considered during the cost estimation of project was its sizing. In spite of

complete software sizing, function point and approximate lines of code were also used to "size" each

element of the Software and their costing.

32
The cost estimation done by me for Project also depend upon the baseline metrics collected from

past projects and these were used in conjunction with estimation variables to develop cost and effort

projections.

We have basically estimated this project mainly on two bases –

1. Effort Estimation - This refers to the total man-hours required for the development of the

project. It even includes the time required for doing documentation and user manual.

2. Hardware Required Estimation - This includes the cost of the PCs and the hardware cost

required for development of this project.

Date Task Cost


10/08/2023 Hardware materials 30,000 /-
12/09/2023 Design 10,000 /-
23/09/2023 Frontend 10,000 /-
5/10/2023 Backend 20,000 /-

33
Screenshots /snapshots:

34
35
36
Future Scope:

In comparison to other exams, The Online Examination System is widely used. Online examination
system can be deployed in private institutes as well as educational institutions. As it is a user-friendly
web-based application it can be accessed anywhere and anytime. Using modern technologies, we
can also develop a more secure and user-friendly application.

37
38
References and Bibliography:

 Google for problem solving

 http://www.javaworld.com/javaworld/jw-01-1998/jw-01-Credentialreview.html

 Database Programming with JDBC and Java by O'Reilly

 http://www.jdbc-tutorial.com/

 https://www.tutorialspoint.com/java/

 https://docs.oracle.com/javase/tutorial/

 http://www.tutorialspoint.com/mysql/

 https://www.freeprojectz.com/

 httpd.apache.org/docs/2.0/misc/tutorials.html

39
40
41
42
43

44

You might also like