You are on page 1of 39

INDERPRASTHA’S

ONLINE EXAMINATION SYSTEM


<IOES>
By

Praveen Kumar (0703010078)

Sunil Kumar (0703010109)

Arjit Agrawal (0703010025)

Abhishek Patel (0703010007)

Submitted to the Department of Computer Science

In partial fulfillment of the requirements for degree of

Bachelor of Technology

in

Computer Science Engineering

Inderprastha Engineering College


U.P. Technical University
(Dec,2010)

i
TABLE OF CONTENTS
Page No.

DECLARATION iii
CERTIFICATE iv
ACKNOWLEDGEMENT v
ABSTRACT vi
LIST OF TABLES vii
LIST OF FIGURES viii
CHAPTER-1 1
INTRODUCTION
1.1 PROJECT OVERVIEW 2
1.2 PURPOSE 2
1.3 SCOPE 2

CHAPTER-2 3
FUNCTIONAL REQUIREMENTS
2.1 FUNCTIONAL REQUIREMENTS
2.1.1. EXTERNAL INTERFACE REQUIREMENTS
2.1.1.1. HARDWARE INTERFACES
2.1.1.2. SOFTWARE INTERFACE
2.1.1.3. COMMUNICATION PROTOCOL
2.1.1.4.ASSUMPTION AND DEPENDENCY
2.2.NON-FUNCTIONAL REQUIREMENTS
2.3 SOFTWARE SYSTEM ATTRIBUTES
2.3.1.SECURITY
2.3.2.RELIABILITY
2.3.3.AVAILABILITY
2.3.4. PORTABILITY
2.3.5. PERFORMANCE
2.3.6. USER FRIENDLINESS
2.3.7. IMPLEMENTATION REQUIREMENTS

ii
CHAPTER-3
ANALYSIS AND DESIGN 11
3.1. USE CASE DIAGRAM
3.1.1. USE CASE OVERVIEW
3.1.2. LOGIN USE CASE
3.1.3. STUDENT REGISTRATION USE CASE
3.1.4. MANAGE TEST USE CASE
3.1.5. APPEAR FOR TEST USE CASE
3.1.6. GENERATE RESULT USE CASE

3.2. ACTIVITY DIAGRAM


3.2.1. LOGIN ACTIVITY DIAGRAM
3.2.2.MANAGE TESTS ACTIVITY DIAGRAM
3.2.3. GENERATE RESULT ACTIVITY DIAGRAM
3.2.4. STUDENT REGISTRATION ACTIVITY DIAGRAM
3.2.5. ANSWER TEST ACTIVITY DIAGRAM

3.3. SEQUENCE DIAGRAMS


3.3.1. SEQUENCE DIAGRAM OVERVIEW
3.3.2. LOGIN SEQUENCE DIAGRAM
3.3.3. STUDENT REGISTRATION SEQUENCE DIAGRAM
3.3.4. MANAGE TEST SEQUENCE DIAGRAM
3.3.5. APPEAR FOR TEST SEQUENCE DIAGRAM

3.4 DATABASE DESIGN


3.4.1. TABLE : QUESTIONS
3.4.2. TABLE: REGISTRATION
3.4.3 TABLE: RESULT

CHAPTER-4
USER INTERFACES 25

4.1. USER INTERFACES


4.1.1 HOME PAGE
4.1.2. REGISTRATION
4.1.3 LOGIN INTERFACE

CHAPTER-5

5.1 CONCLUSION
5.2 REFERENCES

iii
DECLARATION
We hereby declare that this submission is our own work and to the best of our knowledge
and belief, it contains no material previously published neither written by any other person nor
material which to a substantial extent has been accepted for the award of any other degree or
diploma of the university or other higher learning except where acknowledge has been made in
the text.

Signature:

Name: Praveen Kumar

Roll No: 0703010078

Date:

Signature:

Name: Sunil Kumar

Roll No: 0703010109

Date:

Signature:

Name: Arjit Agrawal

Roll No: 0703010025

Date:

Signature:

Name: Abhishek Patel

Roll No: 0703010007

Date:

iv
CERTIFICATE

This is to certify that Project Report entitled “INDERPRASTHA’S ONLINE EXAMINATION


