Deck 9: Event-Driven Programming With Graphical User Interfaces
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 9: Event-Driven Programming With Graphical User Interfaces
1
When creating a program that will use a GUI, the interface should be natural and predictable.
True
2
For today's computer users, operating system software allows use of a mouse to select pictures, or ____ on the screen.
A)systems
C)selectors
B)prompts
D)icons
A)systems
C)selectors
B)prompts
D)icons
D
3
With procedure-driven programs, the user might initiate any number of events in any order.
False
4
From the 1950s through the 1980s, almost all interactive dialogues between people and computers took place at the ____.
A)operating prompt
C)operating line
B)command prompt
D)direction line
A)operating prompt
C)operating line
B)command prompt
D)direction line
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Computer users today typically learn new commands for each GUI interface they use.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
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 50 flashcards in this deck.
Unlock Deck
k this deck
7
A(n) ____ is one of the tiny dots of light that form a grid on your screen.
A)element
C)pixel
B)screen dot
D)pix
A)element
C)pixel
B)screen dot
D)pix
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
When you program in a language that supports event-driven logic, you must create the GUI components you need from scratch.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
A single CPU can perform two tasks in the same instant.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
A button that a user can click to cause some action is an example of a source.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
When you program with event-driven languages, the emphasis is on the objects that the user can manipulate, such as buttons and menus, and on the events that the user can initiate with those objects, such as clicking or double-clicking.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
In the early days of computing, interacting with a computer operating system was difficult because the user had to know the exact syntax to use when typing commands, and had to spell and type those commands accurately.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
In a(n) ____ program, each step occurs in the order the programmer determines.
A)procedural
C)ordered
B)step-wise
D)planned
A)procedural
C)ordered
B)step-wise
D)planned
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Within an event-driven program, a component from which an event is generated is the ____ of the event.
A)action
C)opening
B)start
D)source
A)action
C)opening
B)start
D)source
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
A good GUI design practice is to make sure that unavailable options are dimmed or removed.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Performing an operation on an icon causes a(n) ____, which is an occurrence that generates a message sent to an object.
A)operation
C)trigger
B)event
D)incident
A)operation
C)trigger
B)event
D)incident
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
An object that is "interested in" an event you want it to respond to is a(n) ____.
A)looker
C)watcher
B)listener
D)interest object
A)looker
C)watcher
B)listener
D)interest object
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
GUI components are often referred to as ____.
A)widgets
C)nodes
B)gadgets
D)objects
A)widgets
C)nodes
B)gadgets
D)objects
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
When writing a GUI, it is important to make the interface ____.
A)fancy
C)exciting
B)animated
D)predictable
A)fancy
C)exciting
B)animated
D)predictable
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
The computer's ____ is the software that you use to run a computer and manage its resources.
A)command system
C)operating command
B)graphical system
D)operating system
A)command system
C)operating command
B)graphical system
D)operating system
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
GUI programs are called ____________________ because actions occur in response to user-initiated events such as clicking a mouse button.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
You create computer animation using a sequence of ____.
A)screens
C)procedures
B)images
D)nodes
A)screens
C)procedures
B)images
D)nodes
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
It is often helpful to allow users to ____.
A)revert to default settings
C)dim unknown menu items
B)name constants
D)manually fix deadlocks
A)revert to default settings
C)dim unknown menu items
B)name constants
D)manually fix deadlocks
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Any component you place on the screen has a horizontal, or ____, position.
A)x-axis
C)z-axis
B)y-axis
D)h-axis
A)x-axis
C)z-axis
B)y-axis
D)h-axis
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
A ____ class contains methods that allow you to set physical properties, such as height and width.
A)container
C)property
B)method
D)size
A)container
C)property
B)method
D)size
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
A ____ is the flow of execution of one set of program statements.
A)strand
C)fiber
B)thread
D)filament
A)strand
C)fiber
B)thread
D)filament
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
The ____________________ is the location on your computer screen at which you type entries to communicate with the computer's operating system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
____________________ are pictures on the screen that can be selected by a mouse or other pointing device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
You place figures on a graphical screen based on a graphing ____ system.
A)spatial
C)coordinate
B)plane
D)placement
A)spatial
C)coordinate
B)plane
D)placement
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
You use ____ to improve the performance of your programs.
A)icons
C)interfaces
B)multithreading
D)object dictionaries
A)icons
C)interfaces
B)multithreading
D)object dictionaries
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
GUI programmers sometimes refer to screen space as ____.
A)landscape
C)screen space
B)screen estate
D)real estate
A)landscape
C)screen space
B)screen estate
D)real estate
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
An example of a code error that can occur in multithreading is ____.
A)starvation
C)task elimination
B)thread shifting
D)looping
A)starvation
C)task elimination
B)thread shifting
D)looping
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
If your interface is ____, people are more likely to use it.
A)plain
C)dimmed
B)attractive
D)full of various fonts and colors
A)plain
C)dimmed
B)attractive
D)full of various fonts and colors
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
The screen design issues that make programs easier to use for people with physical limitations are known as ____ issues.
A)ergonomic
C)accessibility
B)convenience
D)user-friendly
A)ergonomic
C)accessibility
B)convenience
D)user-friendly
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
When a computer contains a single central processing unit (CPU), it can execute ____ computer instruction(s) at a time.
A)one
C)parallel
B)two
D)a variable number of
A)one
C)parallel
B)two
D)a variable number of
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
In a(n) ____________________ program, each step occurs in the order the programmer determines.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
A ____ represents a picture or sketch of a screen the user will see when running a program.
A)storyboard
C)snapshot
B)screenboard
D)clip
A)storyboard
C)snapshot
B)screenboard
D)clip
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
For the programmer, ____________________ programs require considerations other than the typical procedural logic.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
A(n) ____ shows the relationship between screens in an interactive GUI program.
A)relationship diagram
C)interactivity diagram
B)relationship plan
D)interaction plan
A)relationship diagram
C)interactivity diagram
B)relationship plan
D)interaction plan
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
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.
A)program dictionary
C)script dictionary
B)object dictionary
D)code dictionary
A)program dictionary
C)script dictionary
B)object dictionary
D)code dictionary
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
A(n) ____________________ is the flow of execution from one set of program statements.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Using multiple threads of execution is known as ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
A(n) ____________________ shows the relationship between screens in an interactive GUI program.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
When two or more threads wait for each other to execute, the situation that occurs is called a(n) ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
When you use GUI components that are already created, you ____________________ objects, each of which belongs to a prewritten class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
A(n) ____________________ is an object that is "interested in" an event to which you want it to respond.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
The rapid sequence of still images that produce the illusion of movement is known as ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
In graphical programming, the ____________________ value increases as you travel from top to bottom.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
A(n) ____________________ represents a picture or sketch of a screen the user will see when running a program.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
A(n) ____________________ is a tiny dot of light that, when taken together, form a grid on your screen to create images.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck