lOMoARcPSD|45070377
AJP microproject by Alisha
bacholar of computer science (Deenbandhu Chhotu Ram University of Science and
Technology)
Scan to open on Studocu
Studocu is not sponsored or endorsed by any college or university
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Micro-Project Proposal Micro Project for
information about
Online quiz management using java .
Aims of the Micro-Project
a) To create various types of report and get more knowledge about how to make report. We have chosen this micro
project to get knowledge about online quiz management using java .
b) Because of the micro project now we have get deep knowledge.
Course Outcomes Addressed
Develop error-free, well-documented Java programs; develop and test Java network, search engine, and web
framework programs. Learn how to write, test, and debug advanced-level Object-Oriented programs using Java.
3.0 Proposed Methodology
Collect the information of all the online quiz management using java .
I searched the micro project topics related to subject. Then selected micro project title. After selection of topic
searched and collected information related to selected topic. Then completed proposal of micro project.
4.0 Action Plan
[Link] Planned Planned Name of Responsible
Details of activity
. Start Date Finish date Team Members
1 Decide individual micro project 21/09/2021 22/09/2021 Pathan Alisha
Search micro project topics related
2 22/09/2021 28/09/2021 Pathan Alisha
To subject.
3 Selection of micro project title 28/09/2021 29/09/2021 Pathan Alisha
Search information
4 related to selected 29/09/2021 05/10/2021 Pathan Alisha
Topic
5 Collect information related to 05/10/2021 06/10/2021 Pathan Alisha
selected topic
Completion of micro project topic
6 06/10/2021 12/10/2021 Pathan Alisha
Proposal
7 Analyze collected data For micro- 12/10/2021 13/10/2021 Pathan Alisha
Project report.
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Finalize collected data For micro-
8 13/10/2021 20/10/2021 Pathan Alisha
Project report.
Finalize Design & flow of 20/10/2021 26/10/2021 Pathan Alisha
9
Implementation
10 26/10/2021 27/10/2021 Pathan Alisha
Flow of Implementation
11 27/10/2021 02/11/2021 Pathan Alisha
Implementation of report.
02/11/2021 03/11/2021 Pathan Alisha
12 Report preparation
03/11/2021 09/11/2021 Pathan Alisha
13 Finalization of report
16/11/2021 17/11/2021 Pathan Alisha
14 Submission of report
Names of Team Members with Roll Nos. Roll No.
1. Pathan Alisha Aslam . 47
(To be Approved by the
concerned teacher)
**********************
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
A
PROJECT REPORT
ON
“ONLINE QUIZ MANAGEMENT USING JAVA ”
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD
OF
DIPLOMA IN
COMPUTER ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
SUBMITTED BY
Name of Student Enrollment Number
Pathan Alisha Aslam 1909920070
GUIDED BY
(Prof. Kedar A.L.)
SAMARTH POLYTECHNIC, BELHE
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
SAMARTH POLYTECHNIC, BELHE
CERTIFICATE
This is to certify that the project report entitled “ONLINE QUIZ MANAGEMENT
USING JAVA ” Was successfully completed by Student of Fifth semester Diploma in
computer engineering.
Pathan Alisha Aslam .
In partial fulfillment of the requirements for the award of the Diploma in Computer
engineering and submitted to the Department of Computer of Samarth Polytechnic,
Belhe work carried out during a period for the academic year 2021-22 as per
curriculum .
Prof. Kedar A.L. Prof. Kshirsagar S.B. Prof. Kapile A.S.
(Subject Teacher) (H.O.D) (Principal)
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
ACKNOWLEDGMENT
This project is done as a Fifth semester project, as a part course titled “ONLINE QUIZ
MANAGEMENT USING JAVA”.
I am really thankful to our course the Principal Prof. Kapile A. S. and the HOD Prof.
Kshirsagar S.B. Samarth Polytechnic, Belhe for his invaluable guidance and assistance,
without which the accomplishment of the task would have never been possible.
I also thank Prof. Kedar A.L. for giving this opportunity to explore into the real world and
realize the interrelation without which a Project can never progress. In our present project I
have chosen the topic-
“ONLINE QUIZ MANAGEMENT USING JAVA”.
I also thankful to parents, friend and all staff of Computer engineering department, for
providing us relevant information and necessary clarifications, and great support.
Pathan Alisha Aslam
.
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
INDEX
[Link]. Name of Chapter Page No.
Synopsis
Chapter 1 9
Abstraction
Chapter 2 10
Introduction
Chapter 3 11
About project
Chapter 4 12
Source code of project
Chapter 5 15
Output of project
Chapter 6 27
Chapter 7 Conclusion 29
References
Chapter 8 30
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 1
SYNOPSIS
1.1 Project Title
Online quiz management using java .
1.2. Project Option
None
1.3. Internal Guide
[Link] A.L.
1.4. Problem Statement
Online quiz management using java .
Samarth Polytechnic ,Belhe Page 9
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 2
ABSTRACT
OnlineQuizSystem is an intelligent prototype developed as a multiple choice question examination system which is
built as a Web based application scalable to run on both intranet and internet. OnlineQuizSystem is intelligent enough and
equipped with a level of automation to guide the students to get proficiency/become subject matter experts by taking the
tests. The core underlying automation of the OnlineQuizSystem will generates questions and options on the fly basis and
captures the answers from students into the database.
It ensures that students will have the Mock Tests for practice, and can get the results displayed in their panel. The
OnlineQuizSystem is designed for three major roles. Those are An administrator who controls all the level of roles and
creates the tests. An Instructor should be able to create test questions and manage tests.
A Student who is an end user for the tests. The main objective of the OnlineQuizSystem is to efficiently evaluate the
student using a fully automated system that not only saves a lot of time but also gives fast results. Technologies used to
develop this website are HTML, CSS, and JavaScript for client side validation, C# & [Link] for dynamic content update.
Microsoft SQL Server is used as a data base server for this application.
The system has been seeded with about 300 questions that would allow generation of multiple choice questions of
tester selected topics from an undergraduate class in relational databases. Grading can be done immediately, for student
practice purposes, or if the exam is given simultaneously to student of a class, grading can be delayed until everyone is done
with the quiz. Another salient features of Online Quiz system is the support for templated question formats. The main
advantage of templated questions are, during an assessment each student will receive different questions based on same
concept. This helps faculty to avoid any
Samarth Polytechnic ,Belhe Page 10
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 3
INTRODUCTION
A Quiz Management System In Java is to perform the examination for the student where an teacher can add questions,
set password for quiz ,set timer for the exam and types of examination depends on the category. As a user student can attend
those exams. The student user can submit the test after finish the exam and get results through mail on there email id(it is
implemented by mail services in java). A teacher and admin user can get the history of his exam results. Admin also can
check the complete activity of all the users and teacher users. Like exams and results.
Quiz Management System project is a desktop application which is developed in Java platform. This Java project with
tutorial and guide for developing a code. Quiz Management System is a open source you can Download zip and edit as per
you need. If you want more latest Java projects here. This is simple and basic level small project for learning purpose. Also
you can modified this system as per your requriments and develop a perfect advance level project. Zip file containing
the source code that can be extracted and then imported into eclipse,netbeans. This Source code for BE, BTech, MCA, BCA,
Engineering, [Link], IT, Software Engineering final year students can submit in college. This script developed by ravindra
jain. This desktop application 100% working smooth without any bug. It is developed using Java and Database mysql. This
software code helpful in academic projects for final year students. We have a great collection of Java projects.
Samarth Polytechnic ,Belhe Page 11
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 4
ABOUT PROJECT
The „MCQ Quiz Application‟ project will be developed to overcome the time consuming problem of
manual system. Apart from that in current system, checking the answer sheets after taking test, waste the
examiners time, so this application will check the correct answer and save the examiner time and carry the
examination in an effective manner. The users which are use this system don‟t need to high computing
knowledge and also system will inform them while entering invalid data.
The aim of this project is to computerized the existing manual system and help the examiners to save
their valuable time and important data. Apart from this, data which are exist in this system, will exist for long
period of time and will be easy accessible. This project helps the examiners to manage their services in a good
way and provide a better service to their users.
The objective of this project is to manage the details of students, examinations, marks, courses and
papers in a good manner. The performance of the application will be fully control by administrator and
administrator can guaranty any one to access. The project will reduce the manual process in managing
examinations and all issues regarding that.
Functionalities of the project will be as following:
- Able the examiners to punch the MCQ questions online;
- Able the users to solve the questions online;
- Examiners can manage the information regarding exam;
- Correct answers will be evaluated by system (First it should be determining by examiner);
- Users can see their result after submitting the test.
Samarth Polytechnic ,Belhe Page 12
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
To design and implement this project we plan that the project support to different types of users apart from its
administrative part. When project is run for the first time it allowed the user to select as who he/she wants to
login in the system. Project support login as teacher and login as student. If a user who is student, try to login as
teacher system will not allow him and vice versa. User who add as teacher in system will be able to punch test
and questions to system and also will be able to observe the result of the student which attempt tests. User who
login to system as student will be able to select a particular test and attempt questions depend on this test. After
attempting the test and submitting that user will receive a message that you have attempt the test successfully
and if the user tries to attempt the same test, system will not allow him/her. Also a user which login to system as
student will be able to observe the result of test he/she attempt.
To conclude introduction, we have use these modules to follow the objectives of our project and each of these
modules have logical connections to other modules which they are depend.
- Index: Which allow users to select their type of login to system;
- Teacher Login: Able the teachers to login to system with a valid user name and password. If a teacher is
successfully login to system, he/she will have access to following pages:
o Teacher Home: Which have information about Online MCQ Quiz and issues support by this system for the
teachers;
o Punch Test: Which able the teacher to punch a test and after entering the test name and clicking on „Submit
to Enter Questions‟, teacher will be able to add questions to the particular test.
o Students Marks: Which able the teacher to observe the result of all student who have attempt the tests;
- Student Login: Able the students to login to system with a valid user name and password. If student is
successfully login to system, he/she will have access to following pages:
o Student Home: Which have information about Online MCQ Quiz and issues support by this system for
students;
o Attempt Test: Which able the student to select a particular test for attempting from the existing test in system
from drop down list and after clicking on „go to
Samarth Polytechnic ,Belhe Page 13
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
selected test‟, the questions of selected test will be displayed for the student to attempt. Than student will be
able to attempt the questions and after submitting, student will receive a message that test is successfully
attempt.
o Marks: Which able the particular students to have access to result of the test which he/she attempt.
Existing Systems:
There are various MCQ quiz applications exist in the internet with different criteria. Each of the existing
applications has their own goodness and problems. In this MCQ quiz application which is designed and
implemented in JSP based we try to overcome the existing problems with following features:
- Remove source confuse issue;
- Better management;
- Connection to database for better storing of data;
- Better frontend management; - Better backend management;
- Try to decrease error issuer during runtime.
Project Objectives :
The main objective of the project MCQ Quiz Application is to manage the details of students, examinations,
marks, courses and papers. The project is totally at administrative end and thus only the administrator is granted
the access. The purpose of the project is to build an application to reduce the manual work for managing the
MCQ quiz and we will follow to achieve these objectives in this project.
- To create an appropriate platform for best managing of MCQ test;
- To overcome the time consuming issues and taking MCQ tests;
- To release the marks of the test taker as soon as possible;
Samarth Polytechnic ,Belhe Page 14
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
- To manage the information of different tests.
Methodology :
The methodology of developing of project will be a step-by-step sequence to design, develop and deliver the
application. In software engineering this methodology called „waterfall model‟ which one portion of work
follows after another in a linear sequence. Following steps will be followed in this methodology:
- Initiation (Requirement Specification);
- Planning and design;
- Execution (construction and coding);
- Validation (Testing);
- Closure (Installation and Maintenance).
Samarth Polytechnic ,Belhe Page 15
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 5
SOURCE CODE OF PROJECT
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
class OnlineTest extends JFrame implements ActionListener {
private static final long serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] = new JRadioButton[5];
JButton btnNext, btnBookmark;
Samarth Polytechnic ,Belhe Page 16
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
ButtonGroup bg;
int count = 0, current = 0, x = 1, y = 1, now = 0;
int m[] = new int[10];
// create jFrame with radioButton and JButton
OnlineTest(String s) {
super(s);
label = new JLabel();
add(label);
bg = new ButtonGroup();
for (int i = 0; i < 5; i++) {
radioButton[i] = new JRadioButton();
add(radioButton[i]);
[Link](radioButton[i]);
btnNext = new JButton("Next");
btnBookmark = new JButton("Bookmark");
[Link](this);
[Link](this);
add(btnNext);
Samarth Polytechnic ,Belhe Page 17
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
add(btnBookmark);
set();
[Link](30, 40, 450, 20);
//radioButton[0].setBounds(50, 80, 200, 20);
radioButton[0].setBounds(50, 80, 450, 20);
radioButton[1].setBounds(50, 110, 200, 20);
radioButton[2].setBounds(50, 140, 200, 20);
radioButton[3].setBounds(50, 170, 200, 20);
[Link](100, 240, 100, 30);
[Link](270, 240, 100, 30);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(null);
setLocation(250, 100);
setVisible(true);
setSize(600, 350);
// handle all actions based on event
public void actionPerformed(ActionEvent e) {
if ([Link]() == btnNext) {
Samarth Polytechnic ,Belhe Page 18
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
if (check())
count = count + 1;
current++;
set();
if (current == 9) {
[Link](false);
[Link]("Result");
if ([Link]().equals("Bookmark")) {
JButton bk = new JButton("Bookmark" + x);
[Link](480, 20 + 30 * x, 100, 30);
add(bk);
[Link](this);
m[x] = current;
x++;
current++;
set();
if (current == 9)
[Link]("Result");
Samarth Polytechnic ,Belhe Page 19
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
setVisible(false);
setVisible(true);
for (int i = 0, y = 1; i < x; i++, y++) {
if ([Link]().equals("Bookmark" + y)) {
if (check())
count = count + 1;
now = current;
current = m[y];
set();
((JButton) [Link]()).setEnabled(false);
current = now;
if ([Link]().equals("Result")) {
if (check())
count = count + 1;
current++;
[Link](this, "correct answers= " + count);
Samarth Polytechnic ,Belhe Page 20
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
[Link](0);
// SET Questions with options
void set() {
radioButton[4].setSelected(true);
if (current == 0) {
[Link]("Que1: Which of the following is not introduced with Java 8?");
radioButton[0].setText("Stream API");
radioButton[1].setText("Serialization");
radioButton[2].setText("Spliterator");
radioButton[3].setText("Lambda Expression");
if (current == 1) {
[Link]("Que2: Which feature of java 7 allows to not explicitly close IO resource?");
radioButton[0].setText("try catch finally");
radioButton[1].setText("IOException");
radioButton[2].setText("AutoCloseable");
radioButton[3].setText("Streams");
Samarth Polytechnic ,Belhe Page 21
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
if (current == 2) {
[Link]("Que3: SessionFactory is a thread-safe object.");
radioButton[0].setText("true");
radioButton[1].setText("false");
radioButton[2].setText("don't know");
radioButton[3].setText("false");
if (current == 3) {
[Link]("Que4: Which is the new method introduced in java 8 to iterate over a collection?");
radioButton[0].setText("for (String i : StringList)");
radioButton[1].setText("foreach (String i : StringList)");
radioButton[2].setText("[Link]()");
radioButton[3].setText("[Link]()");
if (current == 4) {
[Link]("Que5: What is the substitute of Rhino javascript engine in Java 8?");
radioButton[0].setText(" Nashorn");
radioButton[1].setText("V8");
radioButton[2].setText("Inscript");
Samarth Polytechnic ,Belhe Page 22
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
radioButton[3].setText("Narcissus");
if (current == 5) {
[Link]("Que6: How to read entire file in one line using java 8?");
radioButton[0].setText("[Link]()");
radioButton[1].setText("[Link]()");
radioButton[2].setText("[Link]()");
radioButton[3].setText("[Link]()");
if (current == 6) {
[Link]("Que7: Which feature of java 7 allows to not explicitly close IO resource?");
radioButton[0].setText("try catch finally");
radioButton[1].setText("IOException");
radioButton[2].setText("AutoCloseable");
radioButton[3].setText("Streams");
if (current == 7) {
[Link]("Que8: Which of the following is not a core interface of Hibernate?");
radioButton[0].setText("Configuration");
radioButton[1].setText("Criteria");
Samarth Polytechnic ,Belhe Page 23
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
radioButton[2].setText("SessionManagement");
radioButton[3].setText("Session");
if (current == 8) {
[Link]("Que9: SessionFactory is a thread-safe object.");
radioButton[0].setText("true");
radioButton[1].setText("false");
radioButton[2].setText("don't know");
radioButton[3].setText("false");
if (current == 9) {
[Link]("Que10: Which of the following is not a state of object in Hibernate?");
radioButton[0].setText("Attached()");
radioButton[1].setText("Detached()");
radioButton[2].setText("Persistent()");
radioButton[3].setText("Transient()");
[Link](30, 40, 450, 20);
for (int i = 0, j = 0; i <= 90; i += 30, j++)
radioButton[j].setBounds(50, 80 + i, 200, 20);
Samarth Polytechnic ,Belhe Page 24
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
// declare right answers.
boolean check() {
if (current == 0)
return (radioButton[1].isSelected());
if (current == 1)
return (radioButton[1].isSelected());
if (current == 2)
return (radioButton[0].isSelected());
if (current == 3)
return (radioButton[2].isSelected());
if (current == 4)
return (radioButton[0].isSelected());
if (current == 5)
return (radioButton[0].isSelected());
if (current == 6)
return (radioButton[1].isSelected());
if (current == 7)
return (radioButton[2].isSelected());
Samarth Polytechnic ,Belhe Page 25
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
if (current == 8)
return (radioButton[0].isSelected());
if (current == 9)
return (radioButton[0].isSelected());
return false;
public static void main(String s[])
new OnlineTest("Online Test App");
Samarth Polytechnic ,Belhe Page 26
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 6
OUTPUT OF PROJECT
Samarth Polytechnic ,Belhe Page 27
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
Samarth Polytechnic ,Belhe Page 28
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 7
CONCLUSION
As mentioned the project is on java platform which is coded in NetBeans IDE with help HTML, CSS and
JavaScript and running as web page by Apache Tomcat web server. But this project is only for MCQ test but in
the future we have plan to extended it to support subjective type of questions with more functionality. We will
add Administrative part on it which able the system to delete test, add user, delete user and so on graphically vie
the web.
To conclude, this is a simple Online MCQ Quiz which able a teacher to punch MCQ question to system which
will be store in SQL Server database and able the student to attempt any test for once. The marks of student will
be calculated according to questions they attempt and will be displayed by the system to teachers and student.
Samarth Polytechnic ,Belhe Page 29
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
Online quiz management using java
CHAPTER 8
REFERENCES
[Link],PratekandKarlMoss,2017,JavaDatabaseProgrammingwithJDBC,CoriclisGroupBooks
. 2. Sierra,KathyandBertBates,2003,HeadFirstJava,O‟Reilly
. 3. Sarcar,Vaskaran,2018,JavaDesignPatterns,Apress.
4. [Link]
5. [Link]
6. [Link]
7. [Link]
8. [Link]
Samarth Polytechnic ,Belhe Page 30
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])
lOMoARcPSD|45070377
ANNEXURE II
Evaluation Sheet for Micro Project
Academic Year :- 2021-22 Name of Faculty :- Prof .Kedar A.L.
Course :- Advanced Java Programming . Course Code :- 22517 Semester :- V
Title of Project :- Online quiz management .
Cos addressed by the Micro Project :-
1. Create interactive online quiz..
2. Implement different constructors and methods in java .
3. make effective quiz interface .
Major Learning Outcomes achieved by students by doing the project :-
a) Practical Outcomes…………………………………………………………………
b) Unit Outcomes in Cognitive domain ………………………………………………
c) Outcomes in Affective Domain
…………………………………………………………………………………………
………………………………………………………………………………………
Comments /suggestions about team work/leadership/inter-personal communication (if any)
………………………………………………………………………………………………………
………………………………………………………………………………………………………
Marks out of 6 Marks out of 4
Roll for for
No. Student Name performance in performance in Total Out
group activity oral / of 10
(D5 Col.8) presentation
(D5 Col.9)
47 Pathan Alisha Aslam
Prof. Kedar A.L.
(Name and Signature of Faculty)
Downloaded by AARYAN MHASHILKAR (mhashilkara09@[Link])