IT Project File No1
IT Project File No1
SCHOOL
KIS
Gazipur, Delhi-110096
INFORMATION TECHNOLOGY
Project
on
QUIZ APPLICATION
USING
Certificate
$ Acknowledgement
Introduction to java
Abstract
Codings
Introduction to MySQL
Conclusion
Bibliography
KIS
Kala Niketan
international School
St. Sec. Recognised &Affillated to CBSE
CERTIFICATE
This is hereby to certify that original and genuine work has been carried
towork on the matter and the related data collection and investigation
has been completed slowly, sincerely and satisfactorily by Samsulnisha
of class XI|A' of Kala Niketan International School regarding the project
title "Quiz Application".
eachoae|32
's `ignature
ACKNOVWLEDGEMENT
lam also thankful to my parents who provided me such an opportunity, for their inspiring words. Iam also thankful
to allmy colleagues and allthose who helpedme in completing this project.
ABSTRACT
1. Front-End Development
" JavaScript
2. Back-End Development
" Java [JDK 8+]
o JDBC
3. Database
" MySQL
o NetBeans IDE 16
" Java [JDK 8+]
" MySQL
CODING
" SRCCODE FOR LOGIN
package quiz.application;
import javax. swing. *;
import java. awt. *;
import java. awt.event. *;
publiC class Login extends JFrame implements ActionListener{
ImageIcon il = new
ImageIcon (ClassLo ader. getSystemResource ("icons /login.jpeg") ):
JLabel image = new JLabel (il) ;
image. setBounds (0, 0, 600, 500) ;
add (image) ;
package quiz.application;
import javax. swing. *;
import java.awt . *;
import java.awt.event.*;
start (count) ;
setVisible (true);
ans given = 1;
if (groupoptions.getSelection () == null) {
useranswers [count] [0] = "";
} else (
useranswers [count] [0] =
groupoptions . getSelection () . getActionCommand () :
if (count == 8) {
next.setEnabled (false) ;
submit.setEnabled (true) ;
COunt+tt;
start ( count) ;
} else if (ae.get Source () == lifeline)
if (count == 2 || count == 4 | | count == 6 || count
==8 | | count == 9) {
opt2. setEnabled (fal se);
opt3.setEnabled ( false);
} else {
optl.setEnabled (false) ;
opt4.setEnabled (fal se);
)
lifeline. setEnabled (false) ;
} else if (ae.getSource () == submit) {
ans given = 1l;
if (groupoptions . getSelection() == null) {
useranswers [count] [0] = "";
) else {
useranswers [count] [0] =
groupoptions . getSelection () . getActionCommand () ;
setVisible (false) ;
new Score(name, score/
}
timer--; // 14
try {
Thread.sleep (1000) ;
repaint () ;
) catch (Exception e) {
e.printStackTrace () ;
setVisible (false);
new Score (name, score);
) else { / / next button
() == null) {
if (groupoptions . getSelection
= "";
useranswers [count] [0]
} else {
useranswers [ count] [0] =
getActionCommand () ;
groupoptions . getSelection () .
count+t; //0 // 1
start (count) ;
);
opt3.setText (questions [count] [3][count]
opt3.setActionCommand (questions [3]);
;
opt4.setText (questions [ count] [4])[count]
opt4.setActionCommand(questions [4]);
groupoptions.clearSelection () ;
(String [] args) {
public static void ma in
new Quiz ("User") ;
RULES
" SRC CODE FOR
package quiz.application;
import javax.swing. *;
import java.awt. *;
import java.awt.event. *;
ActionListener {
implements
extends JFrame
public class Rules
String name ;
JButton start, back;
add (rules);
back = new JButton ("Back") ;
back.setBounds (250, 500, 100, 30) :
back.setBackground(new Color (30, 144, 254) ):
back.setForeground (Color. WHITE) ;
back.addActionListener (this) ;
add (back) ;
package quiz.application;
import java.awt. *;
import javax. swing. *;
import java.awt. event. *;
setVisible (true) ;
QUIZ
Which of the following option leads to the portability and security of Java? Time left- 4seconds
Bytecode is executed by JVM
oThe applet makes the Java code secure and portable
Use of exception handling
Dynamic binding between objects
Thankyou for playing Simple Minds
Your score is 30
Play Agan
ScORE
Welcome to Sinple Minds
Back Start
Simple Minds
Enter your name
QUIZ
TIME! Rules Back
CONCLUSION
*www.wikepedia.com
www.scribd.com
www.google.com