Chapter 1GUI Components

Chapter 1GUI Components

University

10 Qs

quiz-placeholder

Similar activities

Quiz-1 tkinter

Quiz-1 tkinter

University - Professional Development

11 Qs

GUI Quiz

GUI Quiz

University

10 Qs

Quiz 2 OOAD

Quiz 2 OOAD

University

10 Qs

Ereditarietà e interfacce

Ereditarietà e interfacce

University

7 Qs

Conhecimentos prévios em Programação Orientada a Objetos

Conhecimentos prévios em Programação Orientada a Objetos

11th Grade - University

10 Qs

S1_Quiz_12.10.2021

S1_Quiz_12.10.2021

University

5 Qs

CS 315 EXAM 1

CS 315 EXAM 1

University

10 Qs

Coding 1 U7

Coding 1 U7

9th Grade - 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?