Sunteți pe pagina 1din 51

A Project Report On

Online Examination System


Submitted for the partial fulfillment of Bachelor of Engineering (Computer Science)
By University of Rajasthan - Jaipur.

Submitted by

Punit Agarwal
(BE VI semester)

Guide By:

Head of the Department

Shri. Videsh Kumar Gupta


Assistant Professor Engg. Dept. of Comp. Sc. & Engg KPI Engg. College Jaipur(Rajasthan)

Shri. S.N. Sharma


Dept. of Comp. Sc. & KPI Engineering College Jaipur (Rajasthan)

2005-06 Department of Computer Science and Engineering K.P.I. Engineering College University of Rajasthan Jaipur (Rajasthan)

CERTIFICATE

Date: 05/08/2006 This is to certify that Mr. Punit Kumar Agarwal student of 3rd year, Computer Science & Engineering, KPI, Jaipur has successfully completed his industrial training of 60 days from 16th May, 2006 to 15th July, 2006. During the training period he has developed a project titled Online Examination System in Java using AWT /SWING and JDBC . During the training, I found his performance to be good.

(Devesh K. Gupta) (Computer Science) Director

M.Tech.

PREFACE
Necessity is Mother of All Inventions
Summer training is an important part of the engineering curriculum. The B.E. course summer training helps a student in getting acquainted with the manner in which his/her knowledge is being practically used outside his/her institute and this is normally different from what he/she has learnt from books. Hence, when the student switches from the process of learning to that of implementing his/her knowledge, he/she finds an abrupt change. This is exactly why summer training session during the B.E curriculum becomes all the more important. Summer training is prescribed for the student of Technical College as a part of the four year degree course of engineering by the AICET. We are required to undergo summer training for a period of 45 days after the completion of the 3rd year. This training report describes in detail the training after the 3rd year session, which I completed at the KnowledgePoint Infotech Pvt. Ltd, Jaipur. This report also gives the information about the organization and its working along with the project undertaken in the training period. The fundamental step used in SDLC process is based on the ISO 9001 guidelines. My aim was to follow the ISO guidelines and develop a perfect system. The system development was organized into 5 major parts: Requirement Gathering Documentation/Design Coding Testing Implementation & Maintenance Each of the above-defined modules has their sub module. System design and Development was integrated into different modules such as: Login Module, New User Registration & Confirmation Module Select Course For New Exam Module, New Test Details Display Module Display Questions Module, Result Reporting Module, Print Certificate Module Log Out From User Account Module, Add A New Exam Module etc.

ACKNOWLEDGEMENT
A research work owes its success from commencement to completion, to the people in love with researchers at various stages. Let me in this page express my gratitude to all those who helped me in various stage of this study. First, I would like to express my sincere gratitude indebtedness to Mr.Y.N.Gaur (Principal, JEC) for allowing me to undergo the summer training of 30 days at Knowledge Point Info Tech Pvt. Ltd. I would also like thanking all the people who have helped us in the project developmental grateful to our guides Mr. Devesh Kumar Gupta and Mr.T.N.Sharma (Directors of Knowledge Point InfoTech Pvt. Ltd.- Jaipur), for the help provided in completion of the project, which was assigned to me. I owe my thanks to Mr. Rakesh Kumar Kedia (Sr. Project Manager), Mr. Manohar Singh (Project Manager), Mr. Prateek Patel (Sr. Software Executive) of the Company, for their help and support during each phase of development of the project. Without their friendly help and guidance it was difficult to develop this project. I am also thankful to Mr. Pankaj Sharma ,H.O.D. of the Computer Department Jaipur Engineering College, Kukas . He motivated me to undergo summer project training. Last but not least, I pay my sincere thanks and gratitude to all the Staff Members of Knowledge Point for making my training valuable and fruitful. I am also thankful to all my colleagues for their co-operation and support. Submitted By Punit Agarwal

Company Profile
Location : KnowledgePoint Infotech Pvt. Limited 256, Dadu Marg, Barkat Nagar, Tonk Fatak Jaipur 302015 Phone : 2590339, 9829059033, 9414248794

