0% found this document useful (0 votes)
23 views32 pages

University of Mumbai: "Online Test App"

This document is a dissertation report submitted to the University of Mumbai for the degree of Bachelor of Engineering in Computer Engineering. It describes the development of an online test application by a group of 4 students under the guidance of Prof. Dipti Raut. The aim of the project was to create an online objective exam system that allows users to take online tests and automatically generates results based on answers marked by users in order to overcome the drawbacks of traditional paper-based exams such as being time-consuming and resulting in inaccurate scoring. The report provides an introduction to the project, describes the technologies used, requirements, design, coding, results analysis, and conclusions.

Uploaded by

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

University of Mumbai: "Online Test App"

This document is a dissertation report submitted to the University of Mumbai for the degree of Bachelor of Engineering in Computer Engineering. It describes the development of an online test application by a group of 4 students under the guidance of Prof. Dipti Raut. The aim of the project was to create an online objective exam system that allows users to take online tests and automatically generates results based on answers marked by users in order to overcome the drawbacks of traditional paper-based exams such as being time-consuming and resulting in inaccurate scoring. The report provides an introduction to the project, describes the technologies used, requirements, design, coding, results analysis, and conclusions.

Uploaded by

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

UNIVERSITY OF MUMBAI

A DISSERTATION REPORT ON
“ONLINE TEST APP”

SUBMITTED IN PARTIAL FULFILMENT FOR


THE REQUIREMENTS OF THE DEGREE
BACHELOR OF ENGINEERING
IN
COMPUTER ENGINEERING
GROUP MEMEBERS
ANSARI MD SADAAN MD KALIM (02)
CHALKE SUBODH SUNIL (04)
TEJAM MAHESH PANDURANG (51)
VAIBHAV ROHIDAS TUPE (54)
UNDER THE GUIDANCE OF
PROF.DIPTI RAUT

DEPARTMENT OF COMPUTER ENGINEERING


G.V. ACHARYA INSTITUTE OF ENGINEERING AND TECHNOLOGY
UNIVERSITY OF MUMBAI
2020-21
Online Test App 2021

DECLARATION

I declare that this written submission represents my ideas in my own words and where others'
ideas or words have been included, I have adequately cited and referenced the original
sources. I also declare that I have adhered to all principles of academic honesty and integrity
and have not misrepresented or fabricated or falsified any idea/data/fact/source in my
submission. I understand that any violation of the above will be cause for disciplinary action
by the Institute and can also evoke penal action from the sources which have thus not been
properly cited or from whom proper permission has not been taken when needed.

Ansari Md Sadaan Md Kalim (02) ____________

Chalke Subodh Sunil (04) ____________

Tejam Mahesh Pandurang (51) ____________

Vaibhav Rohidas Tupe (54) ____________

Date:

Place: SHELU

II
Online Test App 2021

PROJECT REPORT APPROVAL FOR B. E.

This project report entitled “Online Test App” by “Ansari Md Sadaan Md Kalim”
(02),“Chalke Subodh Sunil” (04), “Tejam Mahesh Pandurang” (51), “Vaibhav Rohidas
Tupe” (54), is approved for the degree of “Bachelor of Computer Engineering”.

Examiners
1. ___________________

2. ___________________

Date:

Place: SHELU

III
Online Test App 2021

CERTIFICATE

This is to certify that the project entitled “Online Test App” is a bonafide work of “Ansari
Md Sadaan Md Kalim” (02), “Chalke Subodh Sunil” (04), “Tejam Mahesh Pandurang”
(51), “Vaibhav Rohidas Tupe” (54), submitted to the University of Mumbai in partial
fulfillment of the requirement for the award of the degree of “Second Year” in “Bachelor of
Computer Engineering”.

________________ ________________
Prof. Dipti Raut Prof. Roshankumar Bauskar
Project Guide Head of Department
Department of Computer Engineering Computer Engineering
G.V.A.I.E.T G.V.A.I.E.T

_________________ ________________
Prof. Manoj Mahajan Dr. Rajendra Prasad
Project Co-ordinator Principle
Department of Computer Engineering G.V.A.I.E.T
G.V.A.I.E.T

IV
Online Test App 2021

