Exam 12: Event Driven Gui Programming Multithreading and Animation

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

With a single CPU, multiple threads execute simultaneously.

(True/False)
4.9/5
(37)
Match each term with a statement below.
Where a thread is abandoned because other threads occupy all of the computer's resources
deadlock
Where two or more threads wait for each other to execute
thread
An occurrence that generates a message sent to an object
interactivity diagram
Correct Answer:
Verified
Premises:
Responses:
Where a thread is abandoned because other threads occupy all of the computer's resources
deadlock
Where two or more threads wait for each other to execute
thread
An occurrence that generates a message sent to an object
interactivity diagram
Its value increases as you travel from top to bottom
event
A horizontal position
x-axis
A vertical position
y-axis
Shows the relationship between screens in an interactive GUI program
container
A class of objects whose main purpose is to hold other elements
x-coordinate
Its value increases as you travel from left to right across the window
y-coordinate
The flow of execution of one set of program statements
starvation
(Matching)
4.8/5
(42)

The ____ contains methods that allow you to set physical properties such as height and width, as well as methods that allow you to add the appropriate components to a container.

(Multiple Choice)
4.9/5
(37)

List the two types of statements that you must write when an object should listen for events.

(Essay)
4.8/5
(41)

An important advantage of using GUI data-entry objects is that you often can control what users enter by limiting their options.

(True/False)
4.9/5
(39)

People who use the Disk Operating System (DOS) also call the command line the ____________________.

(Short Answer)
4.9/5
(36)

GUI components are excellent examples of the best principles of object-oriented programming; they represent objects with attributes and methods that operate like ____.

(Multiple Choice)
4.7/5
(42)

Within an event-driven program, a component from which an event is generated is the ____.

(Multiple Choice)
4.8/5
(42)

With most OOP languages, you must ____ components, or sign them up so that they can react to events initiated by other components.

(Multiple Choice)
4.8/5
(47)

You should make sure that unavailable screen options are either dimmed (also called ____) or removed.

(Multiple Choice)
4.9/5
(36)

Multithreaded programs often run faster and they are more user-friendly.

(True/False)
4.9/5
(37)
Showing 41 - 51 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)