Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 2 a) By referring to the information given in the table below, discuss Round Robin scheduling algorithm. (3 marks) Process P1 P2 P3 Burst

image text in transcribed

QUESTION 2 a) By referring to the information given in the table below, discuss Round Robin scheduling algorithm. (3 marks) Process P1 P2 P3 Burst time (milliseconds) 15 33 6 b) Draw the timeline of the ready queue for the processes above using the Round-Robin Scheduling algorithm using the following quantum times. The processes arrive in the following order: P2, P1, and P3. ii. i. 5 milliseconds (3 marks) 10 milliseconds (3 marks) c) Answer the following questions based the information given in the table above; Explain Shortest Job First scheduling algorithm and state ONE (1) advantage and ONE (1) disadvantage of the algorithm. (4 marks) ii. Draw the timeline of the ready queue for the processes above using Shortest Job First scheduling algorithm. (2 marks) d) Discuss First Come First Serve scheduling algorithm. Draw the timeline of the ready queue for the processes above using First Come First Serve algorithm. The processes arrive in the following order: P3, P1, and P2. (3 marks) e) A job running in a system with variable time quantum per queue needs 65 milliseconds to run to completion. If the first queue has a time quantum of 10 milliseconds and each queue thereafter has a time quantum that is twice as large as the previous one, explain how many times the job will be interrupted and on which queue will it finish its execution. (2 marks) (Total: 20 marks)

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions