0% found this document useful (0 votes)
205 views18 pages

PM Mini Project Report Format

1) A group of students submitted a mini project report on an online examination system for a Java programming course. 2) The system allows users to take online multiple choice tests on Java concepts and immediately receives a score upon completing the test. 3) The report describes the design, coding, and results of implementing the online test system which aims to help students and teachers utilize time efficiently.

Uploaded by

Saloni Kariya
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)
205 views18 pages

PM Mini Project Report Format

1) A group of students submitted a mini project report on an online examination system for a Java programming course. 2) The system allows users to take online multiple choice tests on Java concepts and immediately receives a score upon completing the test. 3) The report describes the design, coding, and results of implementing the online test system which aims to help students and teachers utilize time efficiently.

Uploaded by

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

A Mini Project Report On

“ Online EXAMINATION SYSTEM ”

Guided By
Prof. H. D. Misalkar

Submitted By
Miss Saloni L. Kariya
Miss Monika U. Mahakal
Miss Vedanti D. Lasnapure
Mr. Virendra K. Kokarde
Mr. Shikhar N. Gupta

Department of Information Technology


Vidarbha Youth Welfare Society’s
Prof. Ram Meghe Institute of Technology& Research
Badnera- Amravati

Session 2018-2019
PRMIT&R/[IT]/PM-lab/2018-19
ACKNOWLEDGEMENT
We would like to express our deep and sincere thanks to our Principal Dr. A. P. Bodkhe, Head

of Information Technology Department Dr. P. V. Ingole for their tremendous support and

valuable guidance.

We would like to express our deep sense of gratitude and whole hearted thanks to our Subject &

Practical In-charge Prof. H. D. Misalkar under his guidance this work has been carried out. It

has keen interest encouraging disposition full co-operation that has made it possible for us to

complete this project work.

Name and Roll Numbers


Miss Saloni L. Kariya Roll no: 23
Miss Monika U. Mahakal Roll no:33
Miss Vedanti D. Lasnapure Roll no:32
Mr. Virendra K. Kokarde Roll no:27
Mr. Shikhar N. Gupta Roll no:19

PRMIT&R/[IT]/PM-lab/2018-19
Vidarbha Youth Welfare Society’s

Prof. Ram Meghe Institute of Technology & Research


Badnera- Amravati

Department of Information Technology

CERTIFICATE
Certified that the mini-project work entitled “Online Java Paper Test” is a
bona fide work carried out by

Miss Saloni L. Kariya


Miss Monika U. Mahakal
Miss Vedanti D. Lasnapure
Mr. Virendra K. Kokarde
Mr. Shikhar N. Gupta

of B.E. Second Year Semester-III, Department of Information Technology,


during the academic year 2018 - 19
The report has been approved as it satisfies the academic requirements in
respect of mini-project work relevant for the course.

Prof. H. D. Misalkar Dr. P. V. Ingole


Practical In-Charge H.O.D

PRMIT&R/[IT]/PM-lab/2018-19
1. Introduction

This Java Online Test exams. User will be presented Multiple Choice Questions
(MCQs) based on Core Java Concepts, where user will be given four options.
User have to select the best suitable answer for the question and then proceed
to the next question. user will get score of online test after completion of the
test.This online test will help students and teacher for utilizing their valuable
time.

PRMIT&R/[IT]/PM-lab/2018-19
Design and implementation

