INTRODUCTION

INTRODUCTION

1st Grade

10 Qs

quiz-placeholder

Similar activities

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

School Rules

School Rules

1st - 5th Grade

12 Qs

My Haunted House

My Haunted House

1st Grade

8 Qs

minecraft es un pro xd

minecraft es un pro xd

1st Grade

9 Qs

Informatics test part 1

Informatics test part 1

1st - 10th Grade

10 Qs

Los felinos

Los felinos

1st - 3rd Grade

11 Qs

School things

School things

1st - 3rd Grade

12 Qs

Program Oktober Medan dan Deliserdang

Program Oktober Medan dan Deliserdang

1st - 5th Grade

10 Qs

INTRODUCTION

INTRODUCTION

Assessment

Quiz

Education

1st Grade

Easy

Created by

Ahmad Syahmi

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements best describes the Abstract Window Toolkit (AWT)?

AWT is a programming language used for building graphical user interfaces.

AWT is a set of tools and libraries provided by Java for creating platform-independent graphical user interfaces.

AWT is a data transfer protocol used for communication between different programming languages.

AWT is a database management system used for storing and retrieving information.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To build a frame window in a Java program using AWT, which class should you extend?

JFrame

FrameWindow

AWTFrame

WindowBuilder

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class should you use to create a menu bar in a Java program using AWT?

MenuBar

JMenuBar

AWTMenuBar

MenuBuilder

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which layout manager is commonly used in Java AWT for arranging components in a container with a grid-like structure?

BorderLayout

GridLayout

FlowLayout

CardLayout

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To handle events in Java AWT, which interface should your class implement?

ActionListener

EventListener

EventHandler

EventProcessor

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which AWT class represents this component?

Checkbox

Button

Combo box

Radio Button

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following statements is true about the given code?

The code creates a frame window with the title "My Window" and a menu bar.

The code creates a frame window with the title "My Window" but does not include a menu bar.

The code creates a frame window with no title and a menu bar.

The code creates a frame window with no title and does not include a menu bar.

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?