
Applets
Authored by Mrs.C. Rathika
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The function used to display the output of an applet
Display()
paint()
run()
print()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The method used to output a string in an applet
Display()
print()
drawstring()
paint()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods is a part of Abstract Window Toolkit (AWT)
display()
paint()
drawstring()
print()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
import java.awt.*;
import java.applet.*;
Public class myapplet extends Applet {
public void paint(Graphics g)
{
g.drawString("A Simple Applet", 20, 20);
}
}
What will be the output?
A Simple Applet
A Simple Applet,20,20
20,20
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To run a Applet program, java is installed properly and also needs the java …………….. or a java-enabled browser is available.
appletviewer()
viewer()
appletrunner()
runner()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Arrange the steps involved in developing and testing the applet in correct order.
i) creating an executable applet (.classfile)
ii) preparing <APPLET> tag
iii) creating HTML file
iv) building an applet code (.java file)
v) testing the applet code
i, ii, iii, iv, v
ii, iii, iv, v, i
iv, i, ii, iii, v
iii, iv, v, i, ii
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The …………………. class is an abstract class that represents the display area of the applet
display
graphics
text
ovel
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
OOPJ #1
Quiz
•
University
15 questions
Mikropemproses dan Mikropengawal
Quiz
•
12th Grade - University
10 questions
Java Control Flow statements
Quiz
•
University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade