POST QUIZ JAVA
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Idalaila Aziz
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Identify the abbreviation of AWT.
Applet Windowing Toolkit
Abstract Windowing Toolkit
Absolute Windowing Toolkit
None of the above
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Identify a method that can set or change the text in a Label.
setText();
getText();
getEditableText();
setSelectedText();
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Choose a CORRECT component in AWT that can refer to Figure 1.
Label
Frame
TextField
TextArea
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The following is NOT a valid button declaration
JButton b = new JButton( );
JButton b[ ] = new Jbutton[ ];
ButtonTest application = new ButtonTest();
Private JButton btnclose = new JButton(“Close”);
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Choose the TRUE statement to create CheckBox component by referring to Figure 2.
Checkbox checkbox1 = new Checkbox(“Nasi Goreng”);
Checkbox checkbox2 = new Checkbox(“Roti Bakar”, true);
Checkbox checkbox1 = new Checkbox(‘Nasi Goreng’);
Checkbox checkbox2 = new Checkbox(‘Roti Bakar’, true);
Checkbox checkbox1 = new Checkbox[“Nasi Goreng”];
Checkbox checkbox2 = new Checkbox[“Roti Bakar”, true];
Checkbox checkbox1 = new Checkbox[‘Nasi Goreng’];
Checkbox checkbox2 = new Checkbox[‘Roti Bakar’, true];
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Choose which of the following code snippets correctly changes the background color of a JFrame to blue?
getContentPane().setColor(Color.BLUE);
getContentPane().setBackground(Color.BLUE);
setBackColor(Color.BLUE);
setBackground(Color.BLUE);
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The name of the Swing class that is used for frames is called
Frame
JFrame
Window
SwingFrame
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
If-Statements
Quiz
•
9th - 12th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
14 questions
Premiere Pro Panels
Quiz
•
9th - 12th Grade
15 questions
Computer architecture: Von Neumann architecture
Quiz
•
10th - 12th Grade
11 questions
Google Collaboration
Quiz
•
9th - 12th Grade
10 questions
Using Sprite Lab in code.org (Homework 1)
Quiz
•
9th - 12th Grade
12 questions
4.9 Word Quizizz
Quiz
•
8th - 12th Grade
10 questions
Algorithm
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
