Chapter 1GUI Components

Chapter 1GUI Components

University

10 Qs

quiz-placeholder

Similar activities

Keyboarding Vocabulary Part 1

Keyboarding Vocabulary Part 1

5th Grade - Professional Development

11 Qs

Topik 2 : Microsoft Word S1

Topik 2 : Microsoft Word S1

University

12 Qs

Network Architecture

Network Architecture

University

14 Qs

TES AWAL MODUL 2

TES AWAL MODUL 2

University

12 Qs

Word Session Quiz

Word Session Quiz

7th Grade - University

13 Qs

MS. Excel

MS. Excel

12th Grade - University

15 Qs

QUIZ MODUL 3: Presentation

QUIZ MODUL 3: Presentation

University

12 Qs

Tuần 20_Chỉnh sửa hình ảnh

Tuần 20_Chỉnh sửa hình ảnh

2nd Grade - 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