Chapter 1GUI Components

Chapter 1GUI Components

University

10 Qs

quiz-placeholder

Similar activities

Java MVC Framework Quiz

Java MVC Framework Quiz

University

10 Qs

Indesign

Indesign

University

12 Qs

Lecture 09

Lecture 09

University

10 Qs

Mobile Application Development Quiz1

Mobile Application Development Quiz1

University

15 Qs

Microsoft Windows

Microsoft Windows

4th Grade - University

10 Qs

Vistacreate

Vistacreate

University

15 Qs

Microsoft Word Quiz 2

Microsoft Word Quiz 2

University

10 Qs

Review Jaringan Komputer Dasar Chapter 1-3

Review Jaringan Komputer Dasar Chapter 1-3

University

10 Qs

Chapter 1GUI Components

Chapter 1GUI Components

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

ASHVINI KRISHNAN

Used 2+ 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.

FILL IN THE BLANK QUESTION

10 sec • 1 pt

Which layout arranges components in rows?

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not one of the BorderLayout index?

BorderLayout.EAST

BorderLayout.SOUTHEAST

BorderLayout.NORTH

3.

MULTIPLE CHOICE QUESTION

10 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?

Event-driven programming.

Action-driven programming.

User-driven programming.

Mouse-driven programming

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

10. Find when the user clicks a button, _________ is triggered.

A. an event

B. a method

C. a setting

D. a property

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A JFrame is a descendant of each of the following classes except the ________class.

Component

Jar

Container

Window

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Fill in the blanks so that this program displays a Frame:

import java.awt.*;


public class microGUI

{

public static void main ( String[] args )

{

Frame frm = new ___________();

frm.___________( 150, 100 );

frm.___________( true );

}

}

Form, setVisible, setOn

Frame, setSize, setVisible

Frame, setVisible, setSize

Window, setSize, paint

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The statement JFrame myFrame = new JFrame(); creates a JFrame that is _______.

invisible and has no title

invisible and has a title

visible and has no title

visible and has a title

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?

Discover more resources for Computers