SYSTEM” which is submitted by Praveen Kumar, Sunil Kumar, Arjit Agrawal and Abhishek
Patel in partial fulfillment of the requirement for the award of B. Tech. in Department of
Computer Science of U.P. Technical University, is a record of the candidate own work carried
out by him under my/our supervision. The matter embodied in this thesis is original and has not
been submitted for the award of any other degree.

v
ACKNOWLEDGEMENT
It gives us a great sense of pleasure to present the report of the B. Tech. Project undertaken
during B. Tech. Final Year. We owe special debt of gratitude to Mrs. Anjali Singhal, Department
of Computer Science & Engineering, IPEC, Ghaziabad for her constant support and guidance
throughout the course of our work. Her sincerity, thoroughness and perseverance have been a
constant source of inspiration for us. It is only her cognizant efforts that our endeavors have
seen light of day.

We also take the opportunity to acknowledge the contribution of Asst. Professor Nita Verma
Department of Computer Science & Engineering, IPEC, Ghaziabad for her full support and
assistance during the development of project.

We also do not like to miss the opportunity to acknowledge the contribution of all faculty
members of the department for their kind assistance and cooperation during the development of
our project. Last but not the least we acknowledge our friends for their contribution in the
completion of the project.

Signature:

Name: Praveen Kumar

Roll No: 0703010078

Date:

Signature:

Name: Sunil Kumar

Roll No: 0703010109

Date:

Signature:

Name: Arjit Agrawal

Roll No: 0703010025

Date:

Signature:

Name: Abhishek Patel

Roll No: 0703010007

Date:

vi
ABSTRACT

This document is meant for describing all the features and procedures that were followed while developing the
system. This document specially mentions the details of the project how it was developed, the primary requirement,
as well as various features and functionalities of the project and the procedures followed in achieving these
objectives. Online Examination System forms the lifeline of the Educational Institutes to the functioning of the
Examination. It is very essential for an Institute to handle the Examinations and their results. It is very useful for an
Institute to test its students continuously for their mutual development. This system is helpful for conducting (M.C)
Multiple Choice Examinations which can be conducted regularly as well as for surprise tests and provides
immediate results saving the precious time of faculties to check the papers and prepare mark sheets. While virtual
classroom have become reality with the advance of networking and other technologies the traditional assessment
methods still dominate when it comes to exams. We can take the advantage of internet technologies to conduct
exams so students can enjoy any time anywhere flexibility as well as maximize their learning. Online Examination is
a complete web application developed in C# (ASP.Net& Ado.Net) where examination can be done online. It’s a
simple but powerful project having many advanced features. Using this Online Exam system, we can conduct any
type of objective type examinations on line. The questions are stored in the server database. When the user is ready
to take the exam, then the user id and exam id is passed to the database. Using this same Question contents are
retrieved from the server and displayed on the page whenever the user requests for a question. On end of the exam,
the result will be displayed. The duration and no of questions per exam are set during exam configuration time.

vii
LIST OF TABLES

Sr. No. Table No. Title Page


No.

1 5.1 User Master 25

2. 5.2 Faculty Master 27

3. 5.3 Admin Master 28

4. 5.4 Receipt Master 29

5. 5.5 Question Master 30

6. 5.6 Subject Master 31

7. 5.7 Exam Master 32

8. 5.8 Result Master 33

viii
LIST OF FIGURES
Sr. No. Figure No. Title

Page No. 1. 3.1.1. Use case


Overview
2. 3.1.2. Login use
3. 3.1.3. Student Registration

4. 3.1.4. Manage Test Use case

5. 3.1.5. Appear for test

6. 3.1.6. Generate result

7. 3.2.1. Login Activity Diagram

8. 3.2.2. Manage Tests Activity

9. 3.2.3. Generate Result Activity

10. 3.2.4. Student Registration


Activity

11. 3.2.5. Answer Test Activity

12. 3.3.1. Sequence Diagram


Overview

13. 3.3.2. Login Sequence Diagram

14. 3.3.3. Student Registration


Sequence

15. 3.3.4. Manage Test Sequence

16. 3.3.5. Appear for Test Sequence

ix
CHAPTER-1

INTRODUCTION

x
1. Introduction
1.1. Project Overview

