Deck 12: Event-Driven Gui Programming, Multithreading, and Animation

Full screen (f)
exit full mode
Question
Performing an operation on an icon causes a(n)____.

A) instance
B) message
C) event
D) interface
Use Space or
up arrow
down arrow
to flip the card.
Question
With a single CPU,multiple threads execute simultaneously.
Question
Multithreaded programs often run faster and they are more user-friendly.
Question
A GUI picture album has a picture or sketch of a screen the user will see when running a program.
Question
A ____ is a rectangular area into which the user can type text.

A) label
B) button
C) check box
D) text box
Question
In object-oriented languages,the procedural modules that depend on user-initiated events are often called applets.
Question
The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system.

A) GUI
B) IDE
C) system terminal
D) command line
Question
Computer users can expect to see a standard interface in the GUI programs they use.
Question
From the 1950s,when businesses began to use computers to help them perform many jobs,through the 1980s,almost all interactive dialogues between people and computers took place at the ____.

A) command prompt
B) graphical window
C) menu
D) system interface
Question
A(n)____ consists of a label placed beside a small square.

A) option button
B) button
C) check box
D) text box
Question
GUI programs are frequently called action-controlled because actions occur in response to user-initiated events such as clicking a mouse button.
Question
An important advantage of using GUI data-entry objects is that you often can control what users enter by limiting their options.
Question
Operating system software allows you to use your fingers,a mouse or other pointing device to select screen controls,such as buttons and scroll bars or pictures,also called ____.

A) targets
B) icons
C) windows
D) menus
Question
Many object-oriented languages offer built-in classes that contain methods you can use to draw geometric figures.
Question
In object-oriented languages,the procedural modules that depend on user-initiated events are often called ____.

A) scripts
B) blocks
C) handlers
D) windows
Question
GUI components are excellent examples of the best principles of object-oriented programming;they represent objects with attributes and methods that operate like ____.

A) trap doors
B) black boxes
C) a procedural function
D) a while loop
Question
When you program in a language that uses GUI components,you need to create them from scratch.
Question
Within an event-driven program,a component from which an event is generated is the ____.

A) target of the event
B) source of the event
C) interface of the event
D) message handler
Question
In an event-driven program,you design the screens,define the objects,and define how the screens will connect.
Question
A ____ is a rectangular object you can click;when you do,its appearance usually changes to look pressed.

A) label
B) button
C) check box
D) text box
Question
Using multiple threads of execution is known as ____.

A) binding
B) racing
C) multithreading
D) multipathing
Question
A(n)____ shows the relationship between screens in an interactive GUI program.

A) entity diagram
B) data flow diagram
C) use case diagram
D) interactivity diagram
Question
A ____ represents a picture or sketch of a screen the user will see when running a program.

A) framework
B) page frame
C) wireframe
D) sketch-up
Question
A ____ is one of the tiny dots of light that form a grid on your screen.

A) point
B) texel
C) textile
D) pixel
Question
When you use a menu bar,it is at the top of the screen in most GUI programs,and the first menu item is almost always ____.

A) Edit
B) File
C) Home
D) Help
Question
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.

A) attributes class
B) container dictionary
C) containment class
D) container class
Question
GUI programmers sometimes refer to screen space as ____.

A) canvas
B) interface
C) real estate
D) territory
Question
Making programs easier to use for people with physical limitations is known as enhancing ____.

A) usability
B) accessibility
C) interface
D) compliance
Question
People who use the Disk Operating System (DOS)often call the command line the ____________________.
Question
You should make sure that unavailable screen options are either dimmed (also called ____)or removed.

A) grayed
B) hidden
C) suppressed
D) blanked
Question
In most object-oriented languages,a method named ____________________ executes automatically when a class object is created.
Question
An object that is "interested in" an event to which you want it to respond is a(n)____________________.
Question
A ____________________ contains a series of wireframes that represent a user's experience with proposed software.
Question
Cartoonists create animated films by drawing a sequence of ____ or cells.

A) frames
B) blocks
C) pictures
D) targets
Question
A(n)____ is a list of the objects used in a program,including which screens they are used on and whether any code is associated with them.

