POST QUIZ JAVA

POST QUIZ JAVA

12th Grade

10 Qs

quiz-placeholder

Similar activities

ASAS SAINS KOMPUTER - Pemikiran Komputasional

ASAS SAINS KOMPUTER - Pemikiran Komputasional

12th Grade

15 Qs

Iterative Development Process

Iterative Development Process

9th - 12th Grade

10 Qs

LA7.C7: Turtle Graphics

LA7.C7: Turtle Graphics

9th Grade - University

14 Qs

Innovative or Not

Innovative or Not

KG - University

12 Qs

Thukable SC Assessment 2

Thukable SC Assessment 2

7th - 12th Grade

15 Qs

AP CSP BI 4

AP CSP BI 4

9th - 12th Grade

12 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

LA6.C6: Graphics Window

LA6.C6: Graphics Window

9th Grade - University

14 Qs

POST QUIZ JAVA

POST QUIZ JAVA

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Idalaila Aziz

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

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

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?