GUI Programming with AWT in Java

Quiz
•
Computers
•
12th Grade
•
Easy
Zaza Rahman
Used 8+ 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
Similar Resources on Wayground
10 questions
IT Essentials: Motherboard Components

Quiz
•
11th - 12th Grade
15 questions
Using Computer Terminology

Quiz
•
1st Grade - University
15 questions
Mobile App Development Quiz

Quiz
•
12th Grade
10 questions
Day 1&2 revison test

Quiz
•
9th - 12th Grade
10 questions
HTML W3schools deel 1

Quiz
•
8th - 12th Grade
10 questions
Understanding 3ds Max Animation and Materials

Quiz
•
9th Grade - University
10 questions
1 PARCIAL - Mod II

Quiz
•
9th - 12th Grade
12 questions
Microsoft Office Word

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade