Professional Documents
Culture Documents
Project Report Dbms111123xyza
Project Report Dbms111123xyza
ONLINE QUIZ SYSTEM is a web-based quiz system where quiz is given online, either
through the internet or internet using computer system. The main goal of this online quiz
system is to effectively evaluate the student thoroughly through a totally automated system
that not only reduce the required time but also obtain fast and accurate results.
ONLINE QUIZ SYSTEM is an online test simulator is to take online quiz, test in an
efficient manner and no time wasting for manually checking of the test paper. The main
objective of this web based online quiz system is to efficiently evaluate the student
thoroughly through a fully automated system that not only saves lot of time but also gives
fast and accurate results. For students they give papers according to their convenience from
any location by using internet and time and there is no need of using extra thing like paper,
pen etc.
TABLE OF CONTENTS
1 INTRODUCTION 1
2 REQUIREMENT SPECIFICATION 2-4
3 DATABASE DESIGN 5-9
4 IMPLEMENTATION 10-16
5 SNAPSHOTS 17-19
6 CONCLUSION AND FUTURE
ENHANCEMENT 20
REFERENCE 21
Online Quiz System 2021-22
CHAPTER 1
INTRODUCTION
Online quiz System refers to service as conduct online quiz or test. It will use for students
progress evaluation using modern computer technology. It replaced the paperwork and
overcome the outcomes of traditional way of examinations using paper or pen. It is web
based platform can be used by Admin at any remote location. Online Quiz System is fully
developed automated system is to efficiently evaluate the candidate progress that not only
save the time of Examination Controller and also gives fast result.
1.3 Importance
The quizzes help the student to learn with practice, as they allow students to think back to
the information previously learned and remember them while quizzing. With the practicing
quizzes, students can do critical thinking, and get into a habit of innovative learning.
CHAPTER 2
REQUIREMENT SPECIFICATION
System requirements are the configuration that a system have in order for a hardware or
software application to run smoothly and efficiently. Failure to meet these requirements
can result in installation problems or performance problems or performance problems.the
former may prevent a device or application from getting installed, whereas the latter may
cause a product to malfunction or perform below expectation or even to hang or crash.
PHP
PHP is Hypertext Pre-processor is a general-purpose programming language originally
designed for web development.
HTML
Hypertext Markup Language is the standard markup language for documents designed to
be displayed in a web browser. It can be assisted by technologies such as Cascading Style
Sheets and scripting languages such as JavaScript.
CSS
Cascading Style Sheets is a style sheet language used for describing the presentation of a
document written in a markup language like HTML. CSS is a cornerstone technology of
the World Wide Web, alongside HTML and JavaScript.
JavaScript
Java script, often abbreviated as JS, high-level, interpreted scripting language that conform
to the ECMAScript specification.Javasacript has curly-bracket syntax,dynamic,dynamic
typing, prototype-based object-orientation, and first-class functions.
MYSQL
Visual Studio Code is a lightweight but powerful source code editor which runs on your
desktop and is available for Windows, macOS and Linux. It comes with built-in support
for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other
languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and
Unity).
XAMPP
XAMPP is a cross-platform web server that is free and open-source. XAMPP is a short
form for Cross-Platform, Apache, MySQL, PHP, and Perl. XAMPP is a popular cross-
platform web server that allows programmers to write and test their code on a local
webserver. It includes MariaDB, Apache HTTP Server, and interpreters for PHP and Perl,
among other computer languages.
CHAPTER 3
DATABASE DESIGN
Database design is the process of producing a detailed data model of database. This data
model contains all the needed logical and physical design choices and physical storage
parameters needed to generate a design in a data definition language, which can then used
to create a database. A fully attributed data model contains detailed attributes for each
entity.
3.1 ER Diagram
An entity-relationship model is a systematic way of describing and defining a business
process. An ER model is typically implemented as a database. The main component of ER
model is entity set and relationship set and attribute set.
Student Table
Student has to log in to the system and can then view all the quizzes. Student can see the
quiz list and attend the quizzes. After attending the quizzes students will get instant result
and the same will be stored in the database.
Staff Table
Staff also has to log in to the system first, then they can add/remove quizzes. They can see
the progress and they can also update the existing quiz.
Staff can add, remove the quiz. And also they can add extra questions to an existing quiz.
Score Table
Staff can see the scoreboard of the quiz which is added by him/her. And student can see the
score of the quiz which he/she is attended.
NOT NULL: This constraint tells that we cannot store a null value in a column. That is,
if a column is specified as NOT NULL then we will not be able to store null in this
particular column any more.
UNIQUE: This constraint when specified with a column, tells that all the values in the
column must be unique. That is, the values in any row of a column must not be repeated.
Example:
UNIQUE KEY `qs` (`qs`)
PRIMARY KEY: A primary key is a field which can uniquely identify each row in a
table. And this constraint is used to specify a field in a table as primary key.
Example:
PRIMARY KEY (`mail`)
PRIMARY KEY (`slno`)
PRIMARY KEY (`dept_id`)
FOREIGN KEY: A Foreign key is a field which can uniquely identify each row in a
another table. And this constraint is used to specify a field as Foreign key.
Example:
ADD CONSTRAINT `quiz_ibfk_1` FOREIGN KEY (`mail`) REFERENCES `staff`
(`mail`) ON DELETE CASCADE;
ADD CONSTRAINT `score_ibfk_1` FOREIGN KEY (`quizid`) REFERENCES `quiz`
(`quizid`) ON DELETE CASCADE,
DEFAULT: This constraint specifies a default value for the column when no value is
specified by the user.
Example:
`date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
CHAPTER 4
IMPLEMENTATION
Implementation is a realization of technical specification or algorithm as a program,
software component, or other computer system through computer programming and
deployment Scripting languages used in project are HTML (Hyper Text Mark-up
Language), CSS (Cascading Style Sheets), PHP (Hypertext Pre-processor) are used to
create front end. Data was stored in local host server provided by XAMPP.
);
KEY mail(mail)
);
);
);
);
<label for="name1">NAME</label><br>
<label for="usn">USN</label><br>
<label for="mail1">Email</label><br>
<label for="dept1">Department</label><br>
<option value="CSE">CSE</option>
<option value="ISE">ISE</option>
<option value="ECE">ECE</option>
<option value="EEE">EEE</option>
</select><br><br>
<label for="dob1">DOB</label><br>
<label for="gender1">Gender</label><br>
<label for="password1">Password</label><br>
</form>
4.3 Trigger
Triggers are stored programs, which are automatically executed or fired when some event
occur. Triggers can be defined on the table, view, schema, or database with which the event
is associated.
END IF;
END
DELIMITER $$
select q.quizname,s.score,s.totalscore,st.name,s.mail
DELIMITER ;
$host='localhost';
$user='root';
$project='project';
$ps='';
?>
if (!$conn) {
CHAPTER 5
SNAPSHOTS
CHAPTER 6
There are also few features which can be integrated with the system to make it more
flexible. The future points to be considered: Implementing the timer for the quiz, Sending
mails on sign up and when students takes quiz, Supporting all type of questions including
MCQ’s, Including Programming Questions where user can compile or interpret on site
only.
REFERENCE
[1]Fundamentals of Database Systems, Ramez Elmasri and Shamkant B. Navathe, 7th
Edition, 2017, Pearson.
[2]Database management systems, Ramakrishnan, and Gehrke, 3rd Edition, 2014, McGraw
Hill
[3] https://www.campcodes.com/projects/php/
[4] https://developer.mozilla.org/en-US/docs/Web/javascript
[5] https://developer.mozilla.org/en-US/docs/Web/CSS