Skip to content
Related Articles

Related Articles

Improve Article

Difference between Stimulus and Response Events

  • Last Updated : 10 May, 2020
Geek Week

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.

Example:

  1. Typing on keyboard generates a stimulus event to act on the computer system.
  2. 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.

Example:

  1. Consider the alarm at 5 o’clock, time equaling 5 is stimulus event and alarm ringing is response event.
  2. Switching off the induction at temperature exceeding 100 degree.



Difference between Stimulus and Response Events :



STIMULUS EVENTsRESPONSE 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.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :