Online Exam
Online Exam
Bachelor of Science
in
Computer Science
Submitted by
Ankita Yadav-[v192]
Archana Sahu-[v195]
under the esteem guidance of
CERTIFICATE
Register No.:V192,V195
CERTIFIED that this is a bonafide record of Project Work
___________________ of _________________________
Date:
DECLARATION
Visakhapatnam-16
ACKNOWLEDGMENT
We are thankful to our Parents for the support they rendered that
enabled us to pay sincere attention to the project.
Our special thanks to Ms.Janaki for her timely advice and for her kind
coordination.
In the end, we are thankful to all our friends for their valuable
suggestions and support in our project
Ankita Yadav
Archana Sahu
ABSTRAC T
This system has two end user, the student and the examiner.
with this system , the student will be able to appear for an examination
online whereas the examiner can conduct an exam with multiple choice
question which will be unique and randomly generated from the
database in the desired subject.
3. CODING
(a) Data Definition Language
(b) Data Manipulation Language
(c) About Software Tools
i) Front End
ii) Back End
4. TESTING
5. SCREEN DESIGN
6. LIMITATIONS OF PROJECT
7. CONCLUSION
BIBLIOGRAPHY
INTRODUCTION
PROJECT DESCRIPTION
The software package “ONLINE EXAMINATION SYSTEM” is developed
to automate the existing examination process. It is a project developed for
students to give their examination just in an easy way, the main advantage
of this process is that lecturers do not have to correct long answer sheets of
the students. This application is used by different categories of people:-
STUDENTS:
They can just answer multiple choice questions. Finally
they don’t have to wait for long time for their results.
EXAMINER:
The examiner can add questions to the database, the
examiner no longer has to prepare question papers.
Finally, they don’t have to correct question papers.
The main process involved in it is that initially the user, the student or
the examiner must identify themselves as to who they are and then login.
Then if he/she is a student he/she can take the exam after entering the
subject. After this the student will be able to see questions, which are
randomly picked from the database, on his/her desktop screen. In a time
period of 30mins the student has to complete the exam and submit the
answer, if failed to do so an alert box will pop up. After submission of the
answers the marks scored will be displayed on the screen.
If an examiner is identified he/she will be allowed to see the mark list, list
of failed candidates, list of passed candidates and will be able to see and
update the question bank.
RAM : 0.99 GB
G: 35.4 GB
- Mouse
SOFTWARE CONFIGURATION:
Operating system : Windows XP
Existing System:
Current System:
The Current system of examinations is highly complicated and expensive.
Whenever exams are to be conducted there are various tasks that have to be
done again and again.
Proposed System:
The new system has been designed as per the user requirements so as
to fulfill almost all of them.
Quick Scheduling
Exams can be created very quickly as compared to the existing system as it
allows the use of previously entered questions to be used again. It saves time
required to get the question papers printed and distributed before the students are
allowed to appear for the examination. Questions entered once can be accessed by
students as soon as they login to their account.
Immediate Results
One of the most important draw backs of the current system is that the
faculties are required to check the answer papers which is again a lengthy process
and prone to errors. The new system will generate the result as soon as the test is
finished by the user .
1. Technically Feasibility
2. Operationally Feasibility
3. Economically Feasibility
Technically Feasibility:
Technical feasibility centers on the existing computer system (hardware,
software etc) and what extent it can support the process. It is necessary to check
that the project is technically feasible and organization has the technology and
skills necessary to carry out the project and if not, how should the required
technology and skills be obtained.
The user requires only the basic knowledge of computers to operate the
system.
The system has been made very user friendly.
Hence the user need not have in depth knowledge of the hardware and
the software used.
Economically Feasibility:
Economic analysis is most frequently used method for evaluating the cost
effectiveness of a proposed system. The study must determine whether the
project goals can be achieved with in the resource limit.
TOP-LEVEL DFD
The context diagram does not describe the system in details. It is necessary
to identify the major system processes and draw a DFD made up of these
processes and data flows between them. The DFD that shows the major system
processes is called the top- level
DFD’s.
Tables:
question_bank:
qno (primary) number to store the number of the question
Subject (primary) varchar2 stores the subject name
question varchar2 stores the question
A varchar2 stores option A
B varchar2 stores option A
C varchar2 stores option A
D varchar2 stores option A
answer varchar2 stores correct answer
user_id_chk:
ID number to store the ID of the student
name varchar2 to store the name of the student
password varchar2 to store the password of the student
examiner_id:
ID number to store the ID of the examiner
name varchar2 to store the name of the examiner
password varchar2 to store the password of the examiner
student_details:
rollno number to store the roll number of the student
name varchar2 to store the name of the student
subject varchar2 to store the subject of the student
marks varchar2 to store the marks of the student
CODING
CODING:
(a) Data Definition Language:
Database management system provides a facility known as a Data
Definition Language, which can be used to define theconceptual scheme and also
give some details about how to implement this schema in the physical devices,
used to store the data. The definition includes all the entity sets and their
associated attributes. As well as the relationship among the entity set.
(i) Front-End:
Introduction to HTML:
HTML stands for Hyper Text Mark-up Language .we can create our own web
pages with html. HTML is a Language for describing how pages of text graphics
and other information organized, formatted and linked.
HTML is developed by Tim Burners Lee. Hyper Text means text stored in
electronic form with cross reference links between pages. HTML pages are
standard interface to the Internet They can include animated graphics, sounds
and video complete interactive programs and good old fashioned texts.
A web browser such as Internet Explorer does much more than retrieve a
file and put it on the screen .It actually assembles the component parts of a page
and arranges those parts according to commands hidden in the text by the
author .those commands are written in HTML .A web browser is a computer
program that interprets HTML commands to Collect , arrange and display parts of
a web page .we can type and save the text with any word processor or text
editor .Then open the text file with Microsoft internet Explorer or Netscape
Navigator .
Introduction to J2EE:
Java 2 Enterprise Edition or J2EE is a package of specifications aligned to
enable the development of multitier enterprise applications. The specifications
outline.
J2EE has fast become the defector standard for development and deploying
enterprise systems. It perfectly represents Sun’s attempt to take their Java
mantra of “write once, run anywhere to the next level and make it “write once,
deploy anywhere”. While using, it is not as easy as dropping new code fragment
into existing code. So, J2EE has made significant strides in easing the burden on
the developers and delayers of system.
Application Components:
There are four major application components which are defined within the
J2EE platform they are as follows:
Introduction to Servlets:
The java web server is Java software’s own web server. The Java web
server is just a part of larger framework, intended to provide you not just with
web server, but also with tools. To build customized net zed network servers for
any internet or Intranet client
Server system. Servlets are to a web server, how applets are to browser.
About Servlets:
Servlets provide a java-based solution used to address the problems
currently associated with doing server-side programming, including inextensible
scripting solutions,
Attractiveness of Servlets
There are many features of servlets that make them easy and attractive to
use.
They include:
Features of servlets:
Servlets are persistent. Servlets are loaded only by the web server and can
maintain services between requests.
Servlets are fast. Since servlet only need to be loaded once, they offer
much better performance over their CGI counter parts.
Servlets are platform independence.
Servlets are extensible. Java is a robust, object-oriented programming
language, which easily can be extended to suit our needs.
Servlets are secure.
Servlets can be used with a variety of clients.
Invoking Servlets:
A Servlet is a servlet that invokes the ”service” method as a named servlet.
If the servlet is not loaded in the server, then the invoke and loads the servlet and
then invokes the ”service” method. Also like applets local servlet in the server can
be identified by just the class name. In other words, if a servlet name is not
absolute, it is treated as local.
Introduction to JSP:
Java Server Pages is a technology based on the Java Language which
enables the development of dynamic websites. JSP was developed by Sun
Microsystems to allow server side development. JSP files are HTML files with
special tags containing Java source code that provide the dynamic content.
Why JSP?
JSP is easy to learn and allows developers to quickly produce websites and
applications in an open and standard way. JSP offers a robust platform for a web
developer. It is a multiplatform application.
JSP Tags:
There are 5 main tags in JSP:
Declaration tag
Expression tag
Directive tag
Scriplet tag
Action tag
Declaration tag:
This tag is as follows <%! %>. It allows us to declare variables and methods.
Before every declaration there should be <%!. After the declaration is done the
tag should be ended with %>. Code placed within this tag must end with a
semicolon.
Expression tag:
This tag allows us to embedded any Java expression it is short for
out.println().A semicolon does not appear at the end of the code inside the
tag.
Directive tag:
A Jsp Directive gives special any visible information about the page to the
JSP Engine. There are 3 main types of directives.
Page Directive
Include Directive
Tag directive
Directives do not produce any visible output. When the page is requested
but change the way JSP engine processes the page.
Scriplet tag:
Any valid Java code within the <% and %> is a scriplet. The code can access
or been declared.
Action tag:
There are 3 main roles of action tag:
(ii) Back-End:
Introduction to Oracle:
Oracle is RDBMS software developed by Oracle Corporation. Its first version
was released in 1985, which was Oracle version 5. Latest version is Oracle 10. In
between there were Oracle 6, Oracle 7, Oracle 8. Oracle version 5 was the very
first C/S data base system. Oracle 7 includes full-featured ANSI/ISO standard SQL.
Oracle 8 incorporates OOPS features. Oracle is a RELATIONAL DATABASE
MANAGEMENT SYSTEM; it is one of the most exciting programs for
microcomputer system in the market. Today first created and marketed for large
mainframe computers and minicomputers, over more then ten years the Oracle
Relational Database Management System has natured and improved as a full
featured SQL database.
DBMS:
A Database Management System (DBMS) is essentially a collection of inter-
related data and a set of programs to access the data. The primary objective of a
DBMS is to provide a convenient environment to retrieve and store database
information. DBMS lets only one person to access the database at a given time.
Objectives of DBMS:
-Data Independence
-Data Integrity
-Data Security
-Efficiency
Components of DBMS:
Computer Hardware, Software (DBMS), Data
They are:
- The information rule
- The guaranteed access rule
- Systematic treatment of NULL values
- Active on-line catalog based on the relational model
- The comprehensive data sub-language rule
- The updating rule
- High level insert, update, delete
- Physical data independence
- Logical data independence
- Integrity independence
- Distribution independence
- Non subversion rule
Normalization:
Normalization is a concept used in the design of database. Redundancy
which is a common feature in the database can be reduce using normalization.
Also certain update anomalies can be avoided using normalization. Normalization
is a reduction process which consists of replacing the given relation by contained
projections in such a way that join these projections back together again gives
back the original table or relation. Properties of decomposing a given relation are:
1. Non-loss decomposition
2. Dependency preservation
3. Lack of redundancy
- Group interdependent fields as a separate table, identify the key and name
the table.
Introduction to PL/SQL:
A PL/SQL block contains DML or TCL statements. It can contain any number
of SQL statements integrated with flow of control statements.
TESTING
System efficiency is well understood only when it is tested. No program or
system design is perfect. Testing is vital to the success of the system. System
testing makes a logical assumption, that if all the system are correct, the goal will
achieve successfully. Another reason for the system testing is its utility as a user-
oriented vehicle before implementations.
The new system has been designed to meet almost all of the user requirements but
it too has certain limitations some of which can be enhanced in the future
enhancements or updates.
Supports only Multiple choice and no Theory
The existing system supports only multiple choice questions and these
can be used only for the logic testing of the student where as paper based
tests can provide a overall result of the users knowledge for that topic.
This will do injustice to users who are sometimes aware of answers but
not sure completely. If the selected answer is correct the user gets
marks.There is no penalty for wrong answers.
No Image Support
The existing system has no image support at present and so images and
diagrams cannot be included in the exam which would make it very
difficult to ask certain questions in certain subjects.
Providing diagrams externally is at present the only feasible choice
availble
Flags
The new system will allow the users to set flags for an answered
question. Flags like Passed. Doubtful, Answered etc will help a user to
return to those questions to review them and change them accordingly.
CONCLUSION
The development of software includes so many people like user system
developer, user of system and the management, It is important to identify the
system requirements by properly collecting required data to interact with supplier
and customer of the system. Proper design builds upon this foundation to give a
blue print, which is actually implemented by the developers.
On realizing the importance of systematic documentation all the processes
are implemented using a software engineering approach. Working in a live
environment enables one to appreciate the intricacies involved in the System
Development Life Cycle (SDLC).We have gained a lot of practical knowledge from
this project, which we think, shall make us stand in a good state in the future
BIBLIOGRAPHY:
Referred books:
Website:
http://java.ittoolbox.com/groups/technical-functional/javaee-l/how-to-
display-timer-on-a-servlet-for-online-examination-1937210
http://www.w3schools.com/js/js_popup.asp
http://stackoverflow.com/questions/1155030/html-form-radio-button-
and-servlet
http://www.cs.ucla.edu/classes/winter03/cs143/l1/servlet.html
http://www.java2s.com/Code/Java/JSP/ObtainingadatabaseConnection.
htm
http://www.btinternet.com/~kurt.grigg/javascript