Coding:
/*Online Examination System*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

class OnlineTest extends JFrame implements ActionListener


{
JLabel l;
JRadioButton jb[]=new JRadioButton[5];
JButton b1,b2;
ButtonGroup bg;
int count=0,current=0,x=1,y=1,now=0;
int m[]=new int[10];
OnlineTest(String s)
{
super(s);
l=new JLabel();
add(l);
bg=new ButtonGroup();
for(int i=0;i<5;i++)
{
jb[i]=new JRadioButton();
add(jb[i]);
bg.add(jb[i]);
}
b1=new JButton("Next");
b2=new JButton("BookMark");

PRMIT&R/[IT]/PM-lab/2018-19
b1.addActionListener(this);
b2.addActionListener(this);
add(b1);
add(b2);
set();
l.setBounds(30,40,450,20);
jb[0].setBounds(50,80,100,20);
jb[1].setBounds(50,110,100,20);
jb[2].setBounds(50,140,100,20);
jb[3].setBounds(50,170,100,20);
b1.setBounds(100,240,100,20);
b2.setBounds(270,240,100,20);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(null);
setLocation(250,100);
setVisible(true);
setSize(600,350);
}
public void actionPerformed(ActionEvent e)
{
if(e.getSource()==b1)
{
if(check())
count=count+1;
current++;
set();
if(current==9)
{
b1.setEnabled(false);
b2.setText("Result");
}

PRMIT&R/[IT]/PM-lab/2018-19
}
if(e.getActionCommand().equals("BookMark"))
{
JButton bk=new JButton("BookMark"+x);
bk.setBounds(450,20+30*x,100,30);
add(bk);
bk.addActionListener(this);
m[x]=current;
x++;
current++;
set();
if(current==9);
b2.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"))
{

PRMIT&R/[IT]/PM-lab/2018-19
if(check())
count=count+1;
current++;
//System.out.println("correct ans= "+count);
JOptionPane.showMessageDialog(this,"correct ans= "+count);
System.exit(0);
}
}
void set()
{
jb[4].setSelected(true);
if(current==0)
{
l.setText("Que.1:Which one is not a datatype?");
jb[0].setText("int");jb[1].setText("float");jb[2].setText("boolean");jb[3].setText("char");
}
if(current==1)
{
l.setText("Que.2:Which class is available to all class automatically?");

jb[0].setText("Swing");jb[1].setText("Applet");jb[2].setText("Object");jb[3].setText("Action
Event");
}
if(current==2)
{
l.setText("Que.3:Which package is directly available to our class without importing it");
jb[0].setText("Swing");jb[1].setText("Applet");jb[2].setText("net");jb[3].setText("lang");
}
if(current==3)
{
l.setText("Que.4:String class is define in which package?");

PRMIT&R/[IT]/PM-lab/2018-19
jb[0].setText("lang");jb[1].setText("Swing");jb[2].setText("Applet");jb[3].setText("awt");
}
if(current==4)
{
l.setText("Que.5:Which Institute is best for java Coaching?");
jb[0].setText("Utek");jb[1].setText("Aptech");jb[2].setText("555 IT");jb[3].setText("jtek");
}
if(current==5)
{
l.setText("Que.6:Which Which one among these is not a Keyword?");
jb[0].setText("class");jb[1].setText("int");jb[2].setText("get");jb[3].setText("if");
}
if(current==6)
{
l.setText("Que.7:Which one among this is not a class?");

jb[0].setText("Swing");jb[1].setText("Actionperformed");jb[2].setText("ActionEvent");jb[3].set
Text("Button");
}
if(current==7)
{
l.setText("Que.8:Which one among this is not a function of Object class?");

jb[0].setText("toSwing");jb[1].setText("finalize");jb[2].setText("equals");jb[3].setText("getDocu
mentBase");
}
if(current==8)
{
l.setText("Que.9:Which function is not present in Applet class?");
jb[0].setText("init");jb[1].setText("main");jb[2].setText("start");jb[3].setText("destory");
}

PRMIT&R/[IT]/PM-lab/2018-19
if(current==9)
{
l.setText("Que.10:Which one among these is nota valid componant?");

jb[0].setText("JButton");jb[1].setText("JList");jb[2].setText("JButton");jb[3].setText("JTextArea
");
}
l.setBounds(30,40,450,20);
for(int i=0,j=0;i<=90;i+=30,j++)
jb[j].setBounds(50,80+i,200,20);
}
boolean check()
{
if(current==0)
return(jb[1].isSelected());
if(current==1)
return(jb[2].isSelected());
if(current==2)
return(jb[3].isSelected());
if(current==3)
return(jb[0].isSelected());
if(current==4)
return(jb[2].isSelected());
if(current==5)
return(jb[2].isSelected());
if(current==6)
return(jb[1].isSelected());
if(current==7)
return(jb[3].isSelected());
if(current==8)
return(jb[1].isSelected());

PRMIT&R/[IT]/PM-lab/2018-19
if(current==9)
return(jb[2].isSelected());
return false;
}
public static void main(String args[])
{
new OnlineTest("Online Test Of Java");
}
}

PRMIT&R/[IT]/PM-lab/2018-19
Result and Analysis :

PRMIT&R/[IT]/PM-lab/2018-19
PRMIT&R/[IT]/PM-lab/2018-19
PRMIT&R/[IT]/PM-lab/2018-19
PRMIT&R/[IT]/PM-lab/2018-19
PRMIT&R/[IT]/PM-lab/2018-19
PRMIT&R/[IT]/PM-lab/2018-19
Conclusions
This project Online Examination System is better option for Multiple Choice Question test.
It will definitely save efforts as well as time.

References :
Books: Java programing (Author: sachin Malhotra)
Internet Links: www.tutorialpoint.com
http://1000projects.org/java-mini-projects-for-bca-mca-and-btech.html

PRMIT&R/[IT]/PM-lab/2018-19

You might also like