Describe events and their importance in dynamic modeling
What will be an ideal response?
Events are occurrences that interrupt the existing condition of one or more objects. There three types of events:
First are call events, which invoke operations. When an object sends a message to another object, the recipient of the message views the arrival of the message as an event to which it must respond. As such, "call" events are the other side of the coin to messages. Moreover, such events are usually both targeted and synchronous (the event and the response to it work within the same phase or timeframe).
Second are signal events. These are anonymous, meaning that they are not directed to a specific object, but will be received by any object that "catches" them. ("Call" events may be compared to receiving a personal telephone call, while "signal" events are like buying newspapers or tuning to a radio station to learn about "events".) Furthermore, signal events are usually asynchronous, meaning that the action that results in the event may not occur in the same "phase" or timeframe that the event occurs.
Third are time events, which are like signal events: disruptive, asynchronous, and anonymous. The important difference is that they are triggered by the passage of time, not by any prior action.
From the viewpoint of object-orientation, all the types above could be significant (or change) events if they change the state of an object (or a system).
You might also like to view...
The average click-through in terms of the percentage of consumers who click on a link for ________ is about 0.8 percent
A) search engine optimization B) pay-per-click ads C) standard banner ads D) microsites E) rich media banner ads
Which of the following is not among the ways discussed in the text to understate accounts payable?
a. Make it appear as if liabilities have been paid off when they have not. b. Overstate purchase returns. c. Understate purchase discounts. d. Not record purchases.
The following times in seconds were observed for a particular one-element job using the continuous method: 12, 22, 35, and 50. The worker's rating factor is 1.1. What is the standard time for the job if an allowance of 20 percent is provided?
A) fewer than or equal to 14 seconds B) greater than 14 but fewer than or equal to 15 seconds C) greater than 15 but fewer than or equal to 16 seconds D) greater than 16
Olaf is the creditor in a transaction with Phil. Once certain require-ments are met, Olaf's rights will attach, which means that Olaf will have A) an indivisible ownership right to Phil's property
B) an enforceable security interest in Phil's property. C) a notice affixed to Phil's property. D) the permission of a court to seize Phil's property.