1. 1
CHAPTER 1:- ABSTRACT
This document will propose all features and procedures to develop the system. These
documents specially containing details about objectives, scope, design model, primary
requirements and finally monitoring and reporting mechanisms.
Online Examination System is very useful for Educational Institute to prepare an exam, safe
the time that will take to check the paper and prepare mark sheets. It will help the Institute
to testing of students and develop their skills. But the disadvantages for this system, it takes
a lot of times when you prepare the exam at the first time for usage. And we needs number
of computers with the same number of students.
The effective use of "Online Examination System", any Educational Institute or training
centers can be use it to develop their strategy for putting the exams, and for getting better
results in less time.
Online Examination is being launched because a need for a destination that is beneficial for
both Institutes and students. With this site, institutes can register and host online exams.
Students can give exams and view their results. This site is an attempt to remove the existing
flaws in the manual system of conducting exams. The project will enable educational
institutes to conduct test and have automated checking of answers based on the response by
the candidates.
2. 2
CHAPTER 2:- INTRODUCTION TO THE PROJECT
2.1 Background
Online Examination System is a system that many educational institutions and all users of
the system can benefit from it. Many institutions use various paper materials and pens to
process the manual examination. But in this system, it provides the student information,
questionnaires, and answers and automatically computes the scores. It conducted through
the website to remote candidates. Candidate is given a limited time to answer the questions
and after the time expiry the answer paper is disabled automatically and answers is sent to
the examiner. The examiner will evaluate answers, either through automated process or
manually and the results will be sent to the candidate.
Today many organizations are conducting online examinations worldwide
successfully and issue results online. There are advantages and disadvantages in online
examinations. The advantage is that it can be conducted for remote candidates and
evaluation of answers can be fully automated for multiple choice questions can be evaluated
manually or through automated system, depending on the nature of the questions and the
requirements. The disadvantage is there is no method to identify whether the exact students
take that exam.
2.2 Problem statement
Online Examination is very helpful to users. The aim of this project is to provide quick,
immediate and easy way to appear the exam. It can provide special advantages to the
students/applicants. The online examination system can automatically add the marks
allocated in each question to determine the total mark for the questions. A time limit can be
set for the questions. Online Examination System allows jumping to specific questions based
on the previous answer. The online examination system limits the number of times a student
can write a question. Login module helps the user to login to the site. For that he/she must
type the username and password correctly. The login provision in this page helps the already
registered user to directly access the site and there is a link for registration to a user who is
new to this site. Student module is mainly for the students. This helps the students to register
for the exam and answer the exam. For registration name, address, phone no, role id,
password should be entered and other are filled. This will provide result after the exam
according to correct and wrong answer. Administrator module is mainly for the
administrator. This will contain the creation of question paper, preview of already created
question paper, and the report of the administrator. For creating the question paper he/she
must enter Exam ID, No: of questions, total time (in min), Marks per Question, Option type.
For showing the preview of already created question paper he/she must enter the correct
Exam id.
3. 3
2.3. Objective
2.3.1. General objective
General objective of our project is to change the current manual system into computerized
one. This project would be very useful for educational institutes where regular evaluation
of students’ is required.
2.3.2. Specific objective
Online examination project assesses student by conducting online objective tests.
Responses by the candidates will be checked automatically.
It reduces time consuming.
Being an integrated online examination system reduce paper work.
Questions can have multiple options, multiple answers or can be text answers.
To allow department to create tests and answers.
The result will be shown after some time to the participating students.
Can generate various report for evaluation purpose when and where required.
This project will enable educational institutes to conduct test and have automated
checking of answers based on the response by the candidates.
It would enable educational status to perform testes quiz and create feedback
forms.
2.4. Scope of the project
Scope of this project is very broad in terms of other manually taking exams.
Few of them are:-
Can be used anywhere any time as it is a web based application(user location doesn’t
matter )
No restriction that examiner has to be has to be present when the candidate takes the
test.
Design to facilitate administrator and user.
Online examination is designed for educational institutes like schools, colleges and
private institutes to conduct logic test of their students or employees on regular basis.
4. 4
CHAPTER 3:- SOFTWARE AND HARDWARE
REQUIREMNT SPECIFICATION
3.1 Methodology
The methodology which will be used in making this app would be XML (extensible Markup
Language) and JAVA NetBeans both combined and will be used in software Android Studio
1.6. WOLE Layout and programming will be done only in Android Studio with the help of
XML and Java NetBeans. Android Studio is the official integrated development environment
(IDE) for developing for the Android platform. Android Studio is designed specifically for
Android development. It is available for download on Windows, Mac OS X and Linux, and
replaced Eclipse Android Development Tools (ADT) as Google's primary IDE for native
Android application development.
3.2 SOFTWARE
Server side software
Web server software, Apache Tomcat, Wamp Server
Server side scripting tools: PHP
Database tools: MYSQL DBMS.
Compatible operating system: Windows
Client side software
Web browser supporting JavaScript.
3.3 Programming/Working environment
Performance:
After completing the exam, the entire score of the student will be calculated.
The software shall support use of multiple users at a time.
Usability:
The website should be user friendly and should require least effort to operate.
Portability:
5. 5
The website is made using HTML, CSS, JSP, PHP, etc. which are platform
independent and can be transported to other servers with minimum effort.
Availability:
Students can take exam only during the previously allotted time slots, however can
open site anytime to access other information.
Colleges can register for the exam anytime.
This system must run on multiple operating systems and support windows operating
system.
3.4 Requiremnets to run the application
3.4.1. Functional requirements
Required software is for conducting online examination and providing results. The system
should satisfy the following requirements:
3.4.1.1 User Requirements
Administrator Aspect
1. Taking back up of the database.
2. Editing/Deleting/Creating the records.
3. Adding faculty, department.
4. Changing the super password.
Department Aspect
1. Logging into the system.
2. Sending result to specific student.
3. Accepting registrations of candidates.
4. Adding/editing/deleting the questions.
5. Adding the candidate to a group.
6. Creating questions.
7. Posting questions.
8. Posting multiple options to respective question.
9. Marking correct answer within the given options.
6. 6
10. Time limit of the questions if any.
11. Set marks.
Student Aspect:
1. Requesting registration.
2. Logging into the system.
3. Selecting the questions.
4. Appearing for the examination.
5. Reviewing the given responses.
6. Changing password.
7. Resetting of forgotten password
Analysis
1. Authenticating users based on username and password
2. Recording candidates’ responses to every question.
3. Checking whether the given response is correct or not.
4. Keeping history of mark reports of all users
5. The reports are required to be sent to the candidates.
6. Invitations/report for the appearance for the new test will be posted.
3.4.1.2. Hardware Interfaces
Server side hardware
Hardware recommended by all the software needed.
RAM: 256 Mb or more
Hard Drive: 10 GB or more
Communication hardware to serve client requests
Client side hardware
Hardware recommended by respective client’s operating system and web
browser.
7. 7
RAM: 256 Mb or more
Communication hardware to communicate the server.
8. 8
CHAPTER 4:- DATABASE ANALYZING, DESIGN
AND IMPLEMENTATION
List of use cases are:
Add department
Login
Add question
Manage student group
Student registration
Appear for test
Result generation
4.1 Use case description
Table: 1. Add Department
Use case name Add Department
Primary Actor(s) Administrator
Description Adding new department to the institution.
Precondition The administrator first knows the
department code and department name.
Post condition Department is added.
Basic courses of action
1. Administrator wants to add department in to database.
2. The Administrator looks the department code and department name.
3. The Administrator adds the department by name and code of the
department.
4. Department is added.
5. The use case ends.
Alternative course of action
Alternative course of action A: if the department has no code
A.2 The administrator gives it a code.
A.3 Go to step 3.
9. 9
Table: 2. Add Question Use Case
Use case name Add Question
Primary Actor(s) Department
Description Adding questions according to the courses.
Precondition The department first knows course code.
Post condition The question is added.
Basic courses of action
1. Department wants to add questions into database.
2. The Department looks the course name and course code.
3. The department looks for the options.
4. Give the answer for the questions
5. The Department adds the question by name of the course and course
code.
6. The question is added.
7. The use case ends.
Alternative course of action
Alternative course of action A: if the course has no code.
A.2 The department gives it a code.
A.5 Go to step 5.
Table: 3. Login Use Case
Use case name Login
Primary Actor(s) Administrator, User and Department.
Description Login into the system.
Precondition All authorized has the user name and
password
Post condition The system accepts user name and
password.
Basic courses of action
1. All authorized user wants to login into the system.
2. User first must have username and password.
3. User enters their user name and password.
4. The system checks the user name and password.
5. The system accepts user name and password.
6. The use case ends.
Alternative course of action
Alternative course of action A: if the users have no user name and password.
A.2 Users create their own new account.
A.3 Go to step 3.
Alternative course of action B: if the entered user name and password is wrong.
B.3 Try with another user name and password.
10. 10
Table: 4. Student Registration Use Case
Use case name Student Registration
Primary Actor(s) Department.
Description Department register the students.
Precondition Students send all their own required
information.
Post condition Students are registered.
Basic courses of action
1. Students send all their own required information.
2. Department looks for the student information.
3. The department groups the students according to their department name.
4. Department fill all required student information.
5. Students are registered.
6. The use case ends.
Alternative course of action
Alternative course of action A: if the student did not send all their own required
information.
A.1 the department announced them to send their own full
information.
A.2 Go to step 2.
Table: 5. Appear for Exam Use Case
Use case name Appear for the exam
Primary Actor(s) Student.
Description Student can appear for the exam on the
time.
Precondition Student must be login by their name, IDno
and their password.
Post condition Submit the answer.
Basic courses of action
1. Student wants to take the exam.
2. Student must be login by their name, IDno and their password.
3. Then the students search the posted questions by questionId.
4. Start answering the questions.
5. Finish in a given time.
6. Submit the answer.
7. The use case ends.
Alternative course of action
Alternative course of action A: if the student did not finish all the given question in
given time
11. 11
A.6 The student should have to submit what they answered.
A.7 Go to step 7.
Table: 6. Result Generation Use Case
Use case name Result Generation
Primary Actor(s) Department and System.
Description Department generates the result by
calculating the submitted answer by
student
Precondition System gets submitted answers.
Post condition Result is generated.
Basic courses of action
1. System gets submitted answers.
2. System checks answer.
3. System counts correct answer
4. System counts wrong answer.
5. The system calculates the mark.
6. Department posts the results.
7. Result is generated.
8. The use case ends.
Alternative course of action
Alternative course of action A: if the posted result is wrong
A.2 The system checks the answer.
A.3 Go to step 3.
14. 14
CHAPTER 5:- PROGRAM’S STRUCTURE
ANALYZING AND GUI CONSTRUCTING
5.1. Forms
Login page form
Student Registration Form
15. 15
5.2. Activity diagrams (Navigation)
Login
set time for answering
set correct answer
add choiceadd question
select existing questionset Question Title
Edit Questioncreate New Question
set question option
select group
set marks
post Question
[ adding more questions]
[ done adding questions]
5.3. Answer Test Activity Diagram
16. 16
5.4. Generate Result Activity Diagram
5.5. System Design Documentation
5.5.1. Introduction
Design is the abstraction of a solution; it is the general description of the solution to a
problem without a details. Design is view pattern seen in the analysis phase to be a pattern
in a design phase. After design phase we can reduce the time required the implementation.
5.5.2. Purpose
As stated in the Requirements Analysis Document, the purpose of the system is to provide
system administrator, colleges, departments and students with a central location for
organizing various events. The purpose of this system provides the following reasons: No
physical presence needed for examinations, No wastage of time during evaluation, Instant
availability of the results, Starting and completion time are both recorded by the server, A
series of online tests are offered by the software for the benefit of the students. In general
the system is much more preferred due to these reasons across various organizations and the
world.
5.5.3. Design goals
The design goals represent the desired qualities of online examination system and provide a
consistent set of criteria that must be considered when making design decisions. Based on
non-functionality requirements the following design goals will have to achieve d in order to
qualify the system as successful:
Robustness: the system has to be robust enough to manage any valid input from the
users.
17. 17
Reliability:
The system has to perform the online exam operations with no errors.
The website developed should be extremely reliable and secure so that
information about any questions etc. is not leaked before the actual exam is
held.
Security: the system security is one of the most important non-functional
requirements.
Availability:
Students can take exam only during the previously allotted time slots,
however can open site anytime to access other information.
Colleges can register for the exam anytime.
System should be able handle multiple users
This system must run on multiple operating systems and support windows
operating system.
5.5.4. Definitions, Abbreviations and Acronyms
Student: User mostly a student who will appear for the examination
Department: Another user mostly department member, lecturer or examiner who
posts set of questions, the available options and correct answers.
System administrator: Super user, adds department, and manages system and
creating usernames for the employees.
5.5.5. System design model
5.5.5.1. Subsystem decomposition
During the subsystem decomposition of online exam, we divide the system into smaller
subsystems with strong coherence. The different subsystems should have a loose coupling.
The decomposition shows the existence of the following subsystems:
User management subsystem
Account management subsystem
Transaction management subsystem
Storage subsystem
Database subsystem
18. 18
User management subsystem:
This subsystem responsible for managing different users of the system by taking care of
login information of different users. It manages the username and password of all users of
the system for security purpose.
Operations provided by this subsystem are:
Create login ()
Update login ()
Login ()
Account management subsystem
This subsystem responsible for managing user accounts. It provides function for opening an
account, updating an account and closing an account. Administrator is the only actor who
communicates with this subsystem. This subsystem uses login services of the user
management subsystem for authenticating the administrator and also uses the storage
subsystem for storing account’s information.
The operations provided by this subsystem are:-
Login ()
Change password ().
Add Department ()
Delete Department ()
Edit Department ()
Create account ()
Update account ()
Create/delete/update courses (subject) ().
Close account ()
Transaction management subsystem
This subsystem is responsible for managing the transactions. This provides all functions for
managing variety of transactions like exam details, questions, answers, manage student
group, result generations and any other things. Actors of this subsystem are department.
Operations performed by this subsystem are:
Create questions ()
Edit questions ()
Delete questions ()
Generate result ()
Set time ()
Change password ()
Update mark of questions and answers ()
19. 19
The operations performed by the students in this subsystem are:-
Choose Exam ()
Review answers ()
See his/her Exam mark ()
View other materials ()
Change password ()
The database subsystem will be implemented by relational database management system
used to store the persistent data.
The storage subsystem will encapsulate the database providing a common interface to other
three high level subsystems. It is responsible for getting system-related data from different
subsystems and issuing DBMS-specific calls for information storage and retrieval.
Figure subsystem decomposition with classes:
21. 21
5.5.5.2. Hardware/Software Mapping
Online exam system will be a web-based for online users. The system will run over the
windows operating system. The web server will run over wampServer and the programming
languages used for developing this system are: HTML, CSS, JS and PHP. We have selected
MYSQL as the database management system.
The online examination system consists of three independent components: Web browser,
online System Server and database server.
The following UML deployment diagram illustrates the hardware/software mapping for
online examination system.
PC
Windows Host
Windows Host
UserManagement
Database
Storage
TransactionManagement
AccountManagement
Explorer
Figure hardware/software mapping
22. 22
5.5.5.3. Persistent Data Management
Persistent data management describes the persistent data stored by the system and the data
management infrastructure required for it. The system will use the MySQL database engine
for storing data. This will allow the database to be easily integrated with and accessed by the
rest of the system. The database will retain user information (IdNo, name, email address,
etc.), event postings, advertisements, and configuration data such as authorized administrator
and department. Each of these items will be a separate table. An individual could not have
more than one user account.
Table: 7. Student information table
Field Name Data Type Limits Format Description
Id No Varchar 3-20 characters Letters and
numbers
The student’s
Id No
name String 5-50 characters Letters, ‘-‘,and
Spaces
The user’s
name
Email String 5-30 characters Alphanumeric
+ ‘@’ +
Alphanumeric
The user’s
email address
password String 3-50 characters Any character The user’s
password
Table: 8. Question information table
Field Name Data Type Limits Format Description
Course code String 1-20 characters Letters and
numbers
course code for
the questions
Course name String 5-50 characters Letters, ‘-‘,and
Spaces
course name for
the questions
Questions varchar 1-10000..
characters
Any character
and numbers
Questions
which needs
answers.
23. 23
Options String 1-1000..
characters
Any character
and numbers
Questions
option
Table: 9. Student score information table
Field Name Data Type Limits Format Description
Student name String 1-20 characters Letters Name of the
student.
Test taken on String 5-50 characters Letters, ‘-‘,and
Spaces
Time taken for
exam.
Score integer 1-100 number Numbers Student score.
5.6 Exam Archieve preview
31. 31
<h4>Compete</h4>
<p>Solve challenges online</p>
</div>
<div class="col-sm-4">
<img alt="Developers" height="50px"
src="https://d3keuzeb2crhkn.cloudfront.net/hackerrank/assets/home/icons/developers-
61999f03f36215d4a5d06130e24f092c.png" width="61px" />
<h4>succeed</h4>
<p>Hit the world.</p>
</div>
</div>
</div>
<h2><center></center></h2>
<div id="myCarousel" class="carousel slide text-center" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<! -- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<h4>"The roots of education are bitter, but the fruit is sweet."<span style="font-style:
normal ;">< br><I></I></span></h4>
</div>
<div class="item">
<h4>"Education is the key to unlock the GOLDEN door of FREEDOM."<span
style="font-style: normal ;"><br></span></h4>
</div>
<div class="item">
<h4>"The purpose of education is to replace an empty mind with an open one."<span
style="font-style: normal ;"><br></span></h4>
</div>
<div class="item">
<h4>"Education is the ability to listen to almost anything without losing your temper
or self-confidence."<span style="font-style: normal ;">< br></span></h4>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
36. 36
CHAPTER 7:- SYSTEM TESTING
1. Software testing is the process of executing a program with intension of finding
errors in the code. It is a process of evolution of system or its parts by manual or
automatic means to verify that it is satisfying specified or requirements or not.
2. Generally, no system is perfect due to communication problems between user and
developer, time constraints, or conceptual mistakes by developer.
3. To purpose of system testing is to check and find out these errors or faults as early
as possible so losses due to it can be saved.
4. Testing is the fundamental process of software success.
5. Testing is not a distinct phase in system development life cycle but should be
applicable throughout all phases i.e. design development and maintenance phase.
6. Testing is used to show incorrectness and considered to success when an error is
detected.
37. 37
CHAPTER 8:- LIMITATIONS
1. In the case of any type of problem in student verification no functionality is defined
in the system to correct it or inter-communication among users are also not
available.
2. The Total marks is get by the student only after some time of exam, because in case
of subjective paper, the exam dept. will evaluate the answer and declare the result.
Student can see his result on internet through his Login ID and PWD only after
that.
3. If Internet connection is slow it creates problem.
4. Server Problems.
38. 38
CHAPTER 9:- FUTURE SCOPE
Software scope describes the data and control to be processed, function performance,
constraints, interfaces and reliability. Function describes in the statement of scope are
evaluated and in some case refined to provide more detail prior to the beginning of the
estimation. Because both cost and schedule estimates are functionally oriented, some degree
of decomposition is often useful.
We can implement easily this application. Reusability is possible as and when we require in
this application. We can update it next version. We can add new features as and when we
require. There is flexibility in all the modules. Scope of this document is to put down the
requirements, clearly identifying the information needed by the user, the source of the
information and outputs expected from the system.
It is highly likely that the scope will change as the web application project moves forward;
the web process model should be incremental. This allows the development team to “freeze”
the scope for one increment so that an operational web application release can be created.
The next increment may scope changes suggested by a review of the preceding increment,
but once the second increment commences, scope is again frozen temporarily.
This approach enables the Web App team to work without having to accommodate a
continual stream of changes but still recognizes the continuous evolution characteristics of
most web application. Besides that, the following basic quality in the software always
safeguards the future scope of the software.
39. 39
CHAPTER 10: - CONCLUSION
This Web Application provides facility to conduct online examination worldwide. It saves
time as it allows number of students to give the exam at a time and displays the results as
the test gets over, so no need to wait for the result. It is automatically generated by the
server. Administrator has a privilege to create, modify and delete the test papers and its
particular questions. User can register, login and give the test with his specific id, and can
see the results as well. We students of Chitkara University create a new online examination
website.
The project Online Examination was handed to us in 4th semester and we were told to
make website for the conduct of online examination. In order to complete this project we
have gone through several websites such as w3schools & languages JavaScript, bootstrap,
php, css and MY SQL Server .While going through these we enhanced our limited
knowledge on these vast subjects which was not achieved through our semester papers. We
have definitely gained a lot from this project. Now we are able to make websites on any
given requirement and these are all possible after we have done this project.
40. 40
CHAPTER 11:- BIBLIOGRAPHY
Websites:
1. www.google.com
2. www.wikipwdia.com
3. www.w3schools.com
Books Referred:
1. Web Enabled Commercial Application Development -Ivan Bayross
2. Simplified approach to dbms -Prateek Bhatia