The event-driven model used to create Windows applications ____.

A. uses a counter-controlled form of loop
B. uses a state-controlled form of loop
C. uses a sentinel-controlled form of loop
D. handles the repetition for you


Answer: D

Computer Science & Information Technology

You might also like to view...

Another name for the database tier is ___________________.

a) the information tier b) the bottom tier c) Both a and b. d) None of the above.

Computer Science & Information Technology

Consider a simple intersection with two crossing roads and four traffic lights. Assume a simple algorithm for switching lights, so that the traffic on one road can proceed while the traffic on the other road is stopped. Model each traffic light as an instance of a TrafficLight class with a state attribute that can be either red, yellow, or green. Write invariants in OCL on the state attribute of the TrafficLight class that guarantee that the traffic cannot proceed on both roads simultaneously. Add associations to the model to navigate the system, if necessary. Note that OCL constraints are written on classes (as opposed to instances).

What will be an ideal response?

Computer Science & Information Technology

Draw the B + tree that results from inserting alice, betty, carol, debbie, edith, and zelda into the index of Figure 9.22

What will be an ideal response?

Computer Science & Information Technology

As you develop a lengthy presentation with many visuals, _____ may help you organize your material.

A. slides B. text C. notes D. handouts

Computer Science & Information Technology