ACKNOWLEDGEMENT

I take the opportunity to thank all of those who have generously helped me to
give a proper shape to my work and complete my B.E project synopsis
successfully. A successful project’s completion involves fruitful combination of
many people, some directly involved and some indirectly, by providing support
and encouragement. So with gratitude I acknowledge all those whose guidance
and encouragement served a beacon of light and crowned our efforts with
success.

I am thankful to Principal Dr. Rajendra Prasad, for the constant support and
encouragement during the project. It’s also a great pleasure to express my
deepest gratitude to all faculty members of my department for their cooperation.

I consider it a privilege and honor to express my sincere gratitude and respect to


my project guide Prof. Dipti Raut, Department of Computer Engineering for
his valuable guidance throughout the tenure of this project seminar.

I would again like to thank Prof. Roshankumar Bauskar, HOD, Department


of Computer Engineering who shared his opinions and experiences through
which I received the required information which was crucial for this project.

Group Members

Ansari Md Sadaan Md Kalim (02)

Chalke Subodh Sunil (04)

Tejam Mahesh Pandurang (51)

Vaibhav Rohidas Tupe (54)

V
Online Test App 2021

TABLE OF CONTENTS

1 INTRODUCTION 7

1.1 Overview………………………………………………………………….8

1.2 Aim and objective………………………………………………………...8

1.3 Problem Definition………………………………………………………..9

1.4 Scope of the project…………………………………………………......10

2 TECHNOLOGY USED 11

2.1 Technology Used………………………………………………………...12

3 PROJECT REQUIREMENT 13

3.1 Hardware & System Requirement……………………………………....14

4 PROJECT DESIGN 15

5.1 System Design…………………………………………………………....16

5.2 Use Case diagram…………………………………………………….......17

5 CODING 18

5.1 Implementation……………………………………………………….......19

6 RESULT ANALYSIS 26

6.1 Snap Shot of Project ……………………………………………………..27

7 CONCLUSION & FUTURE SCOPE 29

7.1 Conclusion & Future Scope……………………………………………...30

8 REFERENCES 31

8.1 References………………………………………………………………..32

6
Online Test App 2021

CHAPTER 1

INTRODUCTION

7
Online Test App 2021

INTRODUCTION

1.1 Overview:
The online test application is a great medium to interact and a better alternative to
usual mundane tests. As we move forward and make different tasks go online. The
online test application is similar in this way. The application uses the mcq model to
deduce results instantly than going to a checker/moderator who has to go through
all those hefty procedures in order for a machine to check a mcq paper offline. The
online test application definitely trumps over the normal mcq paper offline.

Over the normal features like instant results and also finding which questions were
specifically wrong and being fully transparent in the process. The online test
application is not like the other alternatives in the market as we specialize in online
tests and not be a rudimentary form at the end.

Online test application truly hopes to change this part of the education system by
re-innovating itself and trying to adapt to specific demands of the curriculum.

Our project is made using Java programming language. With the help of AWT and
Swing components this application has been developed.

1.2 Aim and Objective:

The online objective exam system is an online test system that allows users to take
online tests and automatically generates results based on answers marked by users.
The system is an online application that can be used to take tests online and get
instant results.

8
Online Test App 2021

1.3 Problem Definition:

Since the traditional way of conducting exams has many drawbacks such as time
consuming, difficulty of analyzing tests manually, more invigilators are required
for conducting the exam smoothly without any unfair means, results are not
accurate as calculation is done manually. Chance of losing the exam's result is
higher in our current system, time taken for declaring the result is also consuming
as it is done manually. There is a restriction of the number of students who appear
for exams.

With development of information technology and use it in an orderly and properly


helps to overcome various existing errors in our current system. Online test apps
are developed to eradicate all these drawbacks in our current system and students
can give exams in totally automated systems. These apps help students of schools/
colleges/ institutions to offer a quick and easy way to appear for exams. This exam
contains questions based on the course having an appropriate number of options.
This app provides a time limit to finish the exam. Users can see the result after
completing the exam.

9
Online Test App 2021

1.4 Scope of the project:

• This can be used in educational institutions as well as in the corporate world.


