
GUI

Quiz
•
Computers
•
University - Professional Development
•
Medium
هلا مم
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
Similar Resources on Wayground
10 questions
tkinter quiz

Quiz
•
University
10 questions
Computer Graphics

Quiz
•
University
10 questions
Protocolos ATM, Frame Relay, HDLC

Quiz
•
University
10 questions
Quiz Arsitektur dan Model Data Mining

Quiz
•
University
14 questions
Data Link Layer Quiz

Quiz
•
University
10 questions
Introduction to Multimedia

Quiz
•
University
9 questions
MOC20745B - Part 2

Quiz
•
University
10 questions
Questions

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
15 questions
Fun Random Trivia

Quiz
•
Professional Development