Exam 12: Event-Driven Gui Programming, Multithreading, and Animation
Discuss multithreading.
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.
D
Match each term with a statement below.
-A horizontal position
F
The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system.
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 ____.
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 GUI picture album has a picture or sketch of a screen the user will see when running a program.
Many object-oriented languages offer built-in classes that contain methods you can use to draw geometric figures.
In most object-oriented languages,a method named ____________________ executes automatically when a class object is created.
Within an event-driven program,a component from which an event is generated is the ____.
GUI components are excellent examples of the best principles of object-oriented programming;they represent objects with attributes and methods that operate like ____.
Match each term with a statement below.
-Its value increases as you travel from left to right across the window
In an event-driven program,you design the screens,define the objects,and define how the screens will connect.
Match each term with a statement below.
-Shows the relationship between screens in an interactive GUI program
List the two types of statements that you must write when an object should listen for events.
Match each term with a statement below.
-A class of objects whose main purpose is to hold other elements
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)