Difference between Stimulus and Response Events
1. Stimulus Events :
In a real-time system, environment generates such type of events and these events act on the environment. Stimulus events are aperiodic and asynchronous.
- Typing on keyboard generates a stimulus event to act on the computer system.
- Measuring of temperature in nuclear plant.
2. Response Events :
When events are generated by the system, they are response events. These events are generated in the response of stimulus events. These events act on the environment. It can be periodic or aperiodic.
- Consider the alarm at 5 o’clock, time equaling 5 is stimulus event and alarm ringing is response event.
- Switching off the induction at temperature exceeding 100 degree.
Difference between Stimulus and Response Events :
|STIMULUS EVENTs||RESPONSE EVENTs|
|Stimulus events are generated by environment.||Response events are generated by system.|
|These events act on the system.||These events act on the environment.|
|These events are aperiodic.||These can be periodic as well as aperiodic.|
|These are asynchronous events.||These are synchronous events.|
|These are not generated for a response.||These are generated in response of stimulus events.|
|These events may be instantaneous or may have some duration.||These are instantaneous events.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.