POST QUIZ JAVA
Quiz
•
Computers
•
12th Grade
•
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Premiere Pro Buttons
Quiz
•
9th - 12th Grade
10 questions
PLTW CSE L1 Vocab P1/2
Quiz
•
9th - 12th Grade
15 questions
SQL
Quiz
•
11th - 12th Grade
15 questions
CP M4 Repetition & Loops
Quiz
•
9th - 12th Grade
10 questions
Mass Storage Technologies Application
Quiz
•
10th Grade - University
15 questions
Ulangan Harian 2 Informatika X
Quiz
•
12th Grade
10 questions
Technology, IT and ICT
Quiz
•
5th Grade - University
10 questions
Intro to Comp Sci U1: L 1
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
