0% found this document useful (0 votes)
10 views26 pages

Dbms Reportt

The document discusses developing an online MCQ validation system for colleges to automate the process of creating, distributing, and evaluating multiple choice questions. Currently, the process is done manually which is time-consuming and prone to errors. The proposed system aims to address these issues by providing features for creating and distributing tests online, evaluating answers automatically, and generating detailed reports on student performance.

Uploaded by

Kalyan G V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views26 pages

Dbms Reportt

The document discusses developing an online MCQ validation system for colleges to automate the process of creating, distributing, and evaluating multiple choice questions. Currently, the process is done manually which is time-consuming and prone to errors. The proposed system aims to address these issues by providing features for creating and distributing tests online, evaluating answers automatically, and generating detailed reports on student performance.

Uploaded by

Kalyan G V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

VISVESVARAYATECHNOLOGICAL UNIVERSITY

“JnanaSangama”, Belgaum590014, KARNATAKA, INDIA

A Mini-Project Report
On
“ONLINE MCQ VALIDATION SYSTEM”

A Mini-project report submitted in partial fulfillment of the requirements for the


award of the degree of Bachelor of Engineering in Computer Science and
Engineering of Visvesvaraya Technological University, Belgaum.

Submitted by:

ROOPA H A(1AM22CS414)
SWETHA K(1AM22CS417)
SHEERSHIKA G V(1AM21CS172)

Under the Guidance of:


Mrs. Velvizhi Ramya R
(Assistant Professor, Department of CSE)

Department of Computer Science and Engineering


AMC Engineering College,
18thK.M, Bannerghatta Main Road, Bangalore-560083
2023-2024
AMC Engineering College,
18thK.M, Bannerghatta Main Road, Bangalore-560083

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.

Project Guide HOD Principal

Mrs. Velvizhi Ramya R Dr. V Mareeswari Dr. K Kumar


Assistant Professor Professor & Head Principal
Department of CSE Department of CSE AMCEC

External Examiners: Signature with Date

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.

Name USN Signature

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

3 DESIGN AND METHODOLOGY


3.1

4 IMPLEMENTATION

4.1
Hardwarerequirements
5 RESULTS

6 CONCLUSION

REFERENCES
(iv)

Figure Number Title Page No

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.

1.2 PROBLEM STATEMENT

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.3 SYSTEM ANALYSIS


 Existing System
Existing system is a manual one in which users are maintaining books to store the information like
Student Details, Instructor Details, Schedule Details and feedbacks about students who attempted exam
as per schedule. It is very difficult to maintain historical data.
 Disadvantages
The following drawbacks of existing system emphasize the need for computerization:
 A lot of copies of question papers have to be made
 A lot of correction works hence delay in giving the results
 A lot of tabulation work for each subject results
DEPT. OF CSE, AMCEC 2023-24
ONLINE MCQ VALIDATION SYSTEM

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.5 PROBLEM STATEMENT


Problems of agricultural marketing in India includes too many intermediates, defective weight and scale,
illiteracy and lack of unity, lack of storage, transportation facilities, lack of financial resources, lack of
organized marketing system, lack of standardization, lack of awareness of market, distress sale, corrupt
policies of mandi, lack of market intelligence, poor quality of product and market news etc. Eliminating
middlemen, storage facility, freedom from moneylenders, adequate transportation facility, loan facilities
and training facilities etc. are some conditions which are required for satisfactory development of
agricultural marketing.

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

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

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.
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.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

 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

2.1 SOFTWARE AND HARDWARE TOOLS USED


2.1.1.1 SOFTWARE REQUIREMENTS
2.1.1.1.1 Operating System : Window OS
2.1.1.1.2 Backend : PHP
2.1.1.1.3 Frontend : HTML, CSS, BOOTSTRAP, JAVASCRIPT.
2.1.1.1.4 Database : Relational
2.1.1.1.5 Web server : Xampp Localhost

2.1.1.2 HARWARE REQUIREMENTS

CPU : Intel core processor, 1.2 GHz

RAM : 4 GB

Storage : 20 GB

Internet : 20 Mbps

2.2 FUNCTIONAL REQUIREMENTS


Functional requirements of an online MCQ validation management system typically include:
 User compatibility: The system should have the capability to create user accounts for students and
instructors.
 Exam Administration: The system should allow instructors to administer exams to students, either
in a proctored environment or remotely.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

 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.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

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.

3.1.1 USE CASE DIAGRAM


A use case is a detailed description of a series of actions. It is represented graphically as an ellipse with a
solid line containing only its name. A use case diagram is a behavioral diagram that illustrates a group of
use cases and the actors involved and their relationships. The diagram shows the association between use
cases and actors. An actor represents a real-world object and can be a primary actor (sender) or a
secondary actor (receiver).

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

Figure 3.1: Case Diagram

3.1.2 DATA FLOW DIAGRAM

Figure 4.2: Data Flow Diagram

The above Following DFD (Data flow Diagram)


1. User(student): -The student can take the exams available in the database and view their scores.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

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.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

Figure 3.3: Entity Relation Diagram

3.1.4 CODE FOR DESIGNING PAGE

 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">&times;</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>

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

 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

<meta name="viewport" content="width=device-width, initial-scale=1.0">


<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Register | 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/book.png) ;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>

<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>

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

<input type="text" name="college"


class="form-control" required />
</div>

<div class="form-group text-right">


<button class="btn btn-primary btn-
block" name="submit">Register</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">Already have
an account! </span> <a href="login.php"> <b> Login</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>

3.1.5 DATABASE DESIGN


ALTER TABLE admin
ADD PRIMARY KEY (admin_id);

ALTER TABLE history


ADD PRIMARY KEY (date);

ALTER TABLE quiz


ADD PRIMARY KEY (date);

ALTER TABLE rank


ADD PRIMARY KEY (email);

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

ALTER TABLE user


ADD PRIMARY KEY (email);

-- AUTO_INCREMENT for dumped tables


-- AUTO_INCREMENT for table admin
ALTER TABLE admin
MODIFY admin_id int (11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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.

DEPT. OF CSE, AMCEC 2023-24


ONLINE MCQ VALIDATION SYSTEM

CHAPTER 4

IMPLEMENTATION

DEPT. OF CSE, AMCEC 2023-24

You might also like