• Can be used anywhere any time as it is a Computer based application (user
Location doesn't matter).
• The main purpose of the system is to efficiently evaluate the candidate
thoroughly through a fully automated system that not only saves a lot of time
but also gives fast results and saves paper.
• No restriction that the examiner has to be present when the candidate takes
the test.
• Design to facilitate Administrator and User
• Online examination is designed for educational institutes like Schools,
colleges and private institutes to conduct logic tests of their students or
employees on a regular basis.

10
Online Test App 2021

CHAPTER 2
TCHNOLOGY USED

11
Online Test App 2021

TCHNOLOGY USED

Java Swing for GUI (Graphic User Interface)

Awt is an API for developing GUI

12
Online Test App 2021

CHAPTER 3

PROJECT REQUIREMENT

13
Online Test App 2021

PROJECT REQUIREMENT

3.1 System Requirements:

SOFTWARWE REQUIREMENT

Operating System: Windows7 & above.

HARDWARE REQUIRMENT
Laptop

Mobile

14
Online Test App 2021

CHAPTER 4

PROJECT DESIGN

15
Online Test App 2021

4.1 System Design

ONLINE TEST APP

EXAMINER WILL ADD THE QUESTIONS


ACCORDING TO COURSE

USER WILL ATTEMPT THE EXAM

AT THE END OF EXAM USER WILL


KNOW THE MARKS

FIGURE 1: System Design

16
Online Test App 2021

4.2 DFD or Flowchart:

Use case diagram

Figure 2: Flowchart

17
Online Test App 2021

CHAPTER 5
CODING

18
Online Test App 2021

CODING
5.1 Implementation
Source code
package com.testurknowledge;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JRadioButton;

class OnlineTest extends JFrame implements ActionListener {

private static final long serialVersionUID = 1L;

JLabel label;
JRadioButton radioButton[] = new JRadioButton[5];
JButton btnNext, btnBookmark;
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();

19
Online Test App 2021

for (int i = 0; i < 5; i++) {


radioButton[i] = new JRadioButton();
add(radioButton[i]);
bg.add(radioButton[i]);
}
btnNext = new JButton("Next");
btnBookmark = new JButton("Bookmark");
btnNext.addActionListener(this);
btnBookmark.addActionListener(this);
add(btnNext);
add(btnBookmark);
set();
label.setBounds(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);
btnNext.setBounds(100, 240, 100, 30);
btnBookmark.setBounds(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 (e.getSource() == btnNext) {
if (check())
count = count + 1;
current++;
set();
if (current == 9) {

20
Online Test App 2021

btnNext.setEnabled(false);
btnBookmark.setText("Result");
}
}
if (e.getActionCommand().equals("Bookmark")) {
JButton bk = new JButton("Bookmark" + x);
bk.setBounds(480, 20 + 30 * x, 100, 30);
add(bk);
bk.addActionListener(this);
m[x] = current;
x++;
current++;
set();
if (current == 9)
btnBookmark.setText("Result");
setVisible(false);
setVisible(true);
}
for (int i = 0, y = 1; i < x; i++, y++) {
if (e.getActionCommand().equals("Bookmark" + y)) {
if (check())
count = count + 1;
now = current;
current = m[y];
set();
((JButton) e.getSource()).setEnabled(false);
current = now;
}
}

if (e.getActionCommand().equals("Result")) {
if (check())
count = count + 1;
current++;

21
Online Test App 2021

JOptionPane.showMessageDialog(this, "correct answers= " +


count);
System.exit(0);
}
}

// SET Questions with options

void set() {
radioButton[4].setSelected(true);
if (current == 0) {
label.setText("Que1: Who invented Java?");
radioButton[0].setText("microsoft");
radioButton[1].setText("Jetbrains");
radioButton[2].setText("Apple");
radioButton[3].setText("Sun Microsystems");
}
if (current == 1) {
label.setText("Que2: When was Java invented?");
radioButton[0].setText("1947");
radioButton[1].setText("2001");
radioButton[2].setText("2000");
radioButton[3].setText("1995");
}
if (current == 2) {
label.setText("Que3: Java is a ________");
radioButton[0].setText("Object Oriented");
radioButton[1].setText("Declarative");
radioButton[2].setText("Imperative");
radioButton[3].setText("Functional");
}
if (current == 3) {
label.setText("Que4: What are types of applets?");
radioButton[0].setText("Trusted Applets");
radioButton[1].setText("Untrusted applets)");

22
Online Test App 2021

radioButton[2].setText("Both A and B");


radioButton[3].setText("None of these");
}
if (current == 4) {
label.setText("Que5: Give the Abbreviation of AWT ?");
radioButton[0].setText(" Applet Windowing Toolkit");
radioButton[1].setText("Abstract Windowing Toolkit");
radioButton[2].setText("Absolute Windowing Toolkit");
radioButton[3].setText("None");
}
if (current == 5) {
label.setText("Que6: All collection classes are available in?");
radioButton[0].setText("java.io package");
radioButton[1].setText("java.lang package");
radioButton[2].setText("java.awt package");
radioButton[3].setText("java.util package");
}
if (current == 6) {
label.setText("Que7: Object which can store group of other
objects is called...");
radioButton[0].setText(" Collection object");
radioButton[1].setText(" Java object");
radioButton[2].setText("Package");
radioButton[3].setText("Wrapper");
}
if (current == 7) {
label.setText("Que8: Which method is used for getting the
language in internationalization?");
radioButton[0].setText("getDisplayLanguage()");
radioButton[1].setText("GetdisplayLanguage()");
radioButton[2].setText(" GetDisplayLanguage()");
radioButton[3].setText("None");
}
if (current == 8) {

23
Online Test App 2021

label.setText("Que9: What is the name of the Swing class that


is used for frames?");
radioButton[0].setText("Window");
radioButton[1].setText("Frame");
radioButton[2].setText("JFrame");
radioButton[3].setText("SwingFrame");
}
if (current == 9) {
label.setText("Que10: What is the Lifecycle of an applet??");
radioButton[0].setText("init( ) method");
radioButton[1].setText("start( ) method");
radioButton[2].setText("paint( ) method");
radioButton[3].setText("All of these");
}
label.setBounds(30, 40, 450, 20);
for (int i = 0, j = 0; i <= 90; i += 30, j++)
radioButton[j].setBounds(50, 80 + i, 200, 20);
}

// declare right answers.


boolean check() {
if (current == 0)
return (radioButton[3].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[1].isSelected());
if (current == 5)
return (radioButton[3].isSelected());
if (current == 6)
return (radioButton[0].isSelected());

24
Online Test App 2021

if (current == 7)
return (radioButton[0].isSelected());
if (current == 8)
return (radioButton[2].isSelected());
if (current == 9)
return (radioButton[3].isSelected());
return false;
}

public static void main(String s[]) {


new OnlineTest("Online Test App");
}

25
Online Test App 2021

CHAPTER 6
RESULT ANALYSIS

26
Online Test App 2021

RESULT ANALYSIS
6.1 Snap Shot of Project

27
Online Test App 2021

28
Online Test App 2021

CHAPTER 7

CONCLUSION &FUTURE SCOPE

29
Online Test App 2021

CONCLUSION & FUTURE SCOPE


In this research work, we have developed an overall solution to the
examination administration problem in JAVA. It provides a user friendly
platform for multiple choice questions examination. It can be used for
academic purposes, professional certifications, staff promotion examination,
Post entrance examination, etc.

The Online Examination System is widely used as compared to other exams.


Online examination systems can be used in private institutes as well as
educational institutions. As it is a user friendly desktop based application it
can be used anywhere and anytime.

Every software may have some cases of bugs, errors, security related
problems or system faults. There are large numbers of chances in which
software may display invalid data. These bugs must be identified and solved
for improving quality of software. So in future we can develop more secure
software by using advanced technologies.

30
Online Test App 2021

CHAPTER 8
REFERENCES

31
Online Test App 2021

REFERENCES
8.1 Appendix 1:
Web Links
1. Java Programming Language - GeeksforGeeksgeeks.com
2. www.oracle.com
3. Java Tutorial | Learn Java - javatpoint
4. Java AWT Tutorial - javatpoint
5. Java Swing Tutorial - javatpoint
6. Java Tutorial - Tutorialspoint

32

You might also like