Applets

Applets

University

10 Qs

quiz-placeholder

Similar activities

Computer Quiz

Computer Quiz

7th Grade - University

15 Qs

CSNP-04103 Chapter 2 - Components & Data Types

CSNP-04103 Chapter 2 - Components & Data Types

University

10 Qs

Parcial Interfaces I

Parcial Interfaces I

University

10 Qs

HTML - CSS

HTML - CSS

University

10 Qs

Advanced Java Lab_4CSN

Advanced Java Lab_4CSN

University

10 Qs

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX

University

14 Qs

Code.org Unit 5 Data

Code.org Unit 5 Data

9th Grade - University

11 Qs

Chapter 24 - Portable Computing (901-902)

Chapter 24 - Portable Computing (901-902)

11th Grade - University

12 Qs

Applets

Applets

Assessment

Quiz

Computers

University

Hard

Created by

Mrs.C. Rathika

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?