SOMEONE KIND PLEASE TYPE ANSWERS IN OWN WORDS q.Analyze how interrupt and trigge
ID: 3739956 • Letter: S
Question
SOMEONE KIND PLEASE TYPE ANSWERS IN OWN WORDS
q.Analyze how interrupt and trigger tasks deal with task activation in different ways.
r.Assume that there is a large difference between the experimentally observed WCET and the analytically calculated WCET. What can you learn from this difference? How can you reduce the difference? What are the problems with the experimental measurement of the WCET?
s.Explain the difference between a continuous real-time entity and a discrete real-time entity.
t.What is the difference between a state observation and an event observation? Why are event observations more efficient than state observations in a case where the real-time entity does not change frequently?
Explanation / Answer
Answer Q:
Interrupts are setup in a timely basis, and when that time is reached the interrupt is triggered and as a result the task is activated. For example, a interrupt is setup daily 6am so every day at 6am the interrupt will occur and activate the task.
Triggers on the other hand is based on certain event, on the occurrence of that event a task maybe activated. For example, pressing the enter button twice in the keyboard will activate a task.
Answer R:
WCET or worst-case execution time is the maximum time that a task can take to get executed completely. The difference between the experimentally observed WCET and analytically calculated WCET is that experimentally observed WCET takes into account that the conditions for task execution will be ideal and there would not be any hindrances. Where as analytically calculated WCET takes into account those and gives an average result based on various hindrances. Hence the difference.
The difference can be reduced if experimentally observed WCET takes into account a constant amount of hindrances that may come up during execution of the task. This will give a more accurate result.
As stated earlier, experimentally observed WCET calculates WCET in ideal conditions, but it does not happen that way. Many hindrances come up during execution of the task like processor may slow down due to execution of other tasks etc.
Answer S:
Continuous real time entity is an entity, which depicts is real time status by refreshing the status every second. Where as discrete real-time entity does not show the current status, it refreshes the status at a considerable gap for example 1 minutes.
Answer T:
State observation is the method of observing a task based on its current status. For example a task is in ready for execution state. Whereas event observation is, a method of observing a task based on the event that may change the status of it. For example, a tasks event status is waiting for pressing enter in keyboard. Event observations are more efficient as this gives us an idea as to what event has / will changed/ will change the state of a task. This helps in governing the task more efficiently. Status shows what is the current condition of a task and does not help much there.
I have answered your question. Please do not forget to give a positive feedback to the answer. Thank you.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.