Advanced Java Micro Project
Advanced Java Micro Project
1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
MICRO PROJECT
Academic year: 2024-25
TITLE OF PROJECT
Online Examination System
2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify 1) Kardak Diksha Sahebrao
Place: CHANDWAD
Date: / /2024
Seal of
Institute
3
INDEX
Part A
1 Brief Introduction 6
3 Action Plan 6
4 Resources Required 6
Part B
1 Brief Description 7
7 Skill Developed 18
8 Applications of Microproject 18
4
PART A-Plan
3. Proposed Methodology-
This system will be developed using the concepts of Java Programming in Swing
4. Action Plan-
Planned Start Planned Finish
Sr no. Details of activity
Date Date
1. Finalization of topic 26/07/2024 02/08/2024
2. Preparation of Abstract 09/08/2024 16/08/2024
3. Collection of data 23/08/2024 13/08/2024
4. Preparation of concept 06/09/2024 13/09/2024
5. Seminar / Presentation 27/09/2024 11/10/2024
6. Submission of Micro Project 13/10/2024 13/10/2024
5. Resources Required:
5
PART B-Plan
1. Brief Description:
A billing system is a complex software that creates and automates payments,
invoices, revenue, and much more. It enables insightful analytics – review of recurring
revenues, business data, and reports. In addition, the billing system is a sub-ledger for
many enterprises where the incoming revenues can be viewed in detail. As a result,
activation, controlling, rating, invoicing, dunning, and collections are all part of a good
online billing system.
Abstract: The purpose of Online Examination System is to automate the existing manual
system by the help of computerized equipments and full-fledged computer software, fulfilling
their requirements, so that their valuable data/information can be stored for a longer period
6
with easy accessing and manipulation of the same. The required software and hardware are
easily available and easy to work with.
Future Scope: It may help collecting perfect management in details. In a very short time, the
collection will be obvious, simple and sensible. It will help a person to know the management
of passed year perfectly and vividly. It also helps in current all works relative to Online
Examination System. It will be also reduced the cost of collecting the management & collection
procedure will go on smoothly.
Code:
import java.awt.*; import java.awt.event.*; import
ActionListener
JLabel l;
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]);
7
b1=new JButton("Next"); b2=new
JButton("Bookmark");
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,30);
b2.setBounds(270,240,100,30);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(null);
setLocation(250,100);
setVisible(true); setSize(600,350);
{ if(e.getSource()==b1)
{ if(check())
count=count+1; current++;
set();
if(current==9) {
b1.setEnabled(false);
b2.setText("Result");
8
}
if(e.getActionCommand().equals("Bookmark"))
bk.setBounds(480,20+30*x,100,30);
add(bk); bk.addActionListener(this);
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=curren
t;
current=m[y
];
set();
((JButton)e.getSource()).setEnabled(false); current=now;
9
}}
if(e.getActionCommand().equals("Result"))
{ 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)
jb[0].setText("int"); jb[1].setText("Float");
jb[2].setText("boolean"); jb[3].setText("char");
} if(current==1)
jb[3].setText("ActionEvent");
} if(current==2)
jb[0].setText("swing");
10
jb[1].setText("applet");
jb[2].setText("net");
jb[3].setText("lang");
} if(current==3)
jb[0].setText("lang"); jb[1].setText("Swing");
jb[2].setText("Applet"); jb[3].setText("awt");
} if(current==4)
jb[0].setText("Utek"); jb[1].setText("Aptech");
jb[2].setText("SSSIT"); jb[3].setText("jtek");
} if(current==5)
jb[0].setText("class"); jb[1].setText("int");
jb[2].setText("get"); jb[3].setText("if");
} if(current==6)
jb[0].setText("Swing"); jb[1].setText("Actionperformed");
jb[2].setText("ActionEven);
11
jb[3].
setText("Button");
} if(current==7)
} if(current==8)
jb[0].setText("init"); jb[1].setText("main");
jb[2].setText("start"); jb[3].setText("destroy");
} if(current==9)
jb[0].setText("JButton"); jb[1].setText("JList");
jb[2].setText("JButtonGroup"); 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());
12
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());
if(current==9)
return(jb[2].isSelected()); return
main(String s[])
13
5. Actual Resources Used:
14
2. Attempting question and bookmarking
3. Opening Bookmark
15
4. Result:
7.Skill Developed:
In this project we have learned about various concepts in Java, and successfully developed
an online examination system using Swing Components
8.Applications of Microproject:
Our project is only a humble venture to satisfy the needs to manage their project work.
Several user friendly coding have also adopted. This package shall prove to be a powerful
package in satisfying all the requirements of the school. The objective of software planning
is to provide a frame work that enables the manger to make reasonable estimates made
within a limited time frame at the beginning of the software project and should be updated
regularly as the project progresses. References:
1. geeksforgeeks.org
2. stackoverflow.com
3. w3schools.org
4. javatpoint.com
16