GUI

GUI

University - Professional Development

9 Qs

quiz-placeholder

Similar activities

Programming Practice Quiz 4

Programming Practice Quiz 4

University

10 Qs

Adobe Flash

Adobe Flash

University

10 Qs

Diseño Multimedia

Diseño Multimedia

Professional Development

10 Qs

iGCSE ICT: Chapter 1

iGCSE ICT: Chapter 1

KG - University

12 Qs

IT -Cisco IOS pristup

IT -Cisco IOS pristup

12th Grade - University

10 Qs

Interfaces Gráficas

Interfaces Gráficas

University

9 Qs

muhammad aqil ulya

muhammad aqil ulya

University

10 Qs

Fundamental of Python

Fundamental of Python

University

10 Qs

GUI

GUI

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

هلا مم

Used 6+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Usually GUI programs are written by using existing software components provided in a toolkit. The Java toolkit used in this chapter is the:

GUI toolkit

Abstract Windowing Toolkit

Graphics Event Toolkit

Java Enhancement Toolkit

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The three software parts of a GUI program are:

Windows, Buttons, Mice

GUI Components, Graphics, Code

GUI Components, Event Listeners, Application Code

Frames, Code, Events

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the one component that nearly all GUI programs will have?

Frame

Mouse

Monitor

Button

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a container object in GUI programming?

container is another name for an array or vector.

container is any class that is made up of other classes.

container is a primitive variable that contains the actual data.

container is an object like a Frame that has other GUI components placed inside of it.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sets the frame to 300 pixels wide by 200 high?

frm.setSize( 300, 200 );

frm.setSize( 200, 300 );

frm.paint( 300, 200 );

frm.setVisible( 300, 200 );

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is the paint() method of a frame object called?

The user calls it to display the frame.

The main() method calls it once when the program starts.

The Java system calls it every time it decides to display the frame.

The Java system calls it once when the program starts.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Graphics object?

The Graphics object represents the part of the Frame that you can draw on

The Graphics object represents the whole Frame.

The Graphics object represents the entire monitor.

The Graphics object represents the graphics board.

9.

MULTIPLE CHOICE QUESTION

30 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