Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2: Consider a multiple interruption scenario with priority. Three devices are connected to a computer that executes a user program. The normal duration of

Exercise 2: Consider a multiple interruption scenario with priority.
Three devices are connected to a computer that executes a user program. The normal duration of the user program without any interruptions is TO= 50 sec. The execution of the user program starts at time t0-0 sec.
Device 1: during the execution of the user program, device 1 produces an interrupt request
at time t1-15sec. The priority of this device is P1 = 3, and the duration of its normal
execution without interruption is T1 = 15sec. Device 2: at time t2-20 sec, device 2 issues an interrupt request, and the priority of the
device is P2-6. The duration of its normal execution without interruption is T2 = 20sec. Device 3: at time t3-35sec, device 3 issues an interrupt request, and the priority of the
device is P3= 2. The duration of execution of this interrupt program is T3 = 10sec. 1- Summarize in a table the time of beginning and end of executions relative to the main
program and the peripheral devices 1, 2, 3. 2- By considering the priority of interrupt, explain the execution order of the scenario.
image text in transcribed
Exercise 2: Consider a multiple interruption scenario with priority. 5+5pts Three devices are connected to a computer that executes a user program. The normal duration of the user program without any interruptions is T0=50sec. The execution of the user program starts at time to =0sec. - Device 1: during the execution of the user program, device 1 produces an interrupt request at time t1=15sec. The priority of this device is P1=3, and the duration of its normal execution without interruption is T1=15sec. - Device 2: at time t2=20sec, device 2 issues an interrupt request, and the priority of the device is P2=6. The duration of its normal execution without interruption is T2=20sec. - Device 3: at time t3=35sec, device 3 issues an interrupt request, and the priority of the device is P3=2. The duration of execution of this interrupt program is T3=10sec. 1- Summarize in a table the time of beginning and end of executions relative to the main program and the peripheral devices 1,2,3. 2- By considering the priority of interrupt, explain the execution order of the scenario

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

=+Where do you want to live and work?

Answered: 1 week ago