Chapter 1GUI Components

Chapter 1GUI Components

University

10 Qs

quiz-placeholder

Similar activities

Объектно-событийная модель работы программы

Объектно-событийная модель работы программы

University

15 Qs

GUI + java

GUI + java

University

9 Qs

Compose Camp - Session 1 Quiz

Compose Camp - Session 1 Quiz

University

10 Qs

Swing

Swing

University

15 Qs

Tkinter

Tkinter

University

10 Qs

CS 315 EXAM 1

CS 315 EXAM 1

University

10 Qs

CSC 200 L7 Assessment

CSC 200 L7 Assessment

University

10 Qs

Java GUI

Java GUI

University

15 Qs

Chapter 1GUI Components

Chapter 1GUI Components

Assessment

Quiz

Computers

University

Easy

Created by

ASHVINI KRISHNAN

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?