About Organization: The company was established in 2004 with the objective of software development, consultancy and training. The company has established itself as one of the best Training Institute of Rajasthan in a period of about two and half years. The company has also started software development activities. The company has developed two products targeting mass market. The company has developed a software to automate the working of a training institute. In fact the product was first developed for the In-House requirement. After successful operation now the company is doing extensive marketing for selling this product. Other product of the company is an On-Line Examination System. This product was also developed for In-House use and now the company plans to launch this product. The company has recently started providing customized solutions to the corporate clients. The company has developed the Employee Management System and Petrol Pump Management System for automating the activities of the JaganNath Filling Station (Petrol Pump), Gangapur City, Rajasthan. After successful operation, Company plans to launch these products. The company has also started providing Corporate Training Some of our prestigious clients are: Pratham Software, Jaipur Elite Infotech., Jaipur Vertex Plus Technologies, Jaipur Vertex Plus Web Technologies Pvt. Limited, Jaipur The company is planning to launch separate divisions for corporate training and software developments in collaboration with some of the leading organizations in the field of Information Technology.

Leadership Devesh K. Gupta (Director). M. Tech Computer Science, IIT Kharagour Kalpana Gupta (Director) MCA from Banasthali Vidyapeeth, Banasthali, Niwai, Rajasthan T.N. Sharma.(Director) MCA (DOEACC B-Level Course) Core Team Rakesh Kumar Kedia Sr. Project Manager B.E (Computer Sc.) Manohar Singh Shekhawat Project Manager BCA, MCA Ravindra Vyas Sr. Consultant MCA (DOEACC B-Level Course) Pratik Dwivedi Sr. Consultant MCA (DOEACC B-Level Course) Sandeep Pahadia Sr. Consultant (Web applications) MBA Raj Kumar Sharma Sr. Software Engineer B.E.(Computer Sc.) Prateek Patel Sr. Software Executive DOEACC A- Level Course Kapil Sharma Sr. Software Executive MCA (DOEACC B-Level Course)

Table of Content
1. Abstract 2. Software Requirement Specification o Title o Objective o Scope / Functional Requirements o Constraints o Users of the System 3. Technology and Tools used 4. Working Environment 5. Context Diagram 6. Data Flow Diagram (0-level) 7. Database Design o Tables 8. Form Layout Design 9. User Manual 10. Test Cases 11. Conclusion 12. References

ABSTRACT The Project Entitled Online Examination System developed to automate the examination process of the different exam category. On-Line examination is becoming quite popular today. The Online Examination System offering Ease to use, greater level of customization, access for 24 hours a day. There is No need of big examination hall, no need to manual checking, less staff and investment, low maintenance cost, global reach to users. The nature of such type of projects is spread educational environment globally. The Online Examination System must be able to provide a user-friendly interface: 1. To select a paper and take an exam of selected category among various exams Category.
2. This Application must managed a database keeping records of all the users

currently registered, and the system must be completely reliable and error free. 3. This Application enables the registered to take online test and display the result immediately after the test completes. An end user taking the test has to answer all the test questions within a fixed time limit, failing which the test stops automatically. 4. The Online Exam Application uses a Time counter to calculate the time. A timer displays the time elapsed after the start of the test. 5. Administrator User can set the New Paper for the Test and maintain all the functionality of this project. 6. After finishing the test Administrator generate a Test Rank list of the users. The Online Examination System is used to handle all the Examination activity in a Organization.

Software Requirement Specification

Title: Online Examination System Objective: This Application enables the end users to take online test and Display the result immediately after the test completes. Scope / Functional Requirements:
i. Subject Information: This module maintains the entire subject

Information like Add New Subject, Delete a Subject and View all the Subjects.
ii. Topic Information: This module maintains the entire Topic

Information like Add New Topic, Delete Topic and View all the Topics.
iii. Question Information: This module maintains the entire

Questions Information like Add New Question, Delete Question, Modify Question, Search and View all the Questions.
iv. Paper Information: (pre-defined): This module maintains the

