Sunteți pe pagina 1din 63

INDORE

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

A Project Report Submitted at Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal


In partial fulfillment of the degree of

Bachelor of Engineering
in

Information Technology

Project Guide: Mr. Rakesh Verma

Submitted By: Krishna Gehlot 0812IT093D02

Information Technology Department MEDI-CAPS INSTITUTE OF TECHNOLOGY AND MANAGEMENT INDORE - 453331 2011 - 2012

CERTIFICATE

This is to certify that Krishna Gehlot 0812IT093D02

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.

Ms. Asha Khatri Project Co-ordinator

External Examiner

Mr. C.S.Satsanghi HOD Incharge

Dr. Sunil K. Somani Director

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.

With Regards, Krishna Gehlot

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

Figure Elements of an Activity Diagram

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.

1.3 Problems in Existing System


In the existing system exams are conducted using paper work which takes lots of time to finish the whole examination process. After completion of exam the answers are evaluated manually and results are also made on paper. The whole process needed lots of time and man power. To reduces these problems there needed a fully automatic examination. Some major problems in handwritten examinations and some in online examination systems that are proposed earlier are as follows. The current system is very time consuming. It is very difficult to analyze the exam manually. Results are not precise as calculation and evaluations are done manually. No instant result generation. No facility to store result. No facility to e-mail result. If any system or power failure occurs during test than user could not able to resume test. User could not solve question randomly. No facility to review solved question.

1.4 Justification of Project


The online test is the process to observe our skill by solving test paper based on various topic. It is less Time consuming and is more efficient. Analysis will be very easy in proposed system as it is automated. Result will be very precise and accurate and will be declared in very short span of time because calculation and evaluations are done by the simulator itself. The online test system is very secure as no chances of leakage of Question paper as it is dependent on the administrator only. The logs of appeared candidates and their marks are stored and can be backup for future use. The online examination system not only reflects the justification and objectivity of examination, but also

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.

1.5 Organization of Report Section 1: Abstract


This section describes an abstract of what have been done in Online Examination as the project.

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 3: System Requirement Analysis


This section mainly deals with the requirement analysis phase before actually designing the system. It describes the requirement gathering phase and verifies system feasibility in economic, behavioral and functional terms. The section also specifies the hardware and software requirements for applications development and deployment.

Section 4: System Analysis


This section deals with the information flow representation of the system with the help of various diagrams. The diagrams included in this section are Use Case, Sequence and Collaboration diagram.

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 8: Future Scope


This section describes how Online Examination can be extended in functionality in future to include a number of additional features.

Section 9: Testing
This section concludes/summarizes the application Knowledge Portal in terms of fulfilment of the project objective.

Section 10: Bibliography and References


This section includes the details and references to books, websites, research papers etc.

2. System requirement analysis


System requirement analysis is a task to bridge the gap between system level requirement engineering and software design. Requirement analysis lets the software engineer to refine the software allocation and to construct the models of data, functional and behavioural domains. Moreover, it provides the developer with a representation of data and behaviour that can be converted to data, architectural, interface and component level design. System requirement analysis is the condition of capability needed by us to solve a problem or achieve an objective. That is condition or capability that must be met or proposed by a system to specify a contract, standard, specification or other formally imposed document. System analysis is conducted with the following objectives in mind: Resource availability for running the Online Test. What type of test is needed-objective or descriptive. Problems that the users are facing in existing system. System feasibility and requirement. Identify the user need.

2.1 Information gathering


Information gathering is primary step in initiating any project. It includes questionnaires with client and other people involved in the use of the system under construction. It also has many such aspects like detailed study of subject, information about the present systems being utilized by the client and the problems he or she is facing. Information gathering related to Online Examination: The environment in which the software would be used. Problems that the users are facing in existing systems. Resources available for running the software. What is the basic need of Online test portal? System requirement and feasibility.

References used:
www.wikipedia.org/datamigration www.ispirer.com www.databaseanswers.org www.w3schools.com www.swisssql.com

2.2 System feasibility


System feasibility deals with the utility, efficiency and quality of the system (project). Feasibility study is done to find out whether the system will be beneficial for the concerned user and the organization or not.

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.

2.3 Platform specification Hardware Specification For Development


1 GB RAM 40 GB disk space 2.2 GHz processor

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.

3.1 Information flow representation Activity diagram


The easiest way to visualize an Activity diagram is to think of a flowchart of a code. The flowchart is used to depict the business logic flow and the events that cause decisions and actions in the code to take place. Activity diagrams represent the business and operational workflows of a system. An Activity diagram is a dynamic diagram that shows the activity and the event that causes the object to be in the particular state. An Activity diagram consists of the following behavioral elements: Element and its description Initial Activity: This shows the starting point or first activity of the Symbol

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.

