Search Header Logo

GUI Programming with AWT in Java

Authored by Zaza Rahman

Computers

12th Grade

Used 8+ times

GUI Programming with AWT in Java
AI

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

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?