Java Microproject

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

A MICRO-PROJECT REPORT
ON

“Online Test Exam”

PROGRAM CODE:- CO 4 I
COURSE NAME:- Java programming

Course code:-22412

DEPARTMENT OF COMPUTER ENGINEERING

(2020-2021)

ROLL NO. NAME OF STUDENTS


46 SOYAL SHAIKH

47 AmarShewale
48 Nikita shinde
49 Kaustubh shivnekar

UNDER THE GUIDANCE OF

Mrs. vijaya patil

1
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

INDEX
Report (Part A)
Sr.no Topic Page No
1 Title of the project

2 Introduction of project

3 Explanation of the project

4 Algorithm of the project

5 Flowchart of the project

6 Programe code of project

7 Output of the project

8 Conclusion

9 Refrences

2
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

PART A

ANNEXURE 1

TITLE OF MICRO-PROJECT: “Online Test Exam”

⚫ Introduction:-Online Examination System is a technology-driven way to simplify


examination activities like defining exam patterns with question banks, defining
exam timer, objective/ subjective question sections, conducting exams using the
computer or mobile devices in a paperless manner.
⚫Advantages:-1)Exam Candidates are used to Digital.
2)Reduced Administrative Burden.
3) Quicker to Mark and Issue Results.
4)Collaborative Question Authoring.
5) Automated Test Assembly Tools.
6) On-Screen Marking Tools.
7)It's More Environmentally Friendly.
8) Scalable with Worldwide Reach.
⚫ Disadvantages:-1)Challenges in Technology Adoption.
2)Infrastructural Barriers.
3)Difficulty in Grading Long-answer Type.
4)Susceptible to Cheating.
5)Transitioning to Open-Book Exams.

3
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

 Action Plan:

S Details of Activity Planned Planned Name of


No. Responsible
Start Date Finish
Date Team Members
We formed a group of Members Amar Shewale
1.
We discussed about micro-project Kaustubh
2. shivnekar

We started working on the micro- Sohail shaikh


3. project
We collected Nikita shinde
4. information
about micro-
project
We divided working of micro- Amar shewale
5. project
In group
We prepared micro-project of Nikita shinde
8. “Moving fish”

We finalized our micro-project Amar shewale


9. report

We completed our micro-project Kaustubh


10. shivnekar

We submitted our micro-project Sohail shaikh


11.
We gave presentation on our Amar shewale
13. micro-project
ANNEXURE 2

Evaluation Sheet for the Micro Project

Course: Microprocessor

4
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

Course Code:22415 Semester :4-I –Scheme


▪ TITLE OF THE PROJECT: ‘Online Test Exam’

COs addressed by the Micro Project:


a. Develop assembly language programs to solve problems using Procedure Oriented Approach.
b. Implement Inheritance in assembly language program.
e. Develop assembly language programs to perform file operations.

Major Learning Outcomes achieved by students by doing the micro project:


(a)Practical Outcomes: ●Use assembly language variables, operators, decision
making and control structure statements.
●Develop the program using 1 and multi-dimensional array.
●Writeassembly language program to demonstrate function, operator overloading and file manipulation.
(b) Unit Outcomes in Cognitive domain
●Write POP based assembly
language program.
● Implement given type of inheritance in assembly language program
● Identify and write assembly language program to perform file operations.
(c) Outcomes in Affective Domain
a. Follow safety practices.
b. Demonstrate working as a leader/a team member.
c. Maintain tools and equipment.
d. Follow ethical practices.
Comments/Suggestions about team work/leadership/inter-personal cosmmunication (if any)
More technical applications may be developed.
Roll No Student Name SIGN

46 SOHAIL SHAIKH
47 AmarShewale
48 Nikita shinde
49 Kaustubh shivnekar

5
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