Table 3.1: Elements of an Activity Diagram

Activity diagram for user login

Figure 3.1 : Activity Diagram For Login

Activity Diagram For Registration

Figure 3.2: Activity Diagram For Registration

Activity diagram for answer test

Figure 3.3 : Activity Diagram For Answer Test

Activity diagram for generate result

Figure3.4: Activity Diagram For Generate Result Use Case Diagram


Use Case Diagram is a type of behavioral diagram defined by and created from a Use-case analysis. It is used to identify the primary elements and processes that form the system. The primary elements are termed as "actors" and the processes are called "use cases." The Use case diagram shows which actors interact with each use case. The main purpose of a use case diagram is to show what system functions are performed for which actors. The elements used for this representation are Actors Use Cases System Boundary Associations

Use Case for admin

Figure 3.5: Use Case Diagram For Admin Use Case for user

Figure 3.6: Use Case Diagram 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.

Sequence diagram for user login

Figure 3.7 : Sequence Diagram For User Login

Sequence diagram for admin

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.10 : Sequence Diagram For Test

3.1.4 Collaboration diagrams


A collaboration diagram, also called a communication diagram or interaction diagram, is an illustration of the relationships and interactions among software objects in the Unified Modeling Language (UML). The difference between sequence diagrams and collaboration diagrams is that collaboration diagrams emphasize more the structure than the sequence of interactions. Within sequence diagrams the order of interactions is established by vertical positioning whereas in collaboration diagrams the sequence is given by numbering the interactions.

Collaboration Diagram for Admin:

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.

Figure 3.12: Collaboration Diagrams For User

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.

4.1 Architectural Design


Architectural design represents the structure of data and program components that are required to build a computer based system. It considers the architectural styles that the system will take, the structure and properties of the components that constitute the system, and the interrelationships that occur among all architectural components of a system.

Architectural Context Diagram

ADMIN

USER

ONLINE EXAMINATION

TEST

ADD SUBJECT

DELETE SUBJECT

ADD QUESTIONS

DELETE QUESTIONS

VIEW RESULTS

APPEAR FOR TEST

Figure 4.1: Architectural Context Diagram

Architectural Behavioral Diagram


The Behavioral diagram indicates how software will respond to external event .In this ,we Identify events with the use case state representations.

For Subject, addition and deletion:-

Select Add Subjects Subject Addition Addition Done

Subject Added Sucessfully

Admin Managing
subjects

Delete Subject Select Subject Deletion Done

Subject Deleted

Figure 4.2: Architectural Context Diagram For Question, addition and deletion:-

Select Add Question

Subject Selected

Select Topic

Topic Selected

Add Questions

Question Added

Admin

Managing subjects

Select Delete Question

Subject Addition Select Topic

Topic Selected Delete Question

Question Deleted

Figure 4.3: Architectural Context Diagram

For Register and Test:-

Select Registration

Fill Registration Details

Register Details

Registered Successfully

User

Registration and Test

Subject Selected Select Subject Select Topic

Topic Selected Attempt test

Test Successfully

Figure 4.4: Architectural Context Diagram

Description Of Architectural Design


The overall plan to accomplish Online Examination to provide facility to users to get registered and appear for online test and measure the knowledge level and performances whenever needed. In this system the questions are arranged topic wise and topics are arranged by subject wise. The whole system includes following steps including administrative tasks. These steps are:1. User registration 2. View profile 3. Appear for test 4. Resume test 5. Add subjects 6. Delete subjects 7. Add questions 8. Delete questions

9. Result generation and mailing

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

Branch Wise Result

Select Topic

Edit Profile

Password Select Subject New Subject Select Topic Select Topic Result

Start Test Select Topic New Topic Edit Question Delete Question

Finish Test Add Questions

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.

Result generation and mailing


After completing test module, 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.

Addition and deletion of subject


In this module, admin can add new subjects as well as can delete existing subject. Once a subject has been added, admin can add any number of topics into the particular subject and once a subject has been deleted, then all the topics regarding to that subject will be deleted.

Addition and deletion of questions


In this module, admin can add new questions in particular subject as well as can delete existing questions from a particular subject. The questions are added with their respective multiple choice and with a option of correct answer.

View and managing results


In this module, admin can view result of all users and can manage them according to branch wise

and rank wise.

Internal data structures Array


It is a collection of homogeneous datatype. In our project we used array to store the value of column of the table. It organizes data in such a way that it can be easily manipulated. This data structure is used in our project in edit, Mtable, migB, migB2, migration1A, newconcept , table classes.

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.

Algorithm design for operations Registration


1. Select the user registration 2. Fill the required details 3. Submit the information 4. Registered successfully.

Taking test and view result


