Explanations plz You put some food in an oven and set the oven timer for one hou
ID: 3711121 • Letter: E
Question
Explanations plz
You put some food in an oven and set the oven timer for one hour. While the food is cooking., you find other jobs to do around the house. When the oven timer rings, you stop whatever you are doing and take the food out of the oven. Note: "You" are the computer and the different household jobs you may perform are each application processes. For all questions below, answer from the perspective of whatever process is executing at the time that the interrupt occurs. Give thorough explanations of your answers! 1. Consider the interrupt used to set the oven timer. Is this interrupt synchronous or asynchronous? Explain your reasoning 2. Consider the interrupt that occurs when the timer rings and you come to take the food out. Is this interrupt synchronous or asynchronous? Explain your reasoningExplanation / Answer
Answer is as follows :
1) According to the given scenario the type of interrupt is asychronous.
Asychronous Interrupts are occur when the system is changed from one state to other state or performing operation.
So in this case when we set the oven timer, the state is change from off to on.
So we can say that for the given scenario the interrupt is Asychronous.
2) For this Scenario the the of interrupt is Syhronous.
These interrupts occurs in between the process execution and spend a lot of time waiting during execution.
So when the timer rings and we come food out the type of interrupt occur is sychronous becasue it is occur during execution.
if there is any query please ask in comments...
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.