Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume we have five tasks, T1, T2, T3, T4, and T5 with priorities: 3, 9, 5, 2, and 3 respectively. (Priority is on a scale

Assume we have five tasks, T1, T2, T3, T4, and T5 with priorities: 3, 9, 5, 2, and 3 respectively. (Priority is on a scale of 1 10 with 1 being the highest and 10 the lowest). Assume these 5 tasks are ready for execution at: 20 sec, 15 sec, 15 sec, 45 sec and 50 sec respectively after the processor starts. Further assume the total execution times of the tasks respectively are 30, 15, 20, 25 and 20 seconds each. Assuming a time slice value of 5 seconds, and preemptive priority based scheduling with round robin time slicing answer the following questions:

7. Select all answers that are correct regarding the execution of task 3: A) Task 3 starts execution at t= 95 secs and stops execution at t= 115 secs due to completion B) Task 3 starts execution at t= 95 secs and stops execution at t= 115 secs due to getting preempted by task 2 C) Task 3 starts executing at t = 15 sec and stops its execution at T= 35 sec due to task completion. D) Task 3 starts executing at t = 15 sec and stops its execution 5 seconds later as it gets preempted by task 1.

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

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

Define a copyright and identify what a copyright can protect.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago