Chapter 1GUI Components

Chapter 1GUI Components

University

10 Qs

quiz-placeholder

Similar activities

Introduction to System Analysis and Design

Introduction to System Analysis and Design

University

12 Qs

Microsoft Word 2

Microsoft Word 2

University

10 Qs

Latihan Materi Word

Latihan Materi Word

University

15 Qs

Sistem  Komputer

Sistem Komputer

University

12 Qs

jQuery and MORE!

jQuery and MORE!

University

14 Qs

Java GUI

Java GUI

University

15 Qs

Tin học cơ sở

Tin học cơ sở

1st Grade - University

10 Qs

Microsoft Excel Quiz

Microsoft Excel Quiz

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