SlideShare a Scribd company logo
1 of 19
A
REPORT
on
ONLINE TEST APPLICATION
Submitted by
Umang Talpara
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE & ENGINEERING
:::ABSTRACT:::
This projectis based on the online test examination model,
such as RTO exam,Quize, Entrance Exam.In this there is an
series of question thatyou have to answer,on clicking the next
button will take you to the nextquestion.At last the resultwill be
displayedby clicking on the resultbutton, and the resultwill be
displayedby the message box.
:::CODE:::
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;
import javax.swing.*;
class OnlineTestextends JFrame implements ActionListener{
JLabellabel;
JRadioButtonradioButton[] = new JRadioButton[5];
JButton btnNext, btnBookmark,extra,bk[] = new JButton[9];
ButtonGroup bg;
int count = 0, current = 0, x = 1, y = 1, now =
0,z=0; int m[] = new int[10];
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]);
bg.add(radioButton[i]);
}
btnNext = new JButton("Next");
btnBookmark = new
JButton("Bookmark");extra =new
JButton();
extra.setBounds(500,40,100,20);
extra.setVisible(false);
add(extra);
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[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(1000,1000);
}
public void actionPerformed(ActionEvent
e) { if (e.getSource()== btnNext) {
if (check())
count = count +
1;current++;
set();
if (current == 9) {
btnNext.setEnabled(false);
btnBookmark.setText("Result");
}
}
if (e.getActionCommand().equals("Bookmark")){
bk[z] = new JButton("Bookmark" + x);
bk[z].setBounds(500,20 + 40 * x, 100,30);
extra.setText("jay");
//extra.setVisible(true);
//getContentPane().add(bk);
bk[z].addActionListener(this);
getContentPane().add(bk[z]);
z++;
m[x] =
current; x++;
current++;
set();
if (current == 9)
btnBookmark.setText("Result")
; repaint();
}
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("R
esult")){ if (check())
count = count +
1;current++;
JOptionPane.showMessageDialog(this, "correct
answers= " + count);
System.exit(0);
}
}
void set() {
radioButton[4].setSelected(true)
; if (current == 0) {
label.setText("Que1:Where is Bose Institute ?");
radioButton[0].setText("gujrat");
radioButton[1].setText("Kolkata");
radioButton[2].setText("NewDelhi");
radioButton[3].setText("Dispur");
}
if (current == 1) {
label.setText("Que2:World Tourism Day is
celebrated
on-");
radioButton[0].setText(" September 27");
radioButton[1].setText("September 12");
radioButton[2].setText("September
25");
radioButton[3].setText("September
29t");
}
if (current == 2) {
label.setText("Que3:When is the International Yoga
Day
celebrated ?");
radioButton[0].setText("June 20");
radioButton[1].setText("June 21");
radioButton[2].setText(" April 22");
radioButton[3].setText("May 31");
}
if (current == 3) {
label.setText("Que4:'Line of Blood' is a book written
by
whom?");
radioButton[1].setText("BairajKhanna");
radioButton[0].setText("Ursula Vernon");
radioButton[2].setText("AmalEI-Mohtar");
radioButton[3].setText("DikshaBasu");
}
if (current == 4) {
label.setText("Que5: .........is the first woman to head
a
public sectorbank?");
radioButton[0].setText(" Usha
Ananthasubramanyan");
radioButton[1].setText("BairajKhanna");
radioButton[2].setText("Shikha Sharma");
radioButton[3].setText("Arundhati Bhattacharya");
}
if (current == 5) {
label.setText("Que6:Indian Army celebrated the
Poonch Link-up Day on which date?");
radioButton[0].setText("November21");
radioButton[1].setText("November25");
radioButton[2].setText("November24");
radioButton[3].setText("November 23");
}
if (current == 6) {
label.setText("Que7:The first Indian State to go
wholley
organic is -?");
radioButton[0].setText(" Sikkim");
radioButton[1].setText("Meghalaya");
radioButton[2].setText("Manipur");
radioButton[3].setText("Kerala");
}
if (current == 7) {
label.setText("Que8:What is the name of Indira
Gandhi's Samadhi?");
radioButton[0].setText("Shakti Sthal");
radioButton[1].setText(" Shanti Van");
radioButton[2].setText(" Shanti Sthal");
radioButton[3].setText(" Shanti Sthal");
}
if (current == 8) {
label.setText("Que9:Dallol GeothermalField belongs
to
which country?");
radioButton[0].setText("Ethiopia");
radioButton[1].setText(" Sudan");
radioButton[2].setText("Norway");
radioButton[3].setText("Russia");
}
if (current == 9) {
label.setText("Que10:In which state living root
bridges
are found?");
radioButton[0].setText("Meghalaya");
radioButton[1].setText("Assam");
radioButton[2].setText("Manipur");
radioButton[3].setText(" Odisha");
}
}
boolean check() {
if (current == 0)
return
(radioButton[1].isSelected());if (current
== 1)
return
(radioButton[0].isSelected());if (current
== 2)
return
(radioButton[1].isSelected());if (current
== 3)
return
(radioButton[1].isSelected());if (current
== 4)
return
(radioButton[3].isSelected());if (current
== 5)
return
(radioButton[0].isSelected());if (current
== 6)
return (radioButton[1].isSelected());
if (current == 7)
return
(radioButton[2].isSelected());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 TestApp");
}
}
:::OUTPUT:::
Online Test App
Oue3: When is the International Yoga Day celebrated ?
June 20
June 21
’•’ Apnl22
May 31
Next BooKnJark
— O X
Online test App
Oue4: 'Line of Blood' is a book written by whom?
Ursula Vernon
. Bairaj Khanna
Annal E I-Mohtar
9 Diksha Bas u
Next Bookmark
— O X
Online Test App
Oue5: .........is thefirst wom antohead a public sector bank?
'4? U sha A nanthasu bra manyan
f /J Bairaj K hanna
fiJ Shikha Sharma
f”?• Amndhati Bhattachary a
Next Bookmark
— O X
Online Test App
Que6: Indian Army celebrated the Poonch Link-up Day on which date?
”! November 21
'! November 25
November 24
NovemDera3
Ne*+ Bookmark
— O X
: Online Test App
Oue8: Mat is thename ofIndira Gandhi's Samadhi?
q Shanti Sthal
Next Bookmark
Bookmark
Manipur
Oue7: The first Indian Statetogowholley organieis -?
OnlineTestApp
Result
Oue10: Inwhich statelivingroot bridges arefound?
Meghalay a
'•” Assam
Manipur
Ddisha
BookmarkNect
Oue9: Dallol Geothermal Fieldbelongstowhichcountry?
Ethiopia
•. Sudan
Russia
Oue10: In which state living root bridges are found?
Me ghalay d
Manipur
Odisha
Result
@UMANG TALPARA (BE/BTECH)
Mesh age
".. I .." correci answers - 2
OF

More Related Content

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Recently uploaded (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Online test (java)

  • 1. A REPORT on ONLINE TEST APPLICATION Submitted by Umang Talpara BACHELOR OF ENGINEERING IN COMPUTER SCIENCE & ENGINEERING
  • 2. :::ABSTRACT::: This projectis based on the online test examination model, such as RTO exam,Quize, Entrance Exam.In this there is an series of question thatyou have to answer,on clicking the next button will take you to the nextquestion.At last the resultwill be displayedby clicking on the resultbutton, and the resultwill be displayedby the message box.
  • 3. :::CODE::: 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; import javax.swing.*; class OnlineTestextends JFrame implements ActionListener{ JLabellabel; JRadioButtonradioButton[] = new JRadioButton[5]; JButton btnNext, btnBookmark,extra,bk[] = new JButton[9]; ButtonGroup bg; int count = 0, current = 0, x = 1, y = 1, now = 0,z=0; int m[] = new int[10];
  • 4. 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]); bg.add(radioButton[i]); } btnNext = new JButton("Next"); btnBookmark = new JButton("Bookmark");extra =new JButton(); extra.setBounds(500,40,100,20); extra.setVisible(false); add(extra); btnNext.addActionListener(this); btnBookmark.addActionListener(this); add(btnNext); add(btnBookmark); set(); label.setBounds(30,40,450, 20);
  • 5. radioButton[0].setBounds(50,80,200, 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(1000,1000); } public void actionPerformed(ActionEvent e) { if (e.getSource()== btnNext) { if (check()) count = count + 1;current++; set(); if (current == 9) { btnNext.setEnabled(false); btnBookmark.setText("Result"); }
  • 6. } if (e.getActionCommand().equals("Bookmark")){ bk[z] = new JButton("Bookmark" + x); bk[z].setBounds(500,20 + 40 * x, 100,30); extra.setText("jay"); //extra.setVisible(true); //getContentPane().add(bk); bk[z].addActionListener(this); getContentPane().add(bk[z]); z++; m[x] = current; x++; current++; set(); if (current == 9) btnBookmark.setText("Result") ; repaint(); } for (int i = 0, y = 1; i < x; i++, y++) { if (e.getActionCommand().equals("Bookmark" + y)) { if (check()) count = count + 1;
  • 7. now = current; current = m[y]; set(); ((JButton) e.getSource()).setEnabled(false); current = now; } } if (e.getActionCommand().equals("R esult")){ if (check()) count = count + 1;current++; JOptionPane.showMessageDialog(this, "correct answers= " + count); System.exit(0); } } void set() { radioButton[4].setSelected(true) ; if (current == 0) { label.setText("Que1:Where is Bose Institute ?"); radioButton[0].setText("gujrat"); radioButton[1].setText("Kolkata");
  • 8. radioButton[2].setText("NewDelhi"); radioButton[3].setText("Dispur"); } if (current == 1) { label.setText("Que2:World Tourism Day is celebrated on-"); radioButton[0].setText(" September 27"); radioButton[1].setText("September 12"); radioButton[2].setText("September 25"); radioButton[3].setText("September 29t"); } if (current == 2) { label.setText("Que3:When is the International Yoga Day celebrated ?"); radioButton[0].setText("June 20"); radioButton[1].setText("June 21"); radioButton[2].setText(" April 22"); radioButton[3].setText("May 31"); } if (current == 3) { label.setText("Que4:'Line of Blood' is a book written by whom?"); radioButton[1].setText("BairajKhanna"); radioButton[0].setText("Ursula Vernon");
  • 9. radioButton[2].setText("AmalEI-Mohtar"); radioButton[3].setText("DikshaBasu"); } if (current == 4) { label.setText("Que5: .........is the first woman to head a public sectorbank?"); radioButton[0].setText(" Usha Ananthasubramanyan"); radioButton[1].setText("BairajKhanna"); radioButton[2].setText("Shikha Sharma"); radioButton[3].setText("Arundhati Bhattacharya"); } if (current == 5) { label.setText("Que6:Indian Army celebrated the Poonch Link-up Day on which date?"); radioButton[0].setText("November21"); radioButton[1].setText("November25"); radioButton[2].setText("November24"); radioButton[3].setText("November 23"); } if (current == 6) { label.setText("Que7:The first Indian State to go wholley organic is -?"); radioButton[0].setText(" Sikkim"); radioButton[1].setText("Meghalaya");
  • 10. radioButton[2].setText("Manipur"); radioButton[3].setText("Kerala"); } if (current == 7) { label.setText("Que8:What is the name of Indira Gandhi's Samadhi?"); radioButton[0].setText("Shakti Sthal"); radioButton[1].setText(" Shanti Van"); radioButton[2].setText(" Shanti Sthal"); radioButton[3].setText(" Shanti Sthal"); } if (current == 8) { label.setText("Que9:Dallol GeothermalField belongs to which country?"); radioButton[0].setText("Ethiopia"); radioButton[1].setText(" Sudan"); radioButton[2].setText("Norway"); radioButton[3].setText("Russia"); } if (current == 9) { label.setText("Que10:In which state living root bridges are found?"); radioButton[0].setText("Meghalaya"); radioButton[1].setText("Assam");
  • 11. radioButton[2].setText("Manipur"); radioButton[3].setText(" Odisha"); } } boolean check() { if (current == 0) return (radioButton[1].isSelected());if (current == 1) return (radioButton[0].isSelected());if (current == 2) return (radioButton[1].isSelected());if (current == 3) return (radioButton[1].isSelected());if (current == 4) return (radioButton[3].isSelected());if (current == 5) return (radioButton[0].isSelected());if (current
  • 13. if (current == 7) return (radioButton[2].isSelected());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 TestApp"); } }
  • 15. Online Test App Oue3: When is the International Yoga Day celebrated ? June 20 June 21 ’•’ Apnl22 May 31 Next BooKnJark — O X Online test App Oue4: 'Line of Blood' is a book written by whom? Ursula Vernon . Bairaj Khanna Annal E I-Mohtar 9 Diksha Bas u Next Bookmark — O X
  • 16. Online Test App Oue5: .........is thefirst wom antohead a public sector bank? '4? U sha A nanthasu bra manyan f /J Bairaj K hanna fiJ Shikha Sharma f”?• Amndhati Bhattachary a Next Bookmark — O X Online Test App Que6: Indian Army celebrated the Poonch Link-up Day on which date? ”! November 21 '! November 25 November 24 NovemDera3 Ne*+ Bookmark — O X
  • 17. : Online Test App Oue8: Mat is thename ofIndira Gandhi's Samadhi? q Shanti Sthal Next Bookmark Bookmark Manipur Oue7: The first Indian Statetogowholley organieis -? OnlineTestApp
  • 18. Result Oue10: Inwhich statelivingroot bridges arefound? Meghalay a '•” Assam Manipur Ddisha BookmarkNect Oue9: Dallol Geothermal Fieldbelongstowhichcountry? Ethiopia •. Sudan Russia
  • 19. Oue10: In which state living root bridges are found? Me ghalay d Manipur Odisha Result @UMANG TALPARA (BE/BTECH) Mesh age ".. I .." correci answers - 2 OF