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

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

Discuss multithreading.

Free
(Essay)
4.9/5
(31)
Correct Answer:
Verified

You use multithreading to improve the performance of your programs.Multithreaded programs often run faster,but more importantly,they are more user-friendly.With a multithreaded program,a user can continue to make choices by clicking buttons while the program is reading a data file.An animated figure can appear on one part of the screen while the user makes menu selections elsewhere on the screen.When you use the Internet,the benefits of multithreading increase.For example,you can begin to read a long text file,watch a video,or listen to an audio file while the file is still downloading.Web users are likely to abandon a site if they cannot use it before a lengthy downloading process completes.When a Web site employs multithreading to perform concurrent tasks,visitors are less likely to abandon the Web site-this is particularly important if the site sells a product or service or relies on advertising income that is based on the number and duration of user visits.

A ____ is a rectangular area into which the user can type text.

Free
(Multiple Choice)
4.9/5
(44)
Correct Answer:
Verified

D

Match each term with a statement below. -A horizontal position

Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
Verified

F

The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system.

(Multiple Choice)
4.7/5
(42)

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 ____.

(Multiple Choice)
4.8/5
(44)

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 ____.

(Multiple Choice)
4.8/5
(36)

A GUI picture album has a picture or sketch of a screen the user will see when running a program.

(True/False)
4.8/5
(35)

GUI programmers sometimes refer to screen space as ____.

(Multiple Choice)
4.7/5
(36)

Many object-oriented languages offer built-in classes that contain methods you can use to draw geometric figures.

(True/False)
4.8/5
(36)

In most object-oriented languages,a method named ____________________ executes automatically when a class object is created.

(Short Answer)
5.0/5
(43)

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

(Multiple Choice)
4.8/5
(33)

Discuss the purpose of a storyboard.

(Essay)
5.0/5
(35)

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.9/5
(43)

Match each term with a statement below. -Its value increases as you travel from left to right across the window

(Multiple Choice)
4.9/5
(47)

In an event-driven program,you design the screens,define the objects,and define how the screens will connect.

(True/False)
4.8/5
(40)

Performing an operation on an icon causes a(n)____.

(Multiple Choice)
4.9/5
(38)

Match each term with a statement below. -Shows the relationship between screens in an interactive GUI program

(Multiple Choice)
4.8/5
(31)

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

(Essay)
4.7/5
(27)

Match each term with a statement below. -A class of objects whose main purpose is to hold other elements

(Multiple Choice)
4.9/5
(35)

List the events in developing an event-driven program.

(Essay)
4.9/5
(55)
Showing 1 - 20 of 60
close modal

Filters

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