ONLINE EXAMINATION SYSTEM
A
MAJOR PROJECT REPORT
Submitted in partial fulfillment of the requirements
for the degree of
BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE & ENGINEERING
BY
ELITE GROUP (College Copy)
DECEMBER 2011
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
GYAN GANGA INSTITUTE OF TECHNOLOGY AND MANAGEMENT
BHOPAL (M.P)
An ISO 9001:2008 Certified Institution
Approved by AICTE, New Delhi
Affiliated to Rajiv Gandhi Technical University Bhopal (M.P)
ONLINE EXAMINATION SYSTEM
A
MAJOR PROJECT REPORT
Submitted in partial fulfillment of the requirements
for the degree of
BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE & ENGINEERING
ELITE GROUP (College copy)
Under the guidance of
UJJWAL NIGAM (HOD Cse)
DECEMBER 2011
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
GYAN GANGA INSTITUTE OF TECHNOLOGY AND MANAGEMENT
BHOPAL (M.P)
An ISO 9001:2008 Certified Institution
Approved by AICTE, New Delhi
Affiliated to Rajiv Gandhi Technical University Bhopal (M.P.)
ABSTRACT
ACKNOWLEDGMENT
This project involved the collection and analysis of information from a wide variety of sources and the efforts of many people beyond me. Thus, it would not have been possible to achieve the results reported in this document without their help, support and encouragement.
I would like to express my gratitude to the following people for their help in the work leading to this report:
Dr. P. S. Venkataramu; Principal: for providing us with an environment to complete our project successfully.
Prof. Ujjwal Nigam; Head, Department of CSE, who modeled us both technically and morally for achieving the greater success to complete the project.
Mr. Rahul Shrivastava; Project supervisor: for their useful comments on the
subject matter and for the knowledge I gained by sharing ideas with them.
Prof. Ujjwal Nigam; Project Coordinator: for organizing and coordinating the Minor Project, 2011.
We also thank all the staff members of our college and technicians for their help in making this project a successful one.
Finally, we take this opportunity to extend our deep appreciation to our family and friends, for all that they meant to us during the crucial times of the completion of our project.
Elite Group
TABLE OF CONTENTS
TITLE PageNumber
CERTIFICATE I
ABSTRACT II
ACKNOWLEDGEMENT III
LIST OF TABLES IV
LIST OF FIGURES V
LIST OF SYMBOLS VI
Chapter 1: INTRODUCTION 1-2
1.1 About your project
1.2 Project Objectives
Chapter 2: Software and Hardware requirements
Chapter 3: Literature Survey
Chapter 4: Software Requirement Analysis
4.1 Define the problem
4.2 SDLC Model
4.3 Feasibility Study
4.4 Project Scheduling
Chapter 5: Software Design
5.1 DFDs
5.2 UML diagrams.
5.2.1 Class Diagrams
5.2.2 Sequence diagrams
5.2.3 Usecase diagrams
5.3 Control Flow diagrams
5.3.1Database Design
5.3.2 E-R Diagrams
Chapter 6: Coding
6.1 Html Codes
6.2 JAVA Codes
6.3 JSP Codes
Chapter 7: Testing
Chapter 8: Output Screens
Chapter 9: Conclusions
Chapter 10: Further Enhancements
Chapter 11: Bibliography
LIST OF FIGURES
FIGURE NO. TITLE PAGE NO.
4.2 WATERFALL MODEL
5.1 DATA FLOW DIAGRAM
5.2.1 CLASS DIAGRAM
5.2.2 SEQUENCE DIAGRAM
5.2.3 USE CASE DIAGRAMS
6.1 DATA BASE DESIGN
6.2 ER DIAGRAM
LIST OF ABBREVIATIONS
FI Frequent Items
MFI Maximal Frequent Item
CFI Closed Frequent Item
FP Frequent Pattern
FP-MAX Frequent Pattern Maximum
FP-CLOSE Frequent Pattern Closed
J2EE Java 2 Enterprise Edition
AWT Abstract Windowing Toolkit
API Application Program Interface
JDBC Java Data Base Connectivity
DSN Data Source Name
CHAPTER 1
INTRODUCTION
1.1 ABOUT THE PROJECT:
The purpose of online examination system is to take online test in an efficient manner . The main objective of online examination system 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 PURPOSE:
This Web Application provides facility to conduct online
Examination in a college campus.
It saves time as it allows number of students to give the exam at atime 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 testpapers and its particular questions.
User can register, login and give the test with his specific id, andcan see the results as well.
No restriction that examiner has to be present when the candidatetakes the test.
CHAPTER 2
SOFTWARE AND HARDWARE REQUIREMENTS
2.1 SOFTWARE REQUIREMENTS
Dot Net Framework 3.5
Microsoft SQL Server 2008
Visual Studio 2008
Visual Source Safe (VSS)
2.2 HARDWARE REQUIREMENTS:
CPU – Intel Core 2 Duo E7300
RAM – 2 GB
Hard disk – 120 GB
Operating System – Windows XP
Chapter 3
Literature Survey
Chapter 4
Software Requirement Analysis
Chapter 5
Software Design
5.3 Control Flow diagrams
5.3.1 Database Design
tbl_Student:
The purpose of this table is to store the information about students.The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
Roll_No varchar(12) PK, not NULL
This field contains enrollment no. The field
will be used as a login id.
F_Name char(20) not NULL
This field contains first name of the user.
L_Name char(20) not NULL
This field contains last name of the user.
Semester int not NULL
This field contains the semester period of the student .
Branch char(5) not NULL
This field contains the branch details.
Contact_No numeric not NULL
This field contains contact no. of the student.
Email_ID varchar(30) not NULL
This field contains email id of the student.
Password varchar(20) not NULL
This field contains password and will be used for login.
This field contains id of the
Security_Ques_ID int not NULL security question selected by the student.
Security_Answer varchar(20) not NULL
Thie field contains the security answer given by the student.
tbl_Administrator:
The purpose of this table is to store the information about admin and subadmin.
The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
User_Name varchar(20) PK, not NULL
This field contains username which will be used as login for admin and subadmin.
F_Name char(20) not NULL
This field contains first name of the user.
L_Name char(20) not NULL
This field contains last name of the user.
Contact_No numeric not NULL
This field contains contact no. of the student.
Email_ID varchar(30) not NULL
This field contains email id of the student.
Password varchar(20) not NULL
This field contains password and will be used for login.
Security_Ques_ID int not NULL
This field contains id of the security question selected by the student.
Security_Answer varchar(20) not NULL
Thie field contains the security answer given by the student.
tbl_Question_Bank:
This table stores all the questions provided by the subadmin subject wise with their options and with the correct option.The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
Question_ID int PK, not NULL
This field contains question id.
Question varchar(300) not NULL
This field contains questions provided by the subadmin.
Option_1 varchar(100) not NULL
This field contains one of the option.
Option_2 varchar(100) not NULL
This field contains one of the option.
Option_3 varchar(100) not NULL
This field contains one of the option.
Option_4 varchar(100) not NULL
This field contains one of the option.
Correct_Option varchar(100) not NULL
This field contains the correct option.
Subject_Code varchar(10) not NULL
This field contains the subject code.
Unit varchar(10) NULL
This field contains the no. of units included in the test.
Time_Duration short int NULL
This field contains the time duration per question.field is mandatory.
No_Of_Bookmarks int NULL This field contains the no. of bookmarks per question.
Tbl_Schedule:
This table contains the schedule of the test.The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT
DESCRIPTION
Test_Code varchar(10) not NULL
This field contains test code.
Subject_Code varchar(10) not NULL
This field contains the subject code.
Date date not NULL
This field contains last name of the user.
Semester int not NULL
This field contains the semester period of the student .
Branch char(5) not NULL
This field contains the branch details.
Test_Duration short int not NULL
This field contains total duration of the test.
Time_In short int not NULL
This field contains starting time of the test.
Time_Out short int not NULL
This field contains ending time of the test.
Boolean_Ques_Duration boolean NULL
This field contains the information whether the time duration is opted or not..
Negative_Marking boolean
NULL
This field contains the information whether the negative marking is opted or not..
Tbl_Report:
This table contains the result and the progress report of all students.
The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
Test_Code varchar(10) not NULL
This field contains test code.
Roll_No varchar(12) not NULL
This field contains enrollment no. The field will be used as a login id.
Marks_Obtained int not NULL
This field contains marks scored by the student.
Total_Marks Int not NULL
This field contains maximum marks of the test.
Tbl_Bookmark:
This table contains no. of questions bookmarked as a doubt by the students.
The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
Question_ID int PK, not NULL
This field contains question id.
Roll_No varchar(12) not NULL
This field contains enrollment no. The field will be used as a login id.
Tbl_Test_Attempt:
This table contains the questions attempted by a particular student with their answer and whether it is correct or not.
The table contains following attributes :
ATTRIBUTES DATATYPE CONSTRAINT DESCRIPTION
Test_Code varchar(10) not NULL
This field contains test code.
Roll_No varchar(12) not NULL
This field contains enrollment no. The field will be used as a login id.
Question_ID int PK, not NULL
This field contains question id.
Attempted_Answer varchar(100) not NULL
This field contains the answer given by the student.
Is_Correct boolean not NULL
This field contains whether the answer given by the student is correct or not.
Design
5.1 E R Diagram:
1:n
1:n
1:n
n:n
1:n
tbl_Student
Roll_No
F_Name
Contact_No
Semester
Security_Que_ID
Email_ID
Branch
L_Name
Security_Ans
tbl_Question_Bank
Question_ID
Option4
Option3
Option2
Option1
Correct_Option
Unit
Time_Duration
No_Of_Bookmarks
Question
Bookmark
Password
tbl_Report
Total_Marks
Marks_Obtained
Roll_No
Test_Code
View
Roll_No
Question_ID
tbl_Administrator
User_Name
F_Name
Email_ID
Contact_No
Security_Que_ID
L_Name
Security_Ans
Creates
tbl_Schedule
Branch
Subject_Code
Test_Code
Boolean_Que_Duration
Time_Out
Time_In
Test_Duration
Date
Semester
Creates
Test
Question_ID
Test_Code
View
Password
Subject_Code
Negative_Marking
Roll_No
Attempted_Answer
Is_Correct