Professional Documents
Culture Documents
AJMER.
A PROJECT REPORT ON
Submitted by:
PINKY PALIWAL
MALIKA VIJAY
KAMNA JAIN
NIDHI KACCHAWA
CERTIFICATE
This is to certify that this report embodies the original work done by PINKY PALIWAL, KAMNA
JAIN, MALIKA VIJAY, NIDHI KACCHAWA, during this project submission as a partial fulfillment of
the requirement for the minor project in the VII Semester (Information Technology), of the
Rajasthan Technical University, Kota.
Dr. M. M. Sharma
(Principal)
1|Page
Acknowledgement
If words are considered as a symbol of approval and token of appreciation then, let the words
play the heralding role expressing my gratitude.
The satisfaction that accompanies that the successful completion of any task would be
incomplete without the mention of people whose ceaseless cooperation made it possible,
whose constant guidance and encouragement crown all efforts with success.
I would like to express my heartfelt thanks to our university teachers for their support and
guidance, which they rendered throughout the study. It would not have been possible to
accomplish this without their thoughtful guidance and expertise.
I would like to thank Mr. SAURABH MAHESHWARI for his continuous guidance, without whose
support, it would not be possible for us to complete the task.
2|Page
Contents
Introduction ......................................................................................................................................5
1.1 Purpose ............................................................................................................................................... 6
Software Development and Methodology ..........................................................................................7
2.1 System Development Life-Cycle.......................................................................................................... 7
Preliminary Analysis: ............................................................................................................................. 8
Systems analysis, requirements definition: .......................................................................................... 8
Systems design: ..................................................................................................................................... 8
Development......................................................................................................................................... 8
Integration and testing: ........................................................................................................................ 8
Planning & Analysis............................................................................................................................9
3.1 Project Planning .................................................................................................................................. 9
3.2 Feasibility Study ................................................................................................................................ 10
Requirement analysis and specification ............................................................................................ 12
4.1 User Characteristics .......................................................................................................................... 12
4.2 Features: ........................................................................................................................................... 12
4.3 Constraints: .......................................................................................... Error! Bookmark not defined.
4.4 Benefits: ............................................................................................................................................ 14
4.5 External Interface Requirements: ..................................................................................................... 14
System Design ................................................................................................................................. 16
5.1 Design Strategy ................................................................................................................................. 16
Three-tier architecture........................................................................................................................ 16
Presentation tier ................................................................................................................................. 17
Application tier (business logic, logic tier, data access tier, or middle tier) ....................................... 17
Data tier .............................................................................................................................................. 17
5.2 Data-flow Diagram ............................................................................................................................ 18
1st Level DFD ........................................................................................................................................ 18
2nd Level DFD ....................................................................................................................................... 19
3rd Level DFD ....................................................................................................................................... 20
5.3 Entity Relationship Diagram........................................................................................................... 21
Coding ............................................................................................................................................. 22
6.1 Introduction to MySql ....................................................................................................................... 22
PHP + MySql ........................................................................................................................................ 22
3|Page
Queries ................................................................................................................................................ 22
Open a Connection to the MySQL Server ........................................................................................... 22
Syntax: ................................................................................................................................................. 22
6.2 Database Design................................................................................................................................ 23
Tables in MySql: .................................................................................................................................. 24
Testing............................................................................................................................................. 26
UNIT TESTING .......................................................................................................................................... 27
MODULE LEVEL TESTING ......................................................................................................................... 27
INTEGRATION & SYSTEM TESTING .......................................................................................................... 27
Conclusion ....................................................................................................................................... 28
4|Page
Introduction
Online Exam System is a full-fledged system which is beneficial for both teachers and students.
With this site, Administrator can allow authorized entry of users which includes faculties and
students.
Faculties are the one who register on the site and conduct timed exams in their respective
courses. They can add questions in the test by selecting the available settings.
The tests added by faculties are available to students who can attempt the test and get score
then and there. Thus the purpose of the site is to provide a system that saves the efforts and
time of both the teachers and the students.
Online Exam System is a web application that establishes a network between the faculties and
the students. Faculties enter on the site the questions they want in the exam. These questions
are displayed as a test to the eligible students. The answers enter by the students are then
evaluated and their score is calculated and saved. This score then can be accessed by the
faculties and administrator to evaluate their performance.
Online Exam System provides the platform but does not directly participate in, nor is it involved
in any tests conducted. Questions are posted not by the site, but users of the site.
The administrator keeps an eye on the overall functioning of the system which includes how
many users are using the site, how many tests are added by which faculty, how many students
have given those tests and view the score of any student.
The system entitled Online Exams System is application software, which aims at providing
services to the institutes and providing them with an option of selecting the eligible students by
themselves.
5|Page
1.1 Purpose
The purpose of on-line test system is to take online test in an efficient manner and no time
wasting for checking the paper. It provides online facility to Institutes to conduct online exams
and to Students to give online exams. Institutes (i.e the faculties in institute) can enter and edit
the questions in test. Students can login and give their respective exams and view their score
then and there. The main objective of on-line test simulator is to efficiently evaluate the
candidate thoroughly through a fully automated system that not only saves lot of time but also
gives fast results
1.2 Scope
This website provides facility to institutes to conduct online exams and maintaining the records
of users by providing authorized entry. Users can register as Faculty / Student and wait for the
admin to send a notification email. User can then login with the valid username and password
and can carry out their respective tasks.
6|Page
7|Page
Preliminary Analysis:
Defines project goals into defined functions and operation of the intended application and
analyzes end-user information needs.
Systems design:
Describes desired features and operations in detail, including screen layouts, business rules,
process diagrams, pseudo-code and other documentation.
Development: The real code is written here.
Brings all the pieces together into a special testing environment, then checks for errors, bugs
and inter-operability.
8|Page
9|Page
Technical Feasibility
Time-schedule Feasibility
Operational Feasibility
Economical Feasibility
Technical Feasibility:-
The technical feasibility assessment is focused on gaining an understanding of the present technical
resources of the organization and their applicability to the expected needs of the proposed system. It is
an evaluation of the hardware and software and how it meets the need of the proposed system
This project on Online Exam System will be platform independent since it is being coded in PHP
scripting language.
HTML is used to create web pages.
MySql database will be used for storing data.
Hardware requirements used are compatible with all O.S.
Only authorized person would be able to use the website so it would be secure.
Time-schedule Feasibility:-
A project will fail if it takes too long to be completed before it is useful. Typically this means estimating
how long the system will take to develop, and if it can be completed in a given time period using some
methods like payback period. Schedule feasibility is a measure of how reasonable the project timetable
10 | P a g e
is. Given our technical expertise, are the project deadlines reasonable? Some projects are initiated with
specific deadlines. You need to determine whether the deadlines are mandatory or desirable.
The scheduled time for online exam system was about 3 to 4 months and the project is completed in 4
months.
Operational Feasibility:-
Operational feasibility is a measure of how well a proposed system solves the problems, and takes
advantage of the opportunities identified during scope definition and how it satisfies the requirements
[4]
identified in the requirements analysis phase of system development.
The operational feasibility assessment focuses on the degree to which the proposed development
projects fits in with the existing business environment and objectives with regard to development
schedule, delivery date, corporate culture, and existing business processes
Economic Feasibility:-
The purpose of the economic feasibility assessment is to determine the positive economic benefits to the
organization that the proposed system will provide. It includes quantification and identification of all the
benefits expected. This assessment typically involves a cost/ benefits analysis.
Economic analysis is the most frequently used evaluating the effectiveness of proposed system, more
commonly known as Benefit analysis. The Benefit analysis is to determine benefits and savings which are
expected from candidate system and compare them with cost. If the benefits are more than the cost,
then decision is made to design and implement the system.
11 | P a g e
4.2 Features:
The website will allow access only to authorized users with specific roles (Administratormaintains the website, Faculty -Register to conduct the exams, Students-Give the exams online)
A summary of the major functions that the website will perform:
Register/Login:
Admin can directly login on site with the username and password provided by the
developer which can be changed later.
Faculty and Students should register on site first and wait for the authorization of
admin.
Courses:
Admin can add the courses which are provided by the institute and add description for
the same if necessary. The courses added by admin can be seen by all the faculties and students.
12 | P a g e
Faculty can add the particular courses to My Courses allotted to them from the list added by
admin and add tests in that particular course. Student can view the list of courses and attempt
test from a particular course at any given time.
Test:
i.
ii.
iii.
iv.
v.
Faculty can add test in their course and provide the settings of the same ie.
Test Name
Test Instructions
Total number of questions in the test.
Marks of individual questions in the test.
Timer for test.
After saving the settings of test, faculty can add questions in the test. They can add and save
as many questions as necessary and then select which questions should be displayed to the
student among the list of questions added. The number of questions selected should match
the number added in the settings of test. After the questions are selected , the faculty
should click on save test so that student can view the test.
Student can view all the test added by any faculty in any of the course listed by the admin
and attempt the same. Student can attempt a particular test only once except due to some
unavoidable reasons (like power-cut) the answers get saved in database and the student can
resume the test where left.
Type of questions:
Faculty can add/delete questions in test which can be Multiple-Choice Questions or
True-False type Questions. Total number of questions can vary from test to test.
Questions:
Faculty can add/ edit questions in test by selecting the following details:
i. Question Type the question in this field.
ii. Options Provide the multiple options and choose the correct answer.
iii. Correct Answer - Add the the correct answer among the given choices.
The software calculates the total marks of test based on the details provided by the user
after the user(faculty) clicks on save test which can be then attempted by the student.
Get Score
Student can attempt the test added by faculty and get score then and there. Only one
question is displayed at a time and the student has to choose the correct answer and click
next.
At the end of last question , complete summary of test is displayed i.e which questions are
answered/unanswered. The student can go back and change the answer from this page
within the time limit of test and then click on submit test to view the score. If the time
13 | P a g e
Review Test
After getting the score , student can click on review test to get the answer explanation of each
question and check which questions were correct/incorrect.
4.3 Benefits:
This website reduces the manual work, maintaining accuracy, increasing efficiency and saving
time. Also institutes need not go to develop a new software each time, instead they just register
and conduct a test. For students, it saves time of going to far away centers and also they can
view their result then and there.
User Interfaces
i.
ii.
iii.
iv.
v.
vi.
vii.
viii.
ix.
x.
xi.
Software Interfaces
i.
ii.
14 | P a g e
Login Screen
Registration Screen
Admin home screen
Student profile screen
Add test screen
List of test screen
Add question screen
List of question screen
Student home screen
Test screen
Display score screen
iii.
iv.
v.
vi.
Hardware Interfaces
i.
ii.
iii.
iv.
15 | P a g e
CPU
Monitor
Keyboard
Mouse
System Design
Three-tier architecture
16 | P a g e
This is the topmost level of the application. The presentation tier displays information related
to such services as browsing merchandise, purchasing and shopping cart contents. It
communicates with other tiers by outputting results to the browser/client tier and all other
tiers in the network. (In simple terms it's a layer which users can access directly such as a web
page, or an operating systems GUI)
Application tier (business logic, logic tier, data access tier, or middle tier)
The logical tier is pulled out from the presentation tier and, as its own layer, it controls an
applications functionality by performing detailed processing.
Data tier
This tier consists of database servers. Here information is stored and retrieved. This tier keeps
data neutral and independent from application servers or business logic. Giving data its own
tier also improves scalability and performance.
As more users access the system a three-tier solution is more scalable than the other solutions
because you can add as many middle tiers (running on each own server) as needed to ensure
good performance (N-tier or multiple-tier).Security is also the best in the three-tier
architecture because the middle layer protects the database tier.
There is one major drawback to the N-tier architecture and that is that the additional tiers
increase the complexity and cost of the installation.
17 | P a g e
Add
User
Faculty
Admin
Student
Admin
Login
Admin
Register
Admin
Login
Admin
Online Exam
System
Online Exam
System
Register
Register
Register
Register
Admin
Admin
18 | P a g e
Register
Admin
Student
Register
Faculty
Register
Admin
Login
Login
Select
test
Select
course
Add
Course
Start
test
Add
test
Answer the
questions
Add Test
Details
Get Score
Add
Questions
Login
Save
test
List Of Tests
19 | P a g e
Add Course
Details
Save
Course
List Of Courses
Users
Student
Faculty
Edit Profile
Edit Profile
Profile Details
Personal Information
Test Completed/Pending
Score
20 | P a g e
Profile Details
Personal Information
Test Added
Admin
View
Diagram:
21 | P a g e
Coding
6.1 Introduction to MySql
Many of the applications that a Web developer wants to use can be made easier by the use of a
standardized database to store, organize, and access information. MySQL is an Open Source (GPL)
Standard Query Language (SQL) Relational Database Management System (RDBMS) database that is
fast, reliable, easy to use, and suitable for applications of any size. SQL is the ANSI-standard database
query language used by most databases.
SQL is the most popular language for adding, accessing and managing content in a database. It is most
noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an essential part of
almost every open source PHP application.
PHP + MySql
PHP combined with MySQL are cross-platform (you can develop in Windows and serve on a Unix
platform)
The main reason for using a scripting language like PHP is because of the interaction with databases it
can offer.
The things needed to run PHP scripts which access MySQL databases.
1. Webserver - This can either be on a computer of your own or on a web host. Any web server
software should work with PHP and MySQL but the best to use is Apache, which is free
2. Installation - PHP also needs to be installed on the server. If it is not already installed you can
install it (or ask your web host to install it). It can be downloaded from PHP.net and is also free.
3. MySQL This is actual database software
Queries
A query is a question or a request.
We can query a database for specific information and have a recordset returned.
22 | P a g e
Parameter
Description
host
username
password
dbname
23 | P a g e
Online exam System uses the following database structure for storing user data , test data ,questions
data etc.
Tables in MySql:
1. User
Field
Id
firstname
lastname
Dateofbirth
Email
Mobilenumber
Gender
address
City
Pincode
state
country
Tenboard
tenpercent
Tenyear
Twelveyear
Twelveboard
Twelvepercent
Graduni
Gradpercent
Gradyear
Random
Type
Constraints
Int
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Primary Key
This table stores the information of user (admin, faculty and student) that is personal as well as login
information and primary key id which auto-increments every-time a new user registers.
Personal information includes First Name, Last Name, Email Address,Contact info etc.
2. Courses
Field
id
categoryame
24 | P a g e
Type
Constraints
Int
Varchar
Primary Key
This table stores the courses added by admin i.e Course Name and one primary key ID which autoincrements every-time a new course is added.
3. User
Field
id
Username
Score
Category_id
Type
Constraints
Int
Varchar
Varchar
Varchar
Primary Key
This table stores the details of users and their test, which includes, username , id, score, and
category.
4. Questions
Field
qid
Question
answer1
Answer2
answer3
Answer4
Answer
Category_id
Type
Constraints
Int
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Primary Key
This table stores the details of questions added in test which includes serial number ,Question , Type
of Question , options , Correct Answer .
There is one primary key qid which auto-increments every-time a new question is added in any
test.
25 | P a g e
Testing
System testing is a critical aspect of Software Quality Assurance and represents the ultimate
review of specification, design and coding. Testing is a process of executing a program with the intent of
finding an error. A good test is one that has a probability of finding an as yet undiscovered error. The
purpose of testing is to identify and correct bugs in the developed system. Nothing is complete without
testing. Testing is the vital to the success of the system.
In the code testing the logic of the developed system is tested. For this every module of the program is
executed to find an error. To perform specification test, the examination of the specifications stating
what the program should do and how it should perform under various conditions.
Unit testing focuses first on the modules in the proposed system to locate errors. This enables to detect
errors in the coding and logic that are contained within that module alone. Those resulting from the
interaction between modules are initially avoided. In unit testing step each module has to be checked
separately.
System testing does not test the software as a whole, but rather than integration of each module in the
system. The primary concern is the compatibility of individual modules. One has to find areas where
modules have been designed with different specifications of data lengths, type and data element name.
Testing and validation are the most important steps after the implementation of the developed
system. The system testing is performed to ensure that there are no errors in the implemented system.
The software must be executed several times in order to find out the errors in the different modules of
the system.
Validation refers to the process of using the new software for the developed system in a live
environment i.e., new software inside the organization, in order to find out the errors.
The validation phase reveals the failures and the bugs in the developed system. It will be come to know
about the practical difficulties the system faces when operated in the true environment.
By testing the code of the implemented software, the logic of the program can be examined. A
specification test is conducted to check whether the specifications stating the program are performing
under various conditions.
Testing may be done at 4 levels
Unit Level
Module Level
Integration & System
26 | P a g e
UNIT TESTING
A Unit corresponds to a screen /form in the package. Unit testing focuses on verification
of the corresponding class or Screen. This testing includes testing of control paths, interfaces,
local data structures, logical decisions, boundary conditions, and error handling. Unit testing
may use Test Drivers, which are control programs to co-ordinate test case inputs and outputs,
and Test stubs, which replace low-level modules. A stub is a dummy subprogram.
27 | P a g e
Conclusion
The project report entitled ONLINE EXAMINATION has come to its final stage. The system
has been developed with much care that it is free of errors and at the same time it is efficient
and less time consuming. The important thing is that the system is robust. Also provision is
provided for future developments in the system. The entire system is secured. This online
system will be approved and implemented soon.
28 | P a g e