A) object dictionary
B) object index
C) GUI dictionary
D) interface dictionary
Question
When you develop an event-driven application,you need to expand on the ____ step in the program development cycle.

A) understanding the problem
B) planning the logic
C) coding the program
D) testing the program
Question
A(n)____________________ is a list of the objects used in a program,including which screens they are used on and whether any code,or script,is associated with them.
Question
With most OOP languages,you must ____ components,or sign them up so that they can react to events initiated by other components.

A) register
B) activate
C) instantiate
D) create
Question
____ is the rapid sequence of still images,each slightly different from the previous one,that produces the illusion of movement.

A) Screening
B) Animation
C) Filmation
D) Stop motion
Question
With a(n)____ program,a user can continue to click buttons while your program is reading a data file.

A) single threaded
B) parallel threaded
C) independently threaded
D) multithreaded
Question
Match each term with a statement below.


-Where two or more threads wait for each other to execute

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Match each term with a statement below.


-A class of objects whose main purpose is to hold other elements

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Match each term with a statement below.


-Its value increases as you travel from left to right across the window

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Discuss the purpose of a storyboard.
Question
Match each term with a statement below.


-Where a thread is abandoned because other threads occupy all of the computer's resources

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Match each term with a statement below.


-The flow of execution of one set of program statements

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
List the two types of statements that you must write when an object should listen for events.
Question
Discuss the purpose of a wireframe.
Question
Match each term with a statement below.


-A horizontal position

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Discuss multithreading.
Question
Explain why your program should be forgiving.
Question
Match each term with a statement below.


-Its value increases as you travel from top to bottom

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Match each term with a statement below.


-A vertical position

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Describe a thread.
Question
List the events in developing an event-driven program.
Question
Match each term with a statement below.


-An occurrence that generates a message sent to an object

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Question
Discuss using the integrated development environment to create applications.
Question
Describe the container class.
Question
List the general design principles used when creating a program that will use a GUI.
Question
Match each term with a statement below.


-Shows the relationship between screens in an interactive GUI program

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/60
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 12: Event-Driven Gui Programming, Multithreading, and Animation
1
Performing an operation on an icon causes a(n)____.

A) instance
B) message
C) event
D) interface
C
2
With a single CPU,multiple threads execute simultaneously.
False
3
Multithreaded programs often run faster and they are more user-friendly.
True
4
A GUI picture album has a picture or sketch of a screen the user will see when running a program.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
5
A ____ is a rectangular area into which the user can type text.

A) label
B) button
C) check box
D) text box
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
6
In object-oriented languages,the procedural modules that depend on user-initiated events are often called applets.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system.

A) GUI
B) IDE
C) system terminal
D) command line
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
8
Computer users can expect to see a standard interface in the GUI programs they use.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
9
From the 1950s,when businesses began to use computers to help them perform many jobs,through the 1980s,almost all interactive dialogues between people and computers took place at the ____.

A) command prompt
B) graphical window
C) menu
D) system interface
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
10
A(n)____ consists of a label placed beside a small square.

A) option button
B) button
C) check box
D) text box
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
11
GUI programs are frequently called action-controlled because actions occur in response to user-initiated events such as clicking a mouse button.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
12
An important advantage of using GUI data-entry objects is that you often can control what users enter by limiting their options.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
13
Operating system software allows you to use your fingers,a mouse or other pointing device to select screen controls,such as buttons and scroll bars or pictures,also called ____.

A) targets
B) icons
C) windows
D) menus
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
14
Many object-oriented languages offer built-in classes that contain methods you can use to draw geometric figures.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
15
In object-oriented languages,the procedural modules that depend on user-initiated events are often called ____.

A) scripts
B) blocks
C) handlers
D) windows
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
16
GUI components are excellent examples of the best principles of object-oriented programming;they represent objects with attributes and methods that operate like ____.

A) trap doors
B) black boxes
C) a procedural function
D) a while loop
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
17
When you program in a language that uses GUI components,you need to create them from scratch.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
18
Within an event-driven program,a component from which an event is generated is the ____.

A) target of the event
B) source of the event
C) interface of the event
D) message handler
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
19
In an event-driven program,you design the screens,define the objects,and define how the screens will connect.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
20
A ____ is a rectangular object you can click;when you do,its appearance usually changes to look pressed.