PROGRAM CODE:-
for(int i=0;i<5;i++)
/*Online Java Paper Test*/ {
import java.awt.*; jb[i]=new JRadioButton();
import java.awt.event.*; add(jb[i]);
import javax.swing.*; bg.add(jb[i]);
class OnlineTest extends JFrame }
implements ActionListener
b1=new JButton("Next");
{
b2=new JButton("Bookmark");
JLabel l;
b1.addActionListener(this);
JRadioButton jb[]=new
b2.addActionListener(this);
JRadioButton[5];
add(b1);add(b2);
JButton b1,b2;
set();
ButtonGroup bg;
l.setBounds(30,40,450,20);
int
count=0,current=0,x=1,y=1,now=0; jb[0].setBounds(50,80,100,20);

int m[]=new int[10]; jb[1].setBounds(50,110,100,20);

OnlineTest(String s) jb[2].setBounds(50,140,100,20);

{ jb[3].setBounds(50,170,100,20);

super(s); b1.setBounds(100,240,100,30);

l=new JLabel(); b2.setBounds(270,240,100,30);


setDefaultCloseOperation(JFrame.EXI
add(l);
T_ON_CLOSE);
bg=new ButtonGroup();
setLayout(null);

6
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

setLocation(250,100); bk.setBounds(480,20+30*x,100,30);
setVisible(true); add(bk);
setSize(600,350); bk.addActionListener(this);
} m[x]=current;
public void x++;
actionPerformed(ActionEvent e)
current++;
{
set();
if(e.getSource()==b1
if(current==9)
{
b2.setText("Result");
if(check())
setVisible(false);
count=count+1;
setVisible(true);
current++; set();
}
if(current==9)
for(int i=0,y=1;i<x;i++,y++)
{
{
b1.setEnabled(false);
b2.setText("Result"); if(e.getActionCommand().equals("Bo
okmark"+y))
}
{
}
if(check())
if(e.getActionCommand().equals("Bo count=count+1;
okmark"))
now=current;
{
current=m[y];
JButton bk=new
set();
JButton("Bookmark"+x);

7
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

l.setText("Que1: Which one among


((JButton)e.getSource()).setEnabled(f these is not a datatype");
alse); current=now;
} jb[0].setText("int");jb[1].setText("Flo
at");jb[2].setText("boolean");jb[3].set
}
Text("char");

if(e.getActionCommand().equals("Res }
ult")) if(current==1)
{ {
if(check()) l.setText("Que2: Which class is
count=count+1; available to all the class
automatically");
current++;
jb[0].setText("Swing");jb[1].setText("
//System.out.println("correct Applet");jb[2].setText("Object");jb[3]
ans="+count); .setText("ActionEvent");
}
JOptionPane.showMessageDialog(thi
s,"correct ans="+count); if(current==2)
System.exit(0); {
} l.setText("Que3: Which package is
directly available to our class without
}
importing it");
void set()
{ jb[0].setText("swing");jb[1].setText("
applet");jb[2].setText("net");jb[3].set
jb[4].setSelected(true);
Text("lang");
if(current==0)
}
{

8
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

if(current==3) {
{ l.setText("Que7: Which one among
these is not a class ");
l.setText("Que4: String class is
defined in which package");
jb[0].setText("Swing");jb[1].setText("
Actionperformed");jb[2].setText("Ac
jb[0].setText("lang");jb[1].setText("S
tionEvent");jb[3].setText("B utton");
wing");jb[2].setText("Applet");jb[3].s
etText("awt"); }
} if(current==7)
if(current==4) {
{ l.setText("Que8: which one among
these is not a function of Object
l.setText("Que5: Which institute is
class");
best for java coaching");
jb[0].setText("Utek");jb[1].setText("A
ptech");jb[2].setText("SSS jb[0].setText("toString");jb[1].setText
IT");jb[3].setText("jtek"); ("finalize");jb[2].setText("equals");jb[
3].setText("getDocumentB ase");
}
}
if(current==5)
if(current==8) { l.setText("Que9:
{ which function is not present in
l.setText("Que6: Which one among Applet class");
these is not a keyword");
jb[0].setText("init");jb[1].setText("ma
jb[0].setText("class");jb[1].setText("i in");jb[2].setText("start");jb[3].setTex
nt");jb[2].setText("get");jb[3].setText t("destroy");
("if"); } }
if(current==6) if(current==9)

9
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

{ if(current==5)
l.setText("Que10: Which one among return(jb[2].isSelected());
these is not a valid component");
if(current==6)

jb[0].setText("JButton");jb[1].setText return(jb[1].isSelected());
("JList");jb[2].setText("JButtonGroup" if(current==7)
);jb[3].setText("JTextArea ");
return(jb[3].isSelected());
}
if(current==8)
l.setBounds(30,40,450,20); for(int
return(jb[1].isSelected());
i=0,j=0;i<=90;i+=30,j++)
if(current==9)
jb[j].setBounds(50,80+i,200,20);
return(jb[2].isSelected());
}
return false;
boolean check()
}
{
public static void main(String s[])
if(current==0)
{
return(jb[1].isSelected());
new OnlineTest("Online Test Of
if(current==1)
Java");
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());

10
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

OUTPUT:

11
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

12
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

13
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

14
INSTITUTE OF TECHNOLOGY, HADAPSAR, PUNE.

Pune District Education Association’s

15

You might also like