Online Examination
Online Examination
Online Examination
ONLINE EXAMINATION
A project report submitted at Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal In partial fulfillment of the degree of
Bachelor of Engineering
in
Information Technology
Information Technology Department MEDI-CAPS INSTITUTE OF TECHNOLOGY AND MANAGEMENT INDORE - 453331 2011 - 2012
INDORE
ONLINE EXAMINATION
Bachelor of Engineering
in
Information Technology
Information Technology Department MEDI-CAPS INSTITUTE OF TECHNOLOGY AND MANAGEMENT INDORE - 453331 2011 - 2012
CERTIFICATE
completed their major project work titled ONLINE EXAMINATION, as per the syllabus and submitted a satisfactory report on this project worked as a part of fulfillment towards the degree of Bachelor of Engineering (Information Technology and Engineering) from Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal.
External Examiner
DECLARATION
I hereby declare that this submission is my own work and that, to the best of my knowledge and belief, it contains no material previously published or written by another person nor material which has been accepted for the award of any other degree or diploma of the university or other institute of higher learning, except where due acknowledgement has been made in the text. I also declare that no copy of the work done by me is submitted anywhere else in any other professional or technical or academic organization and is purely submitted and developed by me as a part of the university curriculum towards the partial fulfillment for the award of the degree of Bachelor of Engineering.
Date: 03/05/2012
Krishna Gehlot
ACKNOWLEDGEMENT
Expressing gratitude is always a difficult task and often words fall short of reflecting ones feelings. It is our proud privilege, to do so and we undertake this task with utmost sincerity.
Many people contributed to project ONLINE EXAMINATION. I want to thank them all. First of all we would like to thank none other than almighty GOD for constantly inspiring us and guiding and helping us in various endeavors of life.
I feel really great to have such an esteemed and learned faculty Ms Asha Khatri who served as our project guide and coordinator as well. She constantly spared time from her busy schedule to help us in guiding our project. We thank her for her valuable guidance and support.
I express our hearty gratitude and thanks to Dr. C.S. Satsangi, Head of Department, Department Of Information Technology, for his cooperation towards fulfillment of project.
Above all, we thank our parents and friends for constantly supporting and helping us.
TABLE OF CONTENTS
Abstract.. 1 1. Introduction................ 2 1.1 Objective............ 2 1.2 Scope. 2 1.3Problems in existing system.......................................... 3 1.4 Justification of the Project. 3 1.5 Organization of the Report...........4 2. System Requirement Analysis..5 2.1 Information Gathering....5 2.2 System Feasibility... 6 2.2.1 Economical. 6 2.2.2 Technical 6 2.2.3 Behavioral..6 2.3 Platform specification (Development and Deployment)................................... 6 2.3.1 Hardware Specification.. 7 2.3.2 Software Specification...7 3. System Analysis...........................8 3.1 Information Flow Representation............................ 8 3.1.1Activity Diagram... . 9 3.1.2 Use Case Diagram.. 11 3.1.3 Sequence Diagram...... 13 3.1.4 Collaboration Diagrams.... 15 4. Design.......................... 17 4.1 Architectural Design........................17 4.1.1 Architectural Context Diagram 17
}}}}{{{
4.1.2 Architectural Behavioral Diagram... 18 4.1.3 Description of Architectural Design.19 4.1.4 Control Hierarch....................... 21 4.2 Procedural/Modular Approach....................... 22 4.2.1 Modules used........................ 22
4.2.2 Internal Data Structures 22 4.2.3 Algorithm design for operations...23 4.3 Data Design 24 4.3.1 Data objects and resultant data structures 24 4.4 Interface Design. 25 5. Testing......36 5.1 Testing objective.....36 5.2 Testing scope... 36 5.3 Testing principles....................... 37 5.4 Testing method used 37 5.5 Test cases. 38 5.6 Sample Test Data and Results................................39 6. Limitations...43 7. Future Scope 44 8. Conclusion....................... 45 9. Bibliography and References.............................. 46
LIST OF FIGURES
S. No. 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 4.1 4.2 4.3 4.4 4.5 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21
Figure Activity Diagram for Login Activity Diagram for Registration Activity Diagram for Answer Test Activity Diagram for Generation of Result Use Case Diagram for Admin Use Case Diagram for User Sequence Diagram for Login Sequence Diagram for Admin Sequence Diagram for Appear Test Sequence Diagram for Test Collaboration Diagram for Admin Collaboration Diagram for User Architecture Context Diagram Architectural Behavioral : Addition & Deletion of Subject Architectural Behavioral :Addtion & Deletion of Question Architectural Behavioral :Register & Test Control Hierarchy Interface for Main Page Interface for User Home Interface for View Profile Interface for Select Subject Interface for Select Topic Interface for Start Test Interface for Appaer Test Interface for result and Mailling Interface for Admin Home Interface for Admin Profile Interface for Add Question Interface for Edit Question Interface for Delete Question Interface for Add Subject Interface for Delete Subject Interface for View Result Interface for Branch And Rank wise Result Interface for Registration Interface for Forgote Password
Page No. 9 9 10 10 11 12 13 13 14 14 15 16 17 18 18 19 21 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34
4.22 5.1 5.2 5.3 5.4 5.9 5.10 5.11 5.12 5.13
Interface for Retrieve pass White Box Testing Black Box Testing Test Case: Registration Test Case : Appear Test Test Case: Result Test Case: Add Question Test Case: Delete Question Test Case: Add Subject Test Case: Delete Subject
35 37 38 39 39 40 40 41 41 42
LIST OF TABLES
S. No. 3.1
Page No. 9
ABSTRACT
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 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. The IT initiatives have encouraged various Organizations to develop systems to facilitate their day to day operations. The Online Examination System will include various Courses and subjects for conducting examinations. This system helps in conducting examinations quickly and can thus help in saving time and the operations will be carried out efficiently,With the effective use, any Institute can apply the Online Examination System for conducting quick examinations and getting better results in less time. The purpose of the system is to develop Online Examination System., used to test the Domain knowledge of the students, and employees with respect to the particular technology. The manual procedure used for conducting exam is time consuming process and error prone due to human limitations. The System purpose is to completely automate the old manual procedure of conducting exam to Online Web Based Examination System. Online examination helps students and its mission is to offer a quick and easy way to appear for the exam. It also provides the results immediately after the exam and security. The user can enter to write the exam only with their valid username and password. This examination contains multiple choice questions and appropriate number of options. There are no limitations on number of options and it can be randomized. More than one option can be correct but the user can select only one option. This provides time limit. The user can see their results after completing the exam. This helps the students to give the exam from far distance. Our main objective is to provide the facilities to the users for their self -evaluation through online exam and provide the result instantly after finishing test through electronic mail. The project entitled Online Examination is aimed to conduct examinations in an efficient manner without time wasting for the checking of paper. The main objective of our software is to efficiently evaluate the candidate thoroughly through a fully automated system that not only saves time but also give fast result. In this automated system there is no need of paper and pen. The user can write exam without going to the exam centre. Also the website will provide a good practice for the candidates who are preparing for the entrance examination. The project contains two modules namely administrator, and user.
1. Introduction
1.1 Objective
Online examination helps students and its mission is to offer a quick and easy way to appear for the exam. It also provides the results immediately after the exam and security. The user can enter to write the exam only with their valid username and password. This examination contains multiple choice questions and appropriate number of options. There are no limitations on number of options and it can be randomized. More than one option can be correct but the user can select only one option. This provides time limit. The user can see their results after completing the exam. This helps the students to give the exam from far distance. Our main objective is to provide the facilities to the users for their self evaluation through online exam and provide the result instantly after finishing test through electronic mail. In the online
examination, Student may register them for particular course. They can use this Examination process sitting at College Campus. Student may register on or before date and time that managed by the Institutes. This Application provides facility to conduct online examination at college campus. 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. The purpose of the system is to develop Online Examination System, used to test the Domain knowledge of the students, and employees with respect to the particular technology. The manual procedure used for conducting exam is time consuming process and error prone due to human limitations. The System purpose is to completely automate the old manual procedure of conducting exam to Online Web Based Examination System.
1.2 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. Scope of Online Test is very broad in terms of other manually taking exams. Like: This can be used in educational institutions as well as in corporate world. Can be used anywhere any time as it is a web based application. No restriction that examiner has to be present when the candidate takes the test. Online examination will reduce the hectic job of assessing the answers given the candidates. Being an integrated Online Examination System it will reduce paper work. To improve the skills of user.
This project can be used by any organization to measure the performances of their employees. The
educational institutes can use it for test conducting and can be used as campus preparation of students. Performances can be known very quickly because of instant result generation and also by mailing of result. Online Examination System is designed for Educational Institutes like Schools, Colleges, and Private Institutes to conduct logic tests of their students on a regular basis. The system handles all the operations and generates reports as soon as the test is completed which saves the precious time of faculties spent on reviewing answer sheets. The existing system is weak when it comes to surprise test organizations whereas this system can make it possible very easily.
releases the workload of teachers, which is accepted by more and more schools, certification organizations and training organizations. Most online examination systems only support several fixed question types and don't allow users define their own question types, so they have pool scalability. The System purpose is to completely automate the old manual procedure of conducting exam to Online Web Based Examination System.
Section 2: Introduction
This section provides an overview of the entire project. It describes the objective and scope of the project. It also highlights different problems in the existing software and provides a justification for the project.
Section 5: Design
This section describes the system architectural design with the help of architectural context and behavioral diagrams. It also defines the modules used to carry out different functionalities along with the algorithms used for implementation of the modules. The design section also concerns with various data structures used for representing data and the interfaces through which users can interact with the system.
Section 6: Testing
This section describes testing objective, scope, principles and methodology. It also defines different test cases systematically uncover different classes of errors with minimum amount of time and effort
Section 7: Limitations
This section describes some of the drawbacks/limitations of the Online Test portal.
Section 9: Testing
This section concludes/summarizes the application Knowledge Portal in terms of fulfilment of the project objective.
References used:
www.wikipedia.org/datamigration www.ispirer.com www.databaseanswers.org www.w3schools.com www.swisssql.com
Economic feasibility
Economic feasibility is the assessment of system in terms of cost outlay it involves and benefits expected from it. Both the development and operational costs need to be considered. Cost of running is negligible as compared to the development and establishment cost. The project does not require any special hardware. Moreover, the resources demanded are easily available and are of common use to most of the computer users. Hence, our project is economically feasible.
Technical feasibility
This project uses Java as the implementation language, MySQL as backend and it needs the following resources: Operating System: Windows XP/Vista/2007. RAM-512 MB. Hard Disk- 10 GB (or higher). JDK 1.6.2 Net Beans IDE 7.0 or higher version The project is technically feasible as the requirements can be met very easily.
Behavioral feasibility
People are inherently resistant to change, and computers have been known to facilitate change. All estimates regarding reaction, comfort and ease of use for the people it is meant for, should be made in prior. This project has all this, hence it is behaviorally feasible. The feasibility checks to test function performance and constraints that affect the system. It includes: Technical expertise is required to operate this project but the amount of technical knowledge required to use this software can be met by anyone having basic knowledge to operate on
computers. This Project is a user-friendly web Application. Provides a Efficient GUI tool Proper conducted test. Proper functioning.
For Deployment
64 MB RAM 40 GB disk space 1.8 GHz processor
Software Specification
JDK Name Version number : Source MySQL Name Version number : Source : : MySQL MySQL 5.0 GNU-GPL (MySQL-AB) : : Java Development Kit Version 1.6.2 Sun Microsytems
3. System analysis
Software design is a process of problem-solving and planning for a software solution. After the purpose and specifications of software is determined, software developers will design or employ designers to develop a plan for a solution. It includes low-level component and algorithm Design is an activity concerned with marketing major decisions, often of a structural nature. It shares with programming a concern for abstracting information representation and processing sequences, but the level of detail is quite different at the extremes. Design builds coherent, well planned representation of programs that concentrate on the interrelationships of parts at the higher level and the logical operation involved at the lower levels.
flow. Denoted by a solid circle. This is similar to the notation used for Initial State. Activity: Represented by a rectangle with rounded (almost oval) edges. Decisions: Similar to flowcharts, a logic where a decision is to be made is depicted by a diamond, with the options written on either side of the arrows emerging from the diamond, within box brackets.
Final Activity: The end of the Activity diagram is shown by a bull's eye symbol, also called as a final activity.
Figure 3.5: Use Case Diagram For Admin Use Case for user
Sequence Diagrams
The sequence diagram is used primarily to show the interactions between objects in the sequential order that those interactions occur. One of the primary uses of sequence diagrams is in the transition from requirements expressed as use cases to the next and more formal level of refinement. Use cases are often refined into one or more sequence diagrams. In addition to their use in designing new systems, sequence diagrams can be used to document how objects in an existing (call it "legacy") system currently interact.
Figure 3.8: Sequence Diagram For Admin Sequence diagram for appear test
Figure 3.9 : Sequence Diagram For Appear Test Sequence diagram for test
Figure 3.11: Collaboration Diagram for Admin Collaboration Diagram for User :
This task defines the overall approach for how the user will interact with the system and the experience they will have in working with others in a collaborative fashion. It is effectively the conceptual design for the collaborative environment. At this stage decisions may also made on the appropriate technology to be used for collaborative content. This builds off the baseline defined in the Technology Blueprint and existing Information Standards and Information Governance Policies.
4. Design
Design describes a final system and the way by which it is developed. It refers to the technical specification that will be applied in implementing the candidate system. This section includes both procedural and data design.
ADMIN
USER
ONLINE EXAMINATION
TEST
ADD SUBJECT
DELETE SUBJECT
ADD QUESTIONS
DELETE QUESTIONS
VIEW RESULTS
Admin Managing
subjects
Subject Deleted
Figure 4.2: Architectural Context Diagram For Question, addition and deletion:-
Subject Selected
Select Topic
Topic Selected
Add Questions
Question Added
Admin
Managing subjects
Question Deleted
Select Registration
Register Details
Registered Successfully
User
Test Successfully
Description of each steps:1. User registration: User that want to give online test, must be first registered on the test portal. In
which, some information is required regarding the user. Once the users are registered than they can apply for the next step.
2. View profile: This step is for both user and administrator when they both are logged in thy can
view their profile and can also update it.
3. Appear for test: In this whole step, user is logged in with his id and password, after login various
subjects are shown to user. Now user can select the subject. There are various topics are available in each subject. Now the topic will selected for the test and user can give test on selected topic. 4. Resume test: During the test if any failure occurred like system failure, power failure, closing of browser etc. Then the current state of user will be saved and whenever user wants to resume on the skipped test, It will be possible through resume test concept. 5. Add subject: This step is can only performed by admin. In this step admin can add any subject. Once a subject has been added we can also add various number of topics related to subject. 6. Delete subject: This step is can only performed by admin. In this step admin can delete any subject. Once a subject has been deleted, The topic regarding to subject will also deleted. 7. Add question: Once a subject has been added, admin can add many number of questions. 8. Delete question: This authority is only for admin. Admin can delete any number of question from the selected topic and subject. 9. Result generation and mailing: After completing test, User will get instant result and result is also e-mailed to his/her mail id and result will be stored in database that can be viewed by only administrator.
Control Hierarchy
Main Page
User
Admin
Register
Login
Forgot password
View Profile
Add Question
Edit Question
Delete Question
View Result
Select Subject
View Profile
Security Question
Edit Profile
Existi ng Sub.
New Sub.
Select Subject
Select Subject
Select Topic
Edit Profile
Password Select Subject New Subject Select Topic Select Topic Result
Start Test Select Topic New Topic Edit Question Delete Question
Figure 4.5: Control Hierarchy 4.2 Procedural/Modular Approach Modules Used: User registration
In this User that want to give online test, must be first registered on the test portal. In which, some information is required regarding the user. Once the users are registered than they can apply for the next step.
Result nd Mail
Login and profile This module includes login of user and admin both, In which the whole process of login, view profile and update profile can be done. Test
In this whole module, , user is logged in with his id and password, after login various subjects are shown to user. Now user can select the subject. There are various topics are available in each subject. Now the topic will selected for the test and user can give test on selected topic.
Object
Instance of class is object. In our project we use object to access attribute of class. An object stores its state and identity in fields and exposes its behavior through methods. This data structure is used in our project in edit , Mtable,,migB, migB2, newconcept ,table classes.
Vector of String
It is similar to arrays but with the difference that size of vector grow or shrink as needed. Each vector tries to optimize storage management by maintaining a capacity. In this data elements can be inserted and deleted not only from the end but from anywhere. This data structure is used in our project in migB,migB2 classes.
Vector of vector
It contain vector of vector. Each vector tries to optimize storage management by Maintaining a capacity. This data structure is used in our project in migB, migB2 classes.
Connection
It is used to establish connection with the database. It is used in most of the classes as it is necessary to establish connectivity with different DBMS.
Prepared Statement
It is used for executing queries in the database. It is used in most of the classes as it is necessary to establish connectivity with different DBMS.
Result Set
It is used for retrieving data from the database. It is used in most of the classes as it is necessary to retrieve data from different DBMS.
Add and delete subjects 1. Login of admin with his/her corresponding id and password.
2 . Select add subject. i) ii) Add new subjects. Subject added successfully.
2. Select view profile. 3. Update profile if you want. 4. Profile viewed and updated successfully. 5. Select view result. 6. Result viewed successfully.
1. Register
The objects of this class is used for registration of user, Which will allow users to login and appear for test.
2. Admin
The objects of this class used in adding subjects, deleting subjects, adding topic, deleting topic, and addition and deleting of questions.
3. User The object of this class is used in subject selection, topic selection and in the whole process for appearing in the test, finishing of test. 4. Result The object of this class generate the result of user and sends result of user to the users e-mail id. 4.4 Interface Design
Main Page
Start test
Figure 4.7: Interface for Appear for test Result and mailing
Figure 4.16: Interface for View result Branch and rank wise result
Registration
Forgot password
Retrieve password
5.Testing
Testing objective
Our objective is to design tests that systematically uncover different classes of errors and the tests do this with minimum amount of time and effort. Testing is the process of executing a program with the intent of finding an error. A good test case is one which has a high probability of finding an undiscovered error. A successful test is one that uncovers an undiscovered error.
In our project, the scope of testing is very good. We have performed thorough testing of each and every component. So the scope of testing included is Unit testing. Various types of methodologies have been used and the system has been tested to its best. Later, it can be tested with much more data and the quality of the software can be reassured.
Unit Testing
Initially tests focus on each component individually, ensuring that it functions properly as a unit. Hence, the name is given unit testing. Unit testing makes heavier use of white box testing techniques. In the project, the module interface was tested to ensure that information properly flows into and out of the program unit i.e. each class and interface under test for each individual unit. The local data structures were examined to ensure that data stored temporarily maintains its integrity during all steps in an algorithm execution. Boundary conditions were also tested to ensure that module operates properly at boundaries established to limit or restrict that all statements in the module executes at least once. And last but not the least all error handling paths were tested. Test each unit by the following procedure: List the inputs of the unit and check the validation on them. Check for output on corresponding unit. Match the actual output with the output obtained. Check for the correct responses. Compilation of the failures recovered during testing procedure.
Integration Testing
Integration testing is a systematic technique for constructing the program structure while conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested module and build a program structure that has been dictated by design.
Document test cases and test results. Provide expected test results if possible.
Input
Output
Input
Output
Result
Add questions
Delete question
Add subject
Delete subject
6. Limitations
Though this project is a great effort towards Online Examination, but it has also certain limitations: User would not be able to attempt descriptive examination. No option available for user for viewing correct answers of questions. User can not view the answers that he/she has attempted.
7. Future Scope
In future this project can be extended to include the following features:
It can be used by any educational institute for any kind of preparation. An organization can use this for evaluation of their employees. It can be available for descriptive test.
8. Conclusion
The result of our project will be a complete effort for online examination. Online examination helps students and its mission is to offer a quick and easy way to appear for the exam. It also provides the results immediately after the exam and security. The user can enter to write the exam only with their valid username and password 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. Scope of Online Test is very broad in terms of other manually taking exams.
Bibliography On Database Elmira, Navathe, Fundamentals of Database Systems, Addison Wesley. Korth, Silbertz, Sudarshan, Database Concepts, McGraw Hill.