This project assesses students by conducting online objective tests. The tests would be highly
customizable. This project will enable educational institutes to conduct test and have automated
checking of answers based on the response by the candidates. The project allows faculties to
create their own tests. It would enable educational institutes to perform tests, quiz and create
feedback forms. It asks faculty to create his/her set of questions. Faculty then creates groups and
adds related students into the groups. Further the tests are associated with specific groups so that
only associated students can appear for the test. The result of the response would be available to
the faculty of the question set. Further the result would also be mailed to the student. This project
would be helpful for creating practice tests, say for educational institutes and as a feedback form.

1.2. Purpose

1. Responses by the candidates will be checked automatically and instantly.


2. Online examination will reduce the hectic job of assessing the answers given by the
candidates
3. Being an integrated Online Examination System it will reduce paper work.
4. Can generate various reports almost instantly when and where required.

1.3. Scope

This project would be very useful for educational institutes where regular
evaluation of students’ is required. Further it can also be useful for anyone
who requires feedback based on objective type responses.

xi
CHAPTER-2

FUNCTIONAL
REQUIREMENTS

xii
2.1. Functional Requirements

Required software is for conducting on-line `objective’ type examination and providing
immediate results. The system should satisfy the following requirements:

• Administrator Aspect

1. Taking backup of the database


2. Editing/Deleting/Creating the database.
3. Adding or expelling faculty
4. Changing the super password.

• Student Aspect:

1. Requesting registration
2. Logging into the system.
3. Edit user information.
4. Selecting the test.
5. Appearing for the examination.
6. Changing password.

• Analysis

1. Authenticating users based on username and password


2. Keeping session track of user activity
3. Recording candidates’ responses to every question
4. Checking whether the given response is correct or not
5. Keeping history of test reports of all users.

2.1.1. External Interface Requirements


2.1.1.1. Hardware Interfaces
Server side hardware

• Hardware recommended by all the software needed.


• Communication hardware to serve client requests

xiii
• Processor : Pentium IV 2.0 and above.

• RAM : 1 GB

• Disk space : 4GB

Client side hardware

• Hardware recommended by respective client’s operating system and web browser.


• Communication hardware to communicate the server.
• Processor: Pentium IV 2.0 and above.

• RAM : 256 MB

2.1.1.2. Software Interface


Server side software

• Web server software: SQL Server 2005


• Server side scripting tools: ASP
• Database tools: Sedna native XML DBMS.
• Compatible operating system: Windows 7

Client side software

• .NET Framework
• Operating System: Windows XP/2000/Vista/7
• Web browser supporting Active Server Pages

2.1.1.3. Communication Protocol

Following protocols are required to be permitted on the server side


• HTTP incoming request
• HTTPS incoming request if secure gateway is implemented
Following protocols are required to be permitted on the client side
• HTTP outgoing request
• HTTPS outgoing request if secure gateway is implemented

2.1.1.4.Assumption and Dependency

xiv
1. Username are valid email addresses of respective user
2. Administrator has the authority to add/delete faculty level accounts.

2.2.Non-Functional Requirements
• System should be able handle multiple users
• Database updating should follow transaction processing to avoid data inconsistency.

2.3 Software System Attributes


2.3.1.Security

• Administrator has the highest authority to edit/delete/create database


• Students can only view their test records.
• Faculty can view all the test records of every student.
• Critical information like passwords should be transferred in encrypted form
• Passwords should be stored in encrypted form
• Password will not be mailed to the user in case user forgets password, instead either
temporary password or a password reset link will be sent.

2.3.2.Reliability

Data validation and verification needs to be done at every stage of activity.


• Validating user input
• Use of locking mechanism while updating database like transaction processing
• Recovering the transaction using rollback.

2.3.3.Availability

The examination system being an online system should be available anytime.

Constraints:
Though the system should be available 24x7 some features may be restricted.
• Quiz creator may allow the specific test to be available only at certain time like scheduled
examination.
• The test may be time limited so the candidates appearing will have limited time to answer
the test.

2.3.4. Portability

xv
• The web application will be built using ASP which has support to run on any platform
provided the required compilers are available.
• For database either Oracle or MySQL would be used, that too has extensive support over
many popular architectures and operating systems.

Constraints:
• Portability would be limited to the support provided by the respective application vendor
on various architectures and operating environments.

2.3.5. Performance

The system would be used by multiple users at a time and may grow as time passes; the system
would need to implement multithreading to achieve acceptable performance. Further a database
connection pool may also be required for assigning faster database connection. System should be
efficient enough to meet all kinds of requirements as required by the Administrator, Faculty and
Student. The system should not hang or lose its efficiency in any kind of worse conditions. It
should provide the correct output in all manners.

2.3.6. User Friendliness

System should be user friendly, so that any user can access the system.

2.3.7. Implementation Requirements

Entire coding will be done using Microsoft Visual .Net 2008 and Microsoft SQL Server 2005.
Soft copy for the documentation is provided in Microsoft Word Format. Entire coding would not
be shown to the client for any reasons. Implementation does not require any more software
support without as mentioned below in the system requirements.

xvi
CHAPTER-3

ANALYSIS AND
DESIGN

xvii
3.1. Use Case Diagram
3.1.1. Use case Overview

xviii
3.1.2. Login use case

xix
3.1.3. Student Registration use case

xx
3.1.4. Manage Test Use case

3.1.5. Appear for test use case

xxi
3.1.6. Generate result use case

xxii
3.2. Activity Diagram
3.2.1. Login Activity Diagram

3.2.2.Manage Tests Activity Diagram

xxiii
3.2.3. Generate Result Activity Diagram

xxiv
3.2.4. Student Registration Activity Diagram

3.2.5. Answer Test Activity Diagram

xxv
xxvi
3.3. Sequence Diagrams
3.3.1. Sequence Diagram Overview

xxvii
3.3.2. Login Sequence Diagram

3.3.3. Student Registration Sequence Diagram

xxviii
3.3.4. Manage Test Sequence Diagram

xxix
3.3.5. Appear for Test Sequence Diagram

3.4 Database Design

3.4.1. Table : Questions

Field Name Data Type Constraints/Descripti


on
Subject Id Varchar Not Null
Question No. Number Not Null
Question Varchar2 Not Null
Option 1 Varchar2 Not Null
Option 2 Varchar2 Not Null
Option 3 Varchar2 Not Null
Option 4 Varchar2 Not Null
Correct Answer Number Not Null

xxx
3.4.2. Table: Registration

Field Name Data Type Constraints/Descripti


on
UserId Varchar2 Not Null
Name Varchar2 Not Null
Gender Varchar2 Not Null
DOB Varchar2 Not Null
Course Varchar2 Not Null
Branch Varchar2 Not Null
Year Numeric Not Null
UPTU Roll No Numeric Not Null/Max Length
E-Mail Varchar2 Not Null
Password Varchar2 Not Null

3.4.3 Table: Result

Field Name Data Type Constraints/Descripti


on
UserId Varchar2
CourseId Varchar2
Marks Numeric
Test Date Varchar2

xxxi
CHAPTER-4

USER INTERFACES

xxxii
4.1. User Interfaces
The interfaces of this system are as below
4.1.1 Home Page

4.1.2. Registration

xxxiii
4.1.3 Login Interface

xxxiv
4.1.4. Questions Interface

xxxv
xxxvi
CHAPTER-5

CONCLUSION

5.1 Conclusion

xxxvii
The conventional examination system where the students have to travel examination centers or
take proctored exams. Online examination system takes the advantage of internet technologies to
conduct exams and results are published without any delay. Almost every project is subjected to
change depending on the client’s requirements. The system and the architecture of the proposed
system is a compatible one, so addition of new modules can be done without much difficulty.
Since this module has its unique properties it can extend further to make this system a complete
one. The application was implemented and tested with real data and were found to be error free.
Also, the system is protected from any unauthorized access .All the necessary validations are
carried out on this project, so that any kind of users can make use of this application and
necessary messages makes them conscious of the error they have made.

5.2 REFERENCES

Appendix – A List of Useful Websites

• http://msdn.microsoft.com/library/default.asp
• www.w3schools.com
• www.webdevelopersnotes.com
• www.tutorialpoint.com

Appendix – B List of Useful Books

• ASP.NET 2.0 Website Programming : Problem-Design-Solution


• (Programmer to Programmer) by Marco Bellinaso
• OReilly (E-Book) – Programming in .Net
• OReilly (E-Book) – Framework + Essentials.pdf
• Beginner ASP.NET 2.0 – Unleashed
• PL/SQL Programming – Evan Bayross

xxxviii
xxxix