Paper Information like Add New Question Paper, Delete a existing Question Paper, Modify Question Paper, View Added Question in Question Paper, View all Question Papers.
v. Exam Information: This module maintains the Exam

Information. A List of Exam Papers will display whenever a user login to give an exam. He/she selects a paper and gives the Exam.
vi. Practice Information: This module maintains the Practice Exam

Information. A List of Exam Papers will display whenever a user login to give an exam. He/she selects a paper and gives the Practice Exam.

vii. Result Information: This module maintains the Result

Information whenever a user completes the Exam.


viii. Ranklist Information: This module show a Ranklist for a`n

Particular Exam Whenever users gives the exam at same paper.


ix. User Information: This module maintains the User Information

like Add a New User; Remove a User, change user password. This module maintained only by the Administrator type user and Administrator type user can add only teacher, operator, practice type users and remove them.
x. Student Registration: A Student type user can registered by this

module.
xi. Print Certificate: This module Print All Exam Ranklist .

Constraints:

Time Constraints: The Project should be completed within 45 Days.

Users of the System:

Administrator: Assign the Task to maintain all users like add new user, remove users and maintain the entire task. Teacher: Assign the task to Generating Question Paper, Add questions, subject, topic, Modification and Deletion. Operator: Assign the task to add questions, Subject, and topic and modify them. Student: Attempting Question Paper to give the Exam. Practice: Assign the task to users for Practice Session.

Technology and Tools used:

System Requirements:
Hardware Requirements:

Intel(R) Pentium (R) 4 CPU 2.66 GHz 256 MB DDR RAM Minimum 20 GB Hard Disk LAN Connectivity, Printer, Keyboard, Mouse, etc.

Software Requirements:

Microsoft Windows 2000/XP Oracle 8i J2SDK 1.5.0 and Higher Ms-Word Notepad, JCreator etc.

Technology and Tools used:


Technology:

AWT/Swing. JDBC, Database (Oracle/MySQL/MS Access), Print API.

Tool:

J2SDK-1.5.0 and Higher JCreater, Text Pad etc.

Working Environment
JAVA was convinced by James Gosling, Patrick Naughton, Chris Warth , Ed Frank and Mike Sheridan at SUN MICROSYSYSTEM, inc in1991. It was initially called Oak but was renamed Java in1995. Somewhat surprisingly, the original impetus for java was not the Internet! Instead, the primary motivation was the need for a platform-independent (that is, architecture-neutral) language that could be used to create software to be embedded in various consumer electronic devices, such as microwave ovens and remote controls. As you can proably guess, many different types of CPU are used as controllers. The trouble with C and C++(and most other languages) is that they are designed to be compiled for a specific target. Although it is possible to compile a C++ program for just about any type of CPU, to do so requires a full C++ compiler targeted for that CPU. The problem is that compilers are expensive and time consuming to create. An easier and more cost efficient solution was needed. In an attempt to find such a solution, Gosling and other began work on portable, platformindependent language that could be used to produce code that would run on a variety of CPUs under differing environments. This effort ultimately led to the creation of Java. About the time that the details of java were being worked out, a second, and ultimately more important, factor was emerging that would play a crucial role in the future of Java. This second force was, of course, the World Wide Web. The java designer knew that using the familiar syntax of C and echoing the object oriented features of C++ would make their language appealing to the legions of experienced C/C++ programmers. In addition to the surface similarities, java shares some of the other attributes that helped making C and C++ successful. First, Java was designed. Tested and refined by real, working programmer. It is a language grounded in the needs and experiences of the people who derived it. Thus, java is also a programmer language. Second, Java is cohesive and logically consistent. Third, except for those constraints imposed by the internet environment, java gives you, the programmer and full control. If you program well, your programs will reflect it. If you program poorly, your programs reflect that too. Put differently, java was not a language with training wheels, it was a language for professional programmers.

Why Java is important to the Internet?


The Internet helped catapult java to the forefront of programming and java, in turn , has had a profound effect on the internet. The reason for this quite Simple java expedients the universe of objects that can more about freely in cyberspace. In network two very broad category of objects are transmitted between the servers and your personal computer: passive information and dynamic active programs. The Java buzzword that gives us the importance of java is: 1) SIMPLE 2) SECURE 3) PORATBLE 4) OBJECT-ORIENTED 5) ROBUST 6) MULTITHREADED 7) ARCHITECTURAL NEUTRAL 8) INTERPRETED 9) HIGH PERFORMANCE 10) DISTRIBUTED 11) DYNAMIC

JAVA:
We can run java program on a wide variety of computer using a range of operating system (OS). This is possible because a java program does not execute directly on your computer. It runs on a standardized hypothetical computer called the java virtual machine (JVM). Which is immolated inside our computer by a program. The java source code that we write is converted by a java compiler to a binary program considering of byte code. Byte codes are machine instructions for the JVM. When we execute java program, the program called the java interpreter inspects the byte code, checks it out to ensure that it has not been tempered with & is safe to execute & then executes the actions that the bite code specify within the JVM. A java interpreter can run stand alone or it can be part of web browser where it can be involved automatically to run applets in a web page.

Context Diagram

Context Diagram
User Authentication Info., Subject, Topic, Paper Info., User Addition Info. User Authentication Info., Subject, Topic, Paper Info.

Administrator

Teacher

Authentication Result, Confirmation of requests User Authentication Info., Subject, Topic, Paper Info.

Authentication Result, Confirmation of requests

Info., Practice Exam.

User Authentication

Online Examination System


Confirmation of Exam.

Confirmation of Exam.

User Authentication Info., Exam. Request

Addition request for subject, topic and questions

Student

Practice User

Operator

Data Flow Diagram


Addition request of question, topic, paper, report request of rank

Operator

User details, change password request

Login Info. change password request

Teacher

Confirmation / and addition report

Addition request for question, topic & paper

Operato

Confirmation / Rejection Info.

Confirmation / Rejection Info. Question Paper Management System

Confirmation of new addition

User details, change password request

User Authentication Module

Result Info User Details


Login Info. , new user details, change password request Confirmation / and addition report Paper Result

Pape

Reque Pap

Confirmation / Rejection Info.

Confirmation / Rejection Info.

Studen

Student

Administrator

Question Set
Addition request of question, topic, paper, report request of rank

Figure - 0

Database Design Tables:


1. Login Table S.No 1. 2. 3. Column Name user_id password usertype DataType varchar2(20) varchar2(20) varchar2(15) Constraints Primary key Description

2. Subject Table S.No 1. 2. 3. Column Name subject_id subject_name description DataType number(4) varchar2(40) varchar2(800) Constraints primary key Description

3. Topic Table S.No 1. 2. 3. 4. Column Name subject_id topic_id topic_name description DataType number(4) number(4) varchar2(30) varchar2(800) Constraints Foreign Key primary key Description

4. Registration Table S.No 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. Column Name title fname mname lname streetaddress1 streetaddress2 streetaddress3 city state country pincode phone_r phone_o phone_m email altemail dob DataType varchar2(6) varchar2(15) varchar2(15) varchar2(15) varchar2(100) varchar2(100) varchar2(100) varchar2(30) varchar2(30) varchar2(30) varchar2(10) varchar2(15) varchar2(15) varchar2(15) varchar2(100) varchar2(100) date Constraints Description

18. 19. 20.

userid regdate Qualification

varchar2(20) date varchar2(60)

primary key

5. Questions Table S.No 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Column Name ques_id subject_id topic_id question option1 option2 option3 option4 answer description DataType number(6) number(4) number(4) varchar2(4000) varchar2(2000) varchar2(2000) varchar2(2000) varchar2(2000) char(1) varchar2(4000) Constraints primary key Description

6. QuestionPaper Table S.No 1. 2. 3. 4. 5. 6. 7. 8. Column Name paper_id paper_name total_questions duration subject_id qpdate session remark DataType number(4) varchar2(500) number(3) number(3) number(4) date char (1) varchar2(1000) Constraints Primary Key Description

E/P/B/R

7. Result Table S.No 1. 2. 3. 4. 5. 6. Column Name unique_test_id paper_id user_id marks_obtained elapsed_time exam_date DataType number(10) number(4) varchar2(20) number(3) number(10 date Constraints Description

8. QuestionPaperSets S.No Column Name 1. paper-id 2. question_id DataType number(4) number(6) Constraints Primary Key Primary Key Description

3.

topic_id

number(4)

Primary Key

9. AnswerSheets S.No 1 2. 3. 4. 5. Column Name unique_test_id user_id paper-id question_id student_choice DataType number(10) varchar2(20) number(4) number(6) char (1) Constraints Primary Key Primary Key Description

Form Layout Design

Login Form

Figure-1 : Login.java

Administrator Main Form

Figure-2: AdminMain.java

Teacher Main Form

Figure-3: TeacherMain.java

Operator Main Form

Figure-4: OperatorMain.java

Student Main Form

Figure-5: StudentMain.java

Practice Main Form

Figure-6: PracticeMain.java

Student Registration Form

Figure-7: StudentRegistration.java

Subject Information Form

Figure-8: Subject_Information.java

Topic Information Form

Figure-9: Topic_Information.java

Question Information Form

Figure-10: Question_Information.java

Question Search Form

Figure-11: Question_Search.java

Question Paper Form

Figure-12: Question_Paper.java

Add Questions Form

Figure-13: Add_Question.java

View Added Questions Form

Figure-14: View_Added_Question.java

Online Exam Form

Figure-15: Online_Exam.java

Practice Exam Form

Figure-16: Practice_Exam.java

Result Summary Form

Figure-17: Result_Summary.java

Search Exam Rank list Form

Figure-18: Search_Exam_RankList.java

Rank List Result Form

Figure-19: RankList_Result.java

Add New User Form

Figure-20: Add_New_User.java

Remove User Form

Figure-21: Remove_User.java

Change Password Form

Figure-22: Change_Password.java

Company Information Form

Figure-22: About_us.java

Supporting Team Members Form

Figure-23: Team_Members.java

Error Message Form

Rank List Report Form

User Manual
The User Manual is a detailed description of the system and its behavior, in a way that is understandable to the novice user. The user manual explains each and every option available in the manual as well as submenu of the main options. It describes the scenarios and ways to choose a specific option. Novice user can fully understand the system about its behavior, way to use and to ease the daily processing. It gives complete detail for system requirement, installation, data entry, and transaction processing and report generation.

1. System Requirements (Details of Hardware and Software used): Hardware Requirement:


Processor RAM Floppy Disk Drive : : : Any Pentium Processor Minimum 64 MB 1.44MB(One)

It is the minimum requirement, but here user cannot store data at another disk (because database product does not allowed to change diskette). In case of large volume of data, that general in commercial organization, following hardware configuration is recommended. Except the problem handling, it will possibly faster processing as a result offence of job.

Software Requirement:

OS JAVA DATABASE

: :

Windows-2000/XP or Unix/Linux J2SDK 1.5.0 or Higher : Oracle 8i or Higher

2. Installation Details: For installing the Online Examination System in Computer First we need to install the above Softwares in Computer.

Software Installation:
Operating System:

Install an Operating System in your Computer to given any one like Microsoft- WINXP, WIN-2000. or Linux.

Java Installation (J2SDK-1.5.0):

As the application is developed using J2SDK-1.5.0, So the system needs J2SDK-1.5.0 installed on the machine. Boot the computer with any of the Operating System. Double click on setup of J2SDK-1.5.0 that is available in the CD with your Project. Set the appropriate directory of j2sdk-1.5.0 installation, and set this directory in path.

Database Installation (Oracle 8i):


The Project needs Oracle 8i or higher to installed on the machine. Double Click on the Oracle Setup and Select the Drive Where you want to install the Oracle. In Installation time its ask you global Data Base Name. The default Data Base Name is orcl and you can change it on installation time. After Complete Installation run the Sql-Plus EXE to go: Start Menu + Programs + Oracle-OraHome81+ Application Development + Sql Plus.

2. Run The Project (Online Examination System) : For run the project follow the given steps: St ep 1: Copy the Online Exam Folder in your Computer from the CD. The Contents of the Folder is given below: 1. OnlineDatabase.txt 2. DriverInfo.properties 3. OnlineExam.jar or OnlineExam.exe

St ep 2: To create the tables in oracle Copy all the data from the OnlineDatabase.txt and paste its on the oracle SQL-PLUS Editor. St ep 3: After Creating all the tables in database check the driver, url, username, password in the DriverInfo.properties class file.

Inside in Url: localhost = Machine Name where oracle server is installed. 1521 = oracle default port no. orcl = oracle global database name. Driver: Oracle Driver name should be set in classpath to compile and run the project. Its can be get from the Oracle Home Directory. Name: Oracle user name where we create the database. Password: Oracle password where we create the database. St ep 4: To run the Online Exam Project Double Click on the OnlineExam.jar or OnlineExam.exe. The Online Examination Home Page will Display.

Getting started
The application is extremely user friendly. Perform the following steps to navigate in the application. The first provided screen is login screen. To enter the system user has to type in correct username and password. To logon in the Project you can enter as five user types Administrator, Teacher, Operator, Student, and Practice. The default username and password for Administrator are given as admin and admin. After login this username and password you get a Administrator Home Page. Administrator type users create another user in this Project and view all the forms in this Project.

Test Cases

Test Case:1 Form Name : Subject Information Action Name : Add


Field Caption Value
Available Subject Subject ID 1 Subject Name Core Java Subject Description (Subject Description) Result : On submission of this data form is responding as per expectations and the subject is being inserted in the database.

Test Case:2 Form Name : Topic Information Action Name : Add


Field Caption Value
Subject Name Core Java Available Topic Topic ID 1 Topic Name Multi-Threading Topic Description (Topic Description) Result : On submission of this data form is responding as per expectations and the topic is being inserted in the database.

Test Case: 3 Form Name : Question Information Action Name : Add


Field Caption
Subject Name Topic Name Question Options

Value
Core Java Multi-Threading What isAlive() method returns? a. int b. char c. Boolean d. all No hint given

hint

Result :
On submission of this data form is responding as per expectations and the question is being inserted in the database.

Test Case: 4 Form Name : Question Paper Information Action Name : Add
Field Caption
Question Paper ID Question Paper Name Total No. of Questions Question Paper Duration (in Minutes) Paper Session Exam Note

Value
1 Paper1 30 (Select questions on click Add Questions Button) 30 Exam (Remark about Exam)

Result :
On submission of this data form is responding as per expectations and the paper is being inserted in the database.

Conclusion
This project was really a very educative and enlightening experience for me. I got the portability problems at various platforms, besides developing my designing skills. I got to learn the network access of software. I learn how data connectivity is done and how multitasking is done with a shared memory.

In the end, I would once again thank all the people who made such kind of training possible for me.

(RAKESH KEDIA) 00\CE\0039 IV B.E. Computer Engineering

BIBLIOGRAPHY & REFRENCES


Bibliography 1. [Professional] Java Server Programming J2EE Edition, Wrox Press Ltd. 2. Java Server Pages, Oreily Publications. 3. Enterprise Java Beans, Oreily Publicatons 4. [HTML- The Complete Reference], Tata Mc Graw-Hill Edition 5. DataBase Design : Korth 6. Core Java 2 : Sun Microsystems 7. Programming in Java : Gosling 8. System Ananlysis and Design : Awad 9. Software Engineering : PressMan 10. [Java-2, The Complete Reference],Herbert Schildt,, Tata Mc Graw-Hill Edition 11. [SQL, PL/SQL The Programming Language Of Oracle] by Ivan Bayross , BPB Publications References 1. www.java.sun.com 2. www.shopping.rediff.com 3. www.indiashopping.com 4. www.shopping.yahoo.com visited on April 1 2005 visited on March 28 2005 visited on March 30 2005 visited on March 3 2005

S-ar putea să vă placă și