A) label
B) button
C) check box
D) text box
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
21
Using multiple threads of execution is known as ____.

A) binding
B) racing
C) multithreading
D) multipathing
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
22
A(n)____ shows the relationship between screens in an interactive GUI program.

A) entity diagram
B) data flow diagram
C) use case diagram
D) interactivity diagram
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
23
A ____ represents a picture or sketch of a screen the user will see when running a program.

A) framework
B) page frame
C) wireframe
D) sketch-up
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
24
A ____ is one of the tiny dots of light that form a grid on your screen.

A) point
B) texel
C) textile
D) pixel
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
25
When you use a menu bar,it is at the top of the screen in most GUI programs,and the first menu item is almost always ____.

A) Edit
B) File
C) Home
D) Help
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
26
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.

A) attributes class
B) container dictionary
C) containment class
D) container class
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
27
GUI programmers sometimes refer to screen space as ____.

A) canvas
B) interface
C) real estate
D) territory
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
28
Making programs easier to use for people with physical limitations is known as enhancing ____.

A) usability
B) accessibility
C) interface
D) compliance
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
29
People who use the Disk Operating System (DOS)often call the command line the ____________________.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
30
You should make sure that unavailable screen options are either dimmed (also called ____)or removed.

A) grayed
B) hidden
C) suppressed
D) blanked
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
31
In most object-oriented languages,a method named ____________________ executes automatically when a class object is created.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
32
An object that is "interested in" an event to which you want it to respond is a(n)____________________.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
33
A ____________________ contains a series of wireframes that represent a user's experience with proposed software.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
34
Cartoonists create animated films by drawing a sequence of ____ or cells.

A) frames
B) blocks
C) pictures
D) targets
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
35
A(n)____ is a list of the objects used in a program,including which screens they are used on and whether any code is associated with them.

A) object dictionary
B) object index
C) GUI dictionary
D) interface dictionary
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
36
When you develop an event-driven application,you need to expand on the ____ step in the program development cycle.

A) understanding the problem
B) planning the logic
C) coding the program
D) testing the program
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
37
A(n)____________________ is a list of the objects used in a program,including which screens they are used on and whether any code,or script,is associated with them.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
38
With most OOP languages,you must ____ components,or sign them up so that they can react to events initiated by other components.

A) register
B) activate
C) instantiate
D) create
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
39
____ is the rapid sequence of still images,each slightly different from the previous one,that produces the illusion of movement.

A) Screening
B) Animation
C) Filmation
D) Stop motion
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
40
With a(n)____ program,a user can continue to click buttons while your program is reading a data file.

A) single threaded
B) parallel threaded
C) independently threaded
D) multithreaded
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
41
Match each term with a statement below.


-Where two or more threads wait for each other to execute

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
42
Match each term with a statement below.


-A class of objects whose main purpose is to hold other elements

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
43
Match each term with a statement below.


-Its value increases as you travel from left to right across the window

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
44
Discuss the purpose of a storyboard.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
45
Match each term with a statement below.


-Where a thread is abandoned because other threads occupy all of the computer's resources

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
46
Match each term with a statement below.


-The flow of execution of one set of program statements

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
47
List the two types of statements that you must write when an object should listen for events.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
48
Discuss the purpose of a wireframe.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
49
Match each term with a statement below.


-A horizontal position

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
50
Discuss multithreading.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
51
Explain why your program should be forgiving.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
52
Match each term with a statement below.


-Its value increases as you travel from top to bottom

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
53
Match each term with a statement below.


-A vertical position

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
54
Describe a thread.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
55
List the events in developing an event-driven program.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
56
Match each term with a statement below.


-An occurrence that generates a message sent to an object

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
57
Discuss using the integrated development environment to create applications.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
58
Describe the container class.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
59
List the general design principles used when creating a program that will use a GUI.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
60
Match each term with a statement below.


-Shows the relationship between screens in an interactive GUI program

A)event
B)y-axis
C)y-coordinate
D)thread
E)deadlock
F)x-axis
G)x-coordinate
H)starvation
I)interactivity diagram
J)container
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 60 flashcards in this deck.