GUI Programming with AWT in Java

GUI Programming with AWT in Java

12th Grade

10 Qs

quiz-placeholder

Similar activities

Identifying and Understanding the Microsoft Word Interface

Identifying and Understanding the Microsoft Word Interface

8th - 12th Grade

14 Qs

Thunkable_2

Thunkable_2

6th - 12th Grade

7 Qs

PBO2

PBO2

12th Grade

15 Qs

MIT app inventor

MIT app inventor

12th Grade

12 Qs

HTML forms

HTML forms

11th Grade - University

10 Qs

UIUX Chap 3

UIUX Chap 3

9th - 12th Grade

15 Qs

Tkinter

Tkinter

9th - 12th Grade

10 Qs

VB Quiz

VB Quiz

5th Grade - University

10 Qs

GUI Programming with AWT in Java

GUI Programming with AWT in Java

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Zaza Rahman

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the full form of AWT in Java programming?

Abstract Widget Toolkit

Advanced Window Technology

Application Window Toolkit

Abstract Window Toolkit

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name any five AWT components used in Java programming.

Panel,Frame,JLabel,JCheckBox,JTextfield

Button, Label, TextField, Checkbox, Choice

JRadioButton,JLabel,JCheckBox,JTextfield,JFrame

Frame,gui,awt,net,sql

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between AWT components and containers.

AWT components and containers are the same thing and can be used interchangeably.

AWT components are the user interface elements, while containers are the components that can hold other components.

AWT components are used for data storage, while containers are used for data display.

AWT components are only used for text input, while containers are used for graphics.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a button in AWT?

Button button = addNewButton('Click me');

Button button = new Button("Click me");

Button button = createButton('Click me');

Button button = new Button();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of Layout Managers in AWT?

To create animations

To change the font color

To play music

To arrange the components within a container in a specific manner.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of Frame class in AWT?

It is used to handle user input in AWT

It is used to define variables in AWT

It is used to create a top-level window with a title and border.

It is used to perform mathematical calculations in AWT

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the different types of containers in AWT?

List, Scrollbar, Menu, MenuItem

Frame, Window, Dialog, Panel, Applet, and Canvas

Button, Checkbox, TextField, RadioButton

Label, TextArea, Choice, ScrollPane

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?