Java GUI Basics

Java GUI Basics

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Chapter 8 Section 1

Chapter 8 Section 1

7th - 12th Grade

10 Qs

Los mandatos formales e informales

Los mandatos formales e informales

9th - 12th Grade

20 Qs

DOL Quiz #5

DOL Quiz #5

9th - 12th Grade

10 Qs

Royale high quiz 2021

Royale high quiz 2021

1st - 12th Grade

18 Qs

ULANGAN HARIAN 1 KAS KECIL

ULANGAN HARIAN 1 KAS KECIL

12th Grade

20 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Academic vocabs

Academic vocabs

10th Grade - Professional Development

15 Qs

GEOLOGIC PROCESS THAT SHAPES THE EARTH

GEOLOGIC PROCESS THAT SHAPES THE EARTH

11th Grade

20 Qs

Java GUI Basics

Java GUI Basics

Assessment

Quiz

11th - 12th Grade

Practice Problem

Medium

Created by

joan pet

Used 137+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when a program is written to respond to the button clicks, menu selections, and other actions of the user in whatever order the user does them?

Action-driven programminAg

Event-driven programming.

User-driven programming

Mouse-driven programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The three main parts of a GUI program are:

Windows, Buttons, Mice

GUI Components, Graphics, Code

GUI Components, Event Listeners, Application Code

Frames, Code, Events

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name for a method that responds to events?

A container method.

A snoop method.

A listener method.

An application method.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the base class of nearly all Swing classes?

Object

Component

Swing

JComponent

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, what do you call an area on the screen that has nice borders and various buttons along the top border?

A window

A screen

A box

A frame.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method sets the size of the displayed JFrame?

setSize( int width, int height)

setSize( int height, int width)

setVisible( int width, int height)

setVisible( int height, int width)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sets the frame to 300 pixels wide by 200 high?

frm.setSize( 300, 200 );

frm.setSize( 200, 300 );

frm.paint( 300, 200 );

frm.setVisible( 300, 200 );

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?