1. Login with the user name and corresponding password. 2. Select the subject for test. 3. Choose the topic on which do u want to give test. 4. Start test i) Submit answers for each questions ii) Choose the question from table of questions, in which do you want to chance the answer. 5. Finish test. 6. Result is viewed after finishing test and e-mailed on users e-mail id.

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.

3. Select subject that you want to delete. i) Subject deleted successfully.

Add and delete questions


1. Select subject. 2. Select topic in which you want to add question. 3. Add questions with their respective multiple choice and correct answer option. 4. Submit the added questions. 5. Questions are added successfully. 6. Select question that you want to delete 7. Question deleted successfully.

Result and profile 1. Login with id and password

2. Select view profile. 3. Update profile if you want. 4. Profile viewed and updated successfully. 5. Select view result. 6. Result viewed successfully.

4.3 Data Design


The process of data design includes identifying the data, defining specific data types and storage mechanisms, and ensuring data integrity by using business rules and other run-time enforcement mechanisms. Designing data is about discovering and completely defining an application's data characteristics and processes. Data design is a process of gradual refinement, from the coarse "What data does the application require?" to the precise data structures and processes that provide it.

4.3.1 Data objects and resultant data structures


Data objects specifies the objects of various java classes that we have used in our project and the term data structure deals with the input and output data for these objects. Various data objects used in the application belongs to following classes:

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

Figure 4.1 : Interface of main page User home

Figure 4.2: Interface for User home View profile

Figure 4.3: Interface for view profile Select subject

Figure 4.4: Interface for Select subject Select topic

Figure 4.5 : Interface for Select topic

Start test

Figure 4.6 : Interface for Start test Appear for test

Figure 4.7: Interface for Appear for test Result and mailing

Figure 4.8 : Interface for Result and mailing Admin home

Figure 4.9: Interface for Admin home Admin profile

Figure 4.10: Interface for Admin profile Add questions

Figure 4.11 : Interface for Add questions Edit questions

Figure 4.12: Interface for Edit questions Delete questions

Figure 4.13: Interface for Delete questions Add subjects

Figure 4.14: Interface for Add subjects Delete subjects

Figure 4.15: Interface for Delete subjects View result

Figure 4.16: Interface for View result Branch and rank wise result

Figure 4.17: Interface for Branch and rank wise result

Registration

Figure 4.18: Interface for Registration

Forgot password

Figure 4.19: Interface for Forgot password

Retrieve password

Figure 4.20: Interface for Retrieve password

Again login with valid user name and pass:

Figure 4.21: Interface For Again Login

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.

5.2 Testing Scope


Software testing is a critical element of software quality assurance and represents the ultimate review of specification, design, and code generation. It is the most important part of any software development.

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.

5.3 Testing Principles


When testing, follow the principles listed below: Testing must be done by an independent party. Assign best personnel to the task. Testing should not be planned under the assumption that errors will not occur. Test for valid as well as invalid input conditions. Keep the software static during testing.

Document test cases and test results. Provide expected test results if possible.

5.4 Testing Methods Used White Box Testing


White box testing (glass box testing) of software is predicted on close examination of procedural detail. Providing test cases that exercise specific sets of conditions and/or loops test logical paths through the software. Glass box testing is a test case design method that uses the control structure of the procedural design to derive test cases. Using glass box testing we can prepare test cases that Guarantee that all independent paths within a module have been exercised at least once. Exercise all logical decisions on their true and false side. Execute all loops at their boundaries and within their boundaries. Exercise internal data structures to ensure the data validity.

Input

Output

Figure 5.1: White Box Testing

Black Box Testing


Black box testing also called behaviour testing focuses on functional requirements of the software. It enables the software engineers to derive sets of input conditions that will fully exercise all functional requirements of the system. Using it, we have performed the following tests on our system: Incorrect or missing functions. Interface errors. Errors in data structures used by interfaces. Performance errors.

Initialization and termination errors.

Input

Output

Figure 5.2: Black Box Testing

5.6 Sample Test Data and Results Registration

Figure 5.3: Test on Registration Appearing test

Figure 5.4 : Test on Appearing test

Result

Figure 5.5 : Test on Result

Add questions

Figure 5.6 : Test on Add question

Delete question

Figure 5.7 : Test on Delete question

Add subject

Figure 5.8 : Test on Add subject

Delete subject

Figure 5.9: Test on 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.

9. Bibliography and References


Web references www.swisssql.com www.ispirer.com www.databaseanswers.org www.w3schools.com www.spectralcore.com federalstudentaid.ed.gov www.softwareqatest.com

Bibliography On Database Elmira, Navathe, Fundamentals of Database Systems, Addison Wesley. Korth, Silbertz, Sudarshan, Database Concepts, McGraw Hill.

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