PROJECT REPORT ON ONLINE QUIZ SYSTEM Submitted as a part of course curriculum for Bachelor of Engineering in Information Technology Under the Guidance of: Submitted by: S.S Paul Padmini Pal (20088067) CSED, MNNIT Karishma Mittal (20082037) Harpreet Kaur (20089018) Akangkhi Borah (20058025) DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING MOTILAL NEHRU NATIONAL INSTITUTE OF TECHNOLOGY
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
PROJECT REPORT
ON
ONLINE QUIZ SYSTEM
Submitted as a part of course curriculum for
Bachelor of Engineering in
Information Technology
Under the Guidance of: Submitted by:
S.S Paul Padmini Pal (20088067)
CSED, MNNIT Karishma Mittal (20082037)
Harpreet Kaur (20089018)
Akangkhi Borah (20058025)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
MOTILAL NEHRU NATIONAL INSTITUTE OF TECHNOLOGY
ALLAHABAD -211004, U.P (INDIA)
CERTIFICATE
This is to certify that the Server Side Programming project titled ―ONLINE QUIZ
SYSTEM‖ submitted by Karishma Mittal, Padmini Pal, Harpreet Kaur and Akangkhi Borah of
Information Technology under the Computer Science and Engineering Department, Motilal
Nehru National Institute of Technology (Deemed University), Allahabad, is a bonafide work of
students carried out under my supervision during the year 2011. During the project development
period their performance and conduct the excellent.
I wish them all success in future.
S.S Paul M.M Gore
Project Guide Course Coordinator
CSE HOD, CSE
DATE: 27 April 2011
ACKNOWLEDGEMENT
We take this opportunity to express our gratitude to all those people who extended their co-
operation and played their important role in successful completion of this project.
We express our sincere thanks to M.M Gore, H.O.D, Computer Science for providing invaluable
support and guidance throughout the project.
Under the guidance and motivation of S.S Paul, this project on ―ONLINE QUIZ
SYSTEM‖ has emerged as a success. By this project, we came to know how to
develop the web services and their actual implementation.
Whenever we had any problem related to the implementation of our idea, we
always found a solution under his guidance.
We will be highly obliged to S.S Paul for his valuable instructions and
coordination.
Thank You Sir
Padmini Pal (20088067)
Karishma Mittal (20082037)
Harpreet Kaur (20089018)
Akangkhi Borah (20058025)
INDEX
1. Introduction
1.1 Problem Statements
1.2 Scenario
1.3 Available Solution
1.4 Project Perspective
1.5 Users of the Project
2. Brief SRS
2.1 Introduction
2.1.1 Project Scope
2.1.2 Benefits
2.1.3 Constraints
2.1.4 Assumptions and Dependencies
2.2 Project Description
2.2.1 Functions of Project
2.2.2 Modules used
2.3 Requirement Analysis
2.3.1 User Requirement
2.3.2 Feasibility Study
2.3.3 Software Requirement
2.3.4 Hardware Requirement
2.4 Future Scopes
2.5 Bibliography
3. Discussion of Technologies Used
4. Design
4.1 Database Design(Tables Used and ER)
4.2 DFD
4.3 Use case Diagram
4.4 Sequence Diagram
5. Project Planning
5.1 Software Model Used
5.2 GANTT chart
5.3 Responsibility Distribution
6. Salient Coding Features Used
7. Important Source Code
8. Code Efficiency
8.1 Validation
8.2 Time and space Resource Utilization
9. Testing
9.1 Type of Testing Used
9.2 Testing Strategy
9.3 Test Cases Design
10. Cost of Project
11. Final Project Screen Shot
1. Introduction
1.1 Problem Statement
The ONLINE QUIZ is a web application for to take online test in an efficient manner
and no time wasting for checking the paper. The main objective of ONLINE QUIZ is
to efficiently evaluate the candidate thoroughly through a fully automated system
that not only saves lot of time but also gives fast results. For students they give
papers according to their convenience and time and there is no need of using extra
thing like paper, pen etc.
This project is basically built for students of the engineering collage. It is built on
PHP which is very helpful and doesn’t need much Complexity. So it makes the
project efficient and time saving. This website helps all the students who are the
member of any college. They can check their Domain Knowledge. The System
purpose is to completely automate the old manual procedure of conducting exam to
Online Web Based Examination System.
1.2 Scenario
Scenario of this project is very broad in terms of other manually taking exams.
Few of them are:-
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(user
Location doesn’t matter).
No restriction that examiner has to be present when the candidate
takes the test.
1.3 Available Solution
Solution based on expert system is suggested.
Authentication: every user (faculty, administrator etc.) is authenticated before
allowing to login.
Automation: Examination is automated completely. The faculty can add/delete
the questions according to their subjects. The checking of questions is done by the
system using predefined answers fed to system. Hence results are available
immediately after exam. All exam is available on intranet/internet depending
upon access rights. Modules need to be cleared sequentially hence flags are set.
Passing criteria can be easily set or modified through rules. Time-line can be set
clearing exam and modules.
Study material: Study material is available online and is accessible depending on
modules cleared.
Result Analysis: Various results are prepared and also in-built functionality is
available for analysis of results.
Monitoring of candidate: Expert system can monitor candidates performance .
The rules are added/modified by experts when and as required.
1.4 Project Perspective
The web pages are used to provide the User Interface on client type basis.
Communication between Client and Server is provided through HTTP Protocols.
On the server side web server is WAMP server and database server is for
storing the information.
1.5 Users of the project
a) Students :
It is basically a Examination for the engineering College students, so it can be
used by Students who are associated with college, examination is available for
them. Students sitting in their rooms can also use it for their Exam. So it is
helpful in saving time which is precious for Student nowadays. And this way
they can easily Check their knowledge about their subjects of interest.
b) Faculty :
Another user mostly faculty member, lecturer or examiner who posts set of
questions of the concerned subject, the available options and correct answers and
can even view the question paper.
c) Administrator:
Super user, who adds faculty and his concerned subject. He can even alter the
student and faculty records.
2. Brief SRS
2.1 Introduction
Online quiz are a popular form of entertainment for web surfers. Online Quiz are
generally free to play & for entertainment purposes only though ONLINE QUIZ website
offer prices.
Online quiz is setup to actually test knowledge or identity a person’s attribute. Some
companies use online quiz as an efficient way of testing a potential hire’s knowledge
without that candidate needing to travel.
2.1.1 Project Scope:
Scope of this project is very broad in terms of other manually taking exams.
Few of them are:-
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 (users’
Location doesn’t matter).
No restriction that administrator has to be present when the candidate takes
the test.
This project would be very useful for regular evaluation of students.
2.1.2. Benefits:
Responses by the candidates will be checked automatically and instantly.
Online examination will reduce the hectic job of assessing the answers given
by the candidates.
Being an integrated Online Examination System it will reduce paper work.
Can generate various reports almost instantly when and where required.
Tutorials for the relevant subjects are available.
2.1.3. Constraints:
Exam can be give by only registered students through login, there is no
facility for guest client.
Students must have to register themselves for giving the exam and after
registration.
Students are not allowed to give exam till 24 hours.
GUI is in only English language.
Limited to HTTP/HTTPS.
The students have no access to the data bases.
2.1.4. Assumptions and Dependencies:
Administrator has complete authority over database.
Students have no authority over the database.
Administrator has the authority to add/delete faculty accounts, branch and
Subjects.
Faculty has only authority to add/delete questions and their respective
subjects.
2.2 Product Description
2.2.1. Functions of the project:
Required software is for conducting on-line `objective’ type examination and
providing immediate results. The system should satisfy the following requirements.
Administrator Aspect
1. Taking backup of the database
2. Editing/Deleting/Creating the database.
3. Create/Edit/Delete candidate
4. Logging into the system.
5. Accepting registrations of candidates
6. Adding the candidate to the database
7. Creating a test
8. Posting questions in the above test
9. Marking correct answer within the given options
10. Set negative marks for wrong responses
Student Aspect
1. Requesting registration
2. Logging into the system.
3. Edit user information.
4. Selecting the test.
5. Selecting the difficulty level of the test.
6. Appearing for the examination.
7. Printing the result at the end of the examination
2.2.2 Modules Used:
There are two sub modules in this phase.
Candidate module.
Administrator module.
The functionality of each module is as follows.
Candidate module: The candidate will logon to the software and take his examination.
He can also check his previous examinations marks and his details. The candidate will
get result immediately after the completion of the examination.
Administrator module: The database is prepared & loaded into the software. Selection
for examination can be done language wise by the administrator. The results will be
displayed immediately after completion of the examination. The administrator collects
all the results after successful completion of the examination and sends the results to the
database.
2.3 Requirement Analysis
2.3.1 User Requirement:
Chancellor who will be acting as the controller and he will have all the privileges of
administrator.
Students who will be using the above features by accessing the Exam online.
Administrator who will prepare and load database into the software.
Application will be accessed through a Browser Interface. The interface would be
viewed best using 1024 x 768 and 800 x 600 pixels resolution setting. The software
would be fully compatible with Microsoft Internet Explorer for version 6 and above.
No user would be able to access any part of the application without logging on to the
system.
2.3.2 Feasibility study
Feasibility study is the process of determination of whether or not a project is worth doing.
Feasibility studies are undertaken within tight time constraints and normally culminate in a
written and oral feasibility report. I have taken two weeks in feasibility study with my co-
developer. The contents and recommendations of this feasibility study helped us as a sound
basis for deciding how to proceed the project. It helped in taking decisions such as which
software to use, hardware combinations.
The following is the process diagram for feasibility analysis. In the diagram, the feasibility
analysis starts with the user set of requirements. With this, the existing system is also
observed. The next step is to check for the deficiencies in the existing system. By
evaluating the above points a fresh idea is conceived to define and quantify the required
goals. The user consent is very important for the new plan. Along with, for implementing
the new system, the ability of the organization is also checked. Besides that, a set of
alternatives and their feasibility is also considered in case of any failure in the proposed
system. Thus, feasibility study is an important part in software development.
ANALYZE TO FIND
DEFICIENCES
FIND BROAD
ALTERNATIVE
SOLUTION
EVALUATE
FEASIBILITY OF
ALTERNATES
USER
STATED
REQUIREMENTS
DEFICIENCES IN
CURRENT SYSTEM
PROPOSED FEASIBILITY
ALTERNATIVES
REVISION BASED ON FEASIBILITY
ALTERNATIVES
CONSTRAINTS ON RESOURCES
WORKING CURRENT SYSTEM USERS CONSESUS
DEFINE AND
QUANTIFY GOALS
(Figure – 1. PROCESS DIAGRAM FOR FEASIBILITY ANALYSIS)
a) Economic Feasibility
Economical feasibility determines whether there are sufficient benefits in creating to make
the cost acceptable, or is the cost of the system too high. As this signifies cost-benefit
analysis and savings. On the behalf of the cost-benefit analysis, the proposed system is
feasible and is economical regarding its pre-assumed cost for making a system.
During the economical feasibility test we maintained the balance between the Operational
and Economical feasibilities, as the two were the conflicting. For example the solution that
provides the best operational impact for the end-users may also be the most expensive and,
therefore, the least economically feasible.
Economic analysis is most frequently used for evaluation of the effectiveness of the
system. More commonly known as cost/benefit analysis the procedure is to determine
the benefit and saving that are expected from a system and compare them with costs,
decisions is made to design and implement the system.
This part of feasibility study gives the top management the economic justification for the
new system. This is an important input to the management , because very often the top
management does not like to get confounded by the various technicalities that bound to
be associated with a project of this kind.
A simple economic analysis that gives the actual comparison of costs and benefits is
much more meaningful in such cases.
In the system, the organization is most satisfied by economic feasibility.
Because, if the organization implements this system, it need not require any additional
hardware resources as well as it will be saving lot of time.
As we know that the system development costs are usually one-time costs that will not
recur after the project has been completed. For calculating the Development costs we
evaluated certain cost categories viz.
(i) Personnel costs
(ii) Computer usage
(iii) Training
(iv) Supply and equipments costs
(v) Cost of any new computer equipments and software.
In order to test whether the Proposed System is cost-effective or not we evaluated it
through three techniques viz.
Payback analysis
Return on Investment:
Net Present value
b) Technical Feasibility
Technical feasibility centers on the existing manual system of the test management
process and to what extent it can support the system.
Technical feasibility determines whether the work for the project can be done with the
existing equipment, software technology and available personnel. Technical feasibility is
concerned with specifying equipment and software that will satisfy the user requirement.
According to feasibility analysis procedure the technical feasibility of the system is
analyzed and the technical requirements such as software facilities,procedure, inputs are
identified. It is also one of the important phases of the system development activities.
The system offers greater levels of user friendliness combined with greater processing
speed. Therefore, the cost of maintenance can be reduced. Since processing speed is very
high and the work is reduced in the maintenance point of view management convince that
the project is operationally feasible.
c) Behavioral Feasibility
People are inherently resistant to change and computer has been known to facilitate
changes.
An estimate should be made of how strong the user is likely to move towards the
development of computerized system.
These are various levels of users in order to ensure proper authentication and
authorization and security of sensitive data of the organization.
d) Operational feasibility
Operational feasibility criteria measure the urgency of the problem (survey and study
phases) or the acceptability of a solution (selection, acquisition and design phases). How do
you measure operational feasibility? There are two aspects of operational feasibility to be
considered:
Is the problem worth solving or will the solution to the problem work?
There are certain measures, which decide, the effectiveness of the system. These
measures can be collectively called as PIECES.
P (Performance):
The Online Quiz system provides adequate throughput and response time.
I (Information):
The Online Quiz system provide end-users and managers with tamely, pertinent,
accurate, and usefully formatted information.
E (Economy):
The Online Quiz system offers adequate service level and capacity to reduce the costs of
the business or increase the profits of the business.
C (Control):
The Online Quiz system offers adequate controls to protect against fraud and
embezzlement and to guarantee the accuracy and security of the data and information via
authentication checks.
E (Efficiency):
The CCTS make maximum use of available resources including people, time, flow of
forms, minimum processing delays and the like.
S (Services):
The Online Quiz system provide desirable and reliable service to those who need it. The
Online Quiz system is flexible and expandable.
2.3.3 . Software Requirements:
The project being web based required compatibility with at least the popular web
browsers. Microsoft Windows XP and above, Linux and Macintosh being the current
popular operating system and Microsoft Internet Explorer, Mozilla Firefox, Opera,
Safari and Google Chrome being the currently popular web browsers.
Server side software
Web server software, Apache Tomcat
Server side scripting tools: PHP
Database tools: Sedna native XML DBMS.
Compatible operating system: Linux/ Windows XP/2000/Vista
Client side software
Web browser supporting JavaScript, refer Browser Compatibility 2.3.1
HTML, Web Browser, Windows XP/2000/Vista
2.3.4 Hardware Requirements
The recommended hardware specified by the respective software would suffice the
needs. The memory and processing power needed would increase as the number of
users increase. The estimated hardware requirements are as specified.
Server Side
The minimum hardware as recommended by all of the software required on server
side say web server, operating system and development software
Operating System: Windows 9x/xp ,Windows ME
Processor: Pentium 3.0 GHz or higher
RAM: 1GB
Hard Drive: 10 GB or more
Network interface
Client side
The minimum hardware as recommended by all of the software required on client side
say web browser, operating system.
Operating System: Windows 9x or above, MAC or UNIX.
Processor: Pentium III or 2.0 GHz or higher.
RAM: 1GB
User peripherals for better interaction
True color visual display unit
Minimum hardware depending on the operating system used.
2.4 Future Scopes
This project/software can also be implemented at an advanced level.
It is basically for Examination of students, so it can be used by Students who
are associated with any institute, examination. Students sitting in their place of
convenience and having access to the network of the institute, can also use it
for their Exam. So it is helpful in saving time which is precious for Student
nowadays. And this way they can easily Check their knowledge about their
subjects of interest.
2.5 Bibliography
PHP Wrox Beginning PHP5, Apache, and MySQLWeb Development 2005.
PHP 5 AND MY SQL BIBLE.
How to Do Everything with PHP and MySQL (McGraw-Hill,2005).
www.php.net
httpd.apache.org
www.mysql.com
www.w3schools.com
www.google.com
3 Discussion Of Technologies used
a) SQL- It is a web application framework developed and marketed by Microsoft to
allow programmers to build dynamic web sites, web applications and web services.
b) PHP- It is server side scripting language used for dynamic web development and
develop database driven website and web application.
c) XAMPP Server – WAMP Server is a package of Apache server, Mysql and
phpmyadmin which is used to Run PHP project on local host.
d) Adobe dreamweaver CS4 – IDE for writing php application code.