Dbms Reportt
Dbms Reportt
A Mini-Project Report
On
“ONLINE MCQ VALIDATION SYSTEM”
Submitted by:
ROOPA H A(1AM22CS414)
SWETHA K(1AM22CS417)
SHEERSHIKA G V(1AM21CS172)
DEPARTMENTOFCOMPUTERSCIENCE&ENGINEERING
CERTIFICATE
This is to certify that the mini-project work entitled “ONLINE MCQ VALIDATION
SYSTEM” has been successfully carried out by ROOPA H A (1AM22CS414), SWETHA K
(1AM22CS417), SHEERSHIKA G V(1AM21CS172) bonafide Students of AMC Engineering
College in partial fulfillment of the requirements for the award of degree in Bachelor of Engineering
in Computer Science and Engineering of Visvesvaraya Technological University, Belgaum during
academic year 2023-2024. It is certified that all corrections/suggestions indicated for Internal
Assessment have been incorporated in the report. The mini project report has been approved as it
satisfies the academic requirements in respect of project work for the said degree.
1
2
DECLARATION
We are the undersigned students of 5th Semester Department of Computer Science &
Engineering, AMC Engineering College, declare that our project work entitled “ONLINE
MCQ VALIDATION SYSTEM” is a bonafide work of ours. Our project is neither a copy nor
by means a modification of any other engineering project.
We also declare that this project was not entitled for submission to any other university
in the past and shall remain the only submission made and will not be submitted by us to any
other university in the future.
ROOPA H A 1AM22CS414
SWETHA K 1AM22CS417
SHEERSHIKA G V 1AM21CS172
(i)
ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of this Project report would be
complete only with mention of people who made it possible, whose support rewarded our
effort with success. First and foremost we would like to thank GOD, the Almighty for being so
merciful on me.
We have a great pleasure in expressing my deep sense of gratitude to founder Chairman, Dr.
K.R. Paramahamsa for having provided me with a great infrastructure and well-furnished
labs for successful completion of my project.
We consider it our privilege to express our deep gratitude to our Executive Vice President Mr.
Rahul Kalluri, for providing the infrastructure and an opportunity to peruse our degree in his
prestigious institution.
We greatly express our gratitude to Academic Advisor Dr. Nagaraja R for taking a keen
interest in the progress of the project suggestions given to us.
We express our sincere thanks and gratitude to our Principal Dr. K Kumar for providing me
all the necessary facilities for successful completion of my project.
I would like to extend my special thanks to Dr. V Mareeswari Professor and HOD,
Department of CSE, for her support and encouragement and suggestions given to me in the
course of my project work.
I am grateful to my guide Mrs. Velvizhi Ramya R Assistant Professor, Department of CSE,
AMC Engineering College, Bengaluru for her unfailing and constant motivational & timely
help, encouragement and suggestion, given to me in the course of my project work.
Last but not the least, I wish to thank all the teaching & non-teaching staffs of department of
Computer Science and Engineering, for their support, patience and endurance shown during
the preparation of this project report.
ROOPA H A:(1AM22CS414)
SWETHA K:(1AM22CS417)
SHEERSHIKA G :(1AM21CS172)
(ii)
ABSTRACT
The Online MCQ Validation Management System for College is designed to streamline the
process of creating, distributing, and evaluating multiple-choice questions for college
students. The system is built with web technologies such as HTML, CSS, JavaScript, and
PHP, and uses a MySQL database to store the data. It was tested with a sample group of
students and instructors and was found to be user-friendly and efficient, with a high level of
satisfaction among both students and instructors. The system also provides accurate results
and feedback, which can help improve student performance. The increasing use of technology
in education has led to a growing need for online testing and assessment. Online Multiple-
Choice Questions (MCQ) tests have become a popular method for evaluating student
knowledge and skills. However, the use of online tests also poses some challenges, including
the potential for cheating and the need for accurate and reliable results. To overcome these
challenges, an online MCQ validation management system is needed to manage the process
of validating MCQs and ensure that the results are accurate and reliable.
(iii)
CONTENTS
Chapters Title Page No
1 INTRODUCTION
1.1 Objective
1.2 Purpose
2 REQUIREMENT ENGINEERING
2.1
2.2
4 IMPLEMENTATION
4.1
Hardwarerequirements
5 RESULTS
6 CONCLUSION
REFERENCES
(iv)
1.1
3.1
3.2
LIST OF FIGURES
(v)
LIST OF TABLES
Table Number Title Page No
1.1
1.2
Vi
ONLINE MCQ VALIDATION SYSTEM
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
The increasing use of technology in education has led to a growing need for online testing and
assessment. Online Multiple-Choice Questions (MCQ) tests have become a popular method for
evaluating student knowledge and skills. However, the use of online tests also poses some challenges,
including the potential for cheating and the need for accurate and reliable results. To overcome these
challenges, an online MCQ validation management system is needed to manage the process of validating
MCQs and ensure that the results are accurate and reliable.
The problem that this online MCQ validation management system for college aims to address is the
manual and time-consuming process of creating, distributing, and evaluating MCQ tests in a college
setting. Currently, college instructors often create and distribute tests in paper format, which can be time-
consuming and prone to errors. The process of grading and evaluating student answers is also time-
consuming and may lead to inconsistencies in the scoring.
This online MCQ validation management system for college aims to automate the process of creating
and distributing MCQ tests, provide tools for evaluating and grading student answers, and generate
detailed reports on student performance. This will help instructors to save time, improve the consistency
and accuracy of test evaluation, and provide useful feedback to students.
1.4 OBJECTIVES
To develop a user-friendly online MCQ validation management system that is easy to use and
navigate.
To automate the scoring process and provide tools for plagiarism detection and manual review.
To provide a variety of features such as creating, editing, and storing test questions and answers.
To generate reports and analytics to help educators and administrators evaluate the results of the
tests.
1.4 APPLICATION
The online MCQ validation management system for college has several applications in the education
field.
Some of the key applications include:
Automated Test Creation: The system allows instructors to easily create and distribute MCQ tests
in a digital format, reducing the time and effort required to create and distribute paper tests.
Online Test Taking: Students can take the tests online, reducing the need for paper tests, and
making it more convenient for students to take the test from any location.
Automated Grading: The system automatically grades and evaluates student answers, reducing the
time and effort required to grade paper tests manually.
Performance Reports: The system generates detailed performance reports, providing instructors
with valuable data on student performance, which can be used to identify areas where students
need improvement.
Time-saving: The system saves instructors a significant amount of time that they would otherwise
Convenient: It’s a web-based application which can be accessed from any device with an internet
connection, which makes it convenient for both students and teachers.
1.6 ADVANTAGES
The online MCQ validation management system for college has several advantages, which
include:
Automated Test Creation: The system allows instructors to easily create and distribute MCQ tests
in a digital format, reducing the time and effort required to create and distribute paper tests.
Online Test Taking: Students can take the tests online, reducing the need for paper tests and
making it more convenient for students to take the test from any location.
Automated Grading: The system automatically grades and evaluates student answers, reducing the
time and effort required to grade paper tests manually.
Performance Reports: The system generates detailed performance reports, providing instructors
with valuable data on student performance, which can be used to identify areas where students
need improvement.
Time-saving: The system saves instructors a significant amount of time that they would otherwise
spend on creating, distributing, and grading paper tests.
Cost-effective: By reducing the need for paper tests, the system can help colleges to save money
on printing and distribution costs.
Convenient: It’s a web-based application which can be accessed from any device with an internet
connection, which makes it convenient for both students and teachers.
Secure: Online MCQ validation management system is more secure than traditional paper-based
tests, which can be easily lost, stolen, or copied.
Scalable: The system can be easily scaled to accommodate more students and tests, making it
suitable for use in large colleges.
Accurate: The system is accurate and efficient, reducing the chances of errors that may occur in
manual grading.
Flexible: The system can be customized to meet the specific needs of a college, including the
integration with other systems, such as student information systems.
CHAPTER 2
REQUIREMENT ENGINEERING
RAM : 4 GB
Storage : 20 GB
Internet : 20 Mbps
Exam Grading: The system should be able to automatically grade exams and provide real-time
feedback to students and instructors.
Reporting and Analytics: The system should provide a variety of reporting and analytics
capabilities to help instructors evaluate student performance. This may include student
performance reports, exam reports, and item analysis reports.
Security: The system should be secure and ensure the privacy of student data. It should also have
measures in place to prevent cheating or other forms of misconduct.
Accessibility: The system should be accessible from any device with a web browser, including
laptops, desktops, and mobile devices.
User-Friendly Interface: The system should have a user-friendly interface that is easy for students
and instructors to use.
Scalability: The system should be able to handle a large number of students and exams
simultaneously, and should be scalable to accommodate future growth.
Technical Support: The system should have technical support available to users to assist with any
technical difficulties they may encounter.
2.3 NON-FUNCTIONAL REQUIREMENTS
The following are non-functional requirements that must be met at a system-wide level:
Performance: The system should run efficiently and be able to accommodate multiple users
accessing the system simultaneously. The performance of the system should not be impacted.
Reliability: The system should be highly reliable and should not fail under any circumstances.
Availability: The system should be always available and accessible to users.
Security: The system should have strong security measures in place to prevent unauthorized
access.
Maintainability: The system should be designed to allow for enhancements and maintenance to
ensure the quality of the software is maintained even when errors occur.
CHAPTER 3
DESIGN AND METHODOLOGY
3.1 DESIGN
The system design involves transforming the user requirements into a software design. The design for
the Online MCQ Validation Management System includes the framework, data flow diagrams (DFD’s)
at level 0 and level 1, and an entity relationship diagram (ER). Data modeling is crucial in facilitating
communication between the system designer, programmer, and end-user. It allows for identifying the
needs, problems, and potential solutions early on in the project.
The focus of the data modeling is to ensure that the flow of the system is determined effectively. The
entity relationship diagram is particularly important as it shows the interactions between entities within
the system. Process models group similar processes together and can be used as a guide for how things
should be done. However, the actual process will be determined during system development and may
differ from the model.
2. Admin: - The administrator can view the information of all users who have registered through the
website, including the ability to remove a specific user. The administrator can also view the score
of a particular user and their recent login time.
3. Database: - The database is used to store all data related to user actions, quiz questions, options,
answers, and administrator information.
3.1.3 ER diagram
An Entity-Relationship (ER) diagram for an online Multiple-Choice Question (MCQ) validation system
would visually represent the structure and relationships of the system's entities.
1. Admin: - Admin can view the user, quiz, questions, options, answers and history.
2. User: - The user can attend the quiz, view the questions, options and view the history.
User
<?php>
require('database.php');
session_start();
if(isset($_SESSION["email"]))
{
session_destroy();
}
$ref=@$_GET['q'];
if(isset($_POST['submit']))
{
DEPT. OF CSE, AMCEC 2023-24
ONLINE MCQ VALIDATION SYSTEM
$email = $_POST['email'];
$pass = $_POST['password'];
$email = stripslashes($email);
$email = addslashes($email);
$pass = stripslashes($pass);
$pass = addslashes($pass);
$email = mysqli_real_escape_string($con,$email);
$pass = mysqli_real_escape_string($con,$pass);
$str = "SELECT * FROM user WHERE email='$email' and password='$pass'";
$result = mysqli_query($con,$str);
if((mysqli_num_rows($result))!=1)
{
echo "<center><h3><script>alert('Sorry.. Wrong Username (or) Password');</script></h3></center>";
header("refresh:0;url=login.php");
}
else
{
$_SESSION['logged']=$email;
$row=mysqli_fetch_array($result);
$_SESSION['name']=$row[1];
$_SESSION['id']=$row[0];
$_SESSION['email']=$row[2];
$_SESSION['password']=$row[3];
header('location: welcome.php?q=1');
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Login | Online Quiz System</title>
<link rel="stylesheet" href="scripts/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="scripts/ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="css/form.css">
<style type="text/css">
body{
width: 100%;
background: url(image/exam-3.jpg) ;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.cls{
DEPT. OF CSE, AMCEC 2023-24
ONLINE MCQ VALIDATION SYSTEM
border:1px;
}
</style>
</head>
<body>
<section class="login first grey">
<div class="container">
<div class="box-wrapper">
<div class="box box-border">
<div class="box-body"><div class="cls">
<a href="index.php">×</a></div>
<center> <h5 style="font-family: Noto Sans;">Login to
</h5><h4 style="font-family: Noto Sans;">Online Quiz System</h4></center><br>
<form method="post" action="login.php"
enctype="multipart/form-data">
<div class="form-group">
<label>Enter Your Email Id:</label>
<input type="email" name="email"
class="form-control">
</div>
<div class="form-group">
<label class="fw">Enter Your Password:
<!-- <a href="javascript:void(0)"
class="pull-right">Forgot Password?</a> -->
</label>
<input type="password"
name="password" class="form-control">
</div>
<div class="form-group text-right">
<button class="btn btn-primary btn-block" name="submit">Login</button><br>
<a href="index.php" class="btn btn-primary btn-block">Close</a>
</div>
</div>
<div class="form-group text-center"><span class="text-muted">Don't have an account?</span> <a
href="register.php"><b> Register</b></a> Here..
</div>
</form> </div>
</div>
</div>
</div>
</section>
<script src="js/jquery.js"></script>
<script src="scripts/bootstrap/bootstrap.min.js"></script>
</body>
</html>
Register
<?php
include("database.php");
session_start();
if(isset($_POST['submit']))
{
$name = $_POST['name'];
$name = stripslashes($name);
$name = addslashes($name);
$email = $_POST['email'];
$email = stripslashes($email);
$email = addslashes($email);
$password = $_POST['password'];
$password = stripslashes($password);
$password = addslashes($password);
$college = $_POST['college'];
$college = stripslashes($college);
$college = addslashes($college);
$str="SELECT email from user WHERE email='$email'";
$result=mysqli_query($con,$str);
if((mysqli_num_rows($result))>0)
{
echo "<center><h3><script>alert('Sorry.. This email is already registered
!!');</script></h3></center>";
header("refresh:0;url=login.php");
}
else
{
$str="insert into user set
name='$name',email='$email',password='$password',college='$college'";
if((mysqli_query($con,$str)))
echo "<center><h3><script>alert('Congrats.. You have successfully registered
!!');</script></h3></center>";
header('location: welcome.php?q=1');
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
DEPT. OF CSE, AMCEC 2023-24
ONLINE MCQ VALIDATION SYSTEM
<body>
<section class="login first grey">
<div class="container">
<div class="box-wrapper">
<div class="box box-border">
<div class="box-body">
<center> <h5 style="font-family: Noto Sans;">Register
to </h5><h4 style="font-family: Noto Sans;">Online Quiz System</h4></center><br>
<form method="post" action="register.php"
enctype="multipart/form-data">
<div class="form-group">
<label>Enter Your Username:</label>
<input type="text" name="name"
class="form-control" required />
</div>
<div class="form-group">
<label>Enter Your Email Id:</label>
<input type="email" name="email"
class="form-control" required />
</div>
<div class="form-group">
<label>Enter Your Password:</label>
<input type="password"
name="password" class="form-control" required />
</div>
<div class="form-group">
<label>Enter Your College
Name:</label>
<script src="js/jquery.js"></script>
<script src="scripts/bootstrap/bootstrap.min.js"></script>
</body>
</html>
3.2 METHODOLOGY
1. Requirements gathering: The first step is to gather requirements from stakeholders to understand
their needs and expectations from the system.
2. Analysis and Design: The requirements gathered from the stakeholders are analyzed and a design
for the system is developed. This includes the design of the user interface, database structure, and
system architecture.
3. Implementation: Based on the design, the system is implemented using appropriate programming
languages and technologies.
4. Testing: The system is thoroughly tested to identify and fix any bugs or errors. This includes both
functional and non-functional testing.
5. Deployment: The system is deployed in a production environment and made available to end-users.
6. Maintenance: After deployment, the system is monitored and maintained to ensure that it continues
to operate effectively and efficiently. Any issues or enhancements are addressed as needed.
CHAPTER 4
IMPLEMENTATION