Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 Consider the following processes, their parameters (arrival time, CPU burst duration and priority): PID | Arrival time | Burst time | Priority -------------------------------------------------------------------------

QUESTION 1

Consider the following processes, their parameters (arrival time, CPU burst duration and priority):

PID | Arrival time | Burst time | Priority

-------------------------------------------------------------------------

1 0 8 4

2 3 6 3

3 6 4 5

4 10 5 2

What is the average waiting time for SRTF scheduler ?

QUESTION 2

What events necessitate critical sections to avoid race conditions inside a preemptive kernel ? ( CHOOSE ALL THAT APPLY)

interrupts
some system calls

all library calls

QUESTION 3

A system with virtual memory has 3 frames of physical RAM. What is the content of the three frames (in order from frame 0 to frame 2) after the

1, 0, 2, 3, 0, 4, 3, 2, 3, 4, 4, 1, 2, 3

string of references is executed, using the Optimal page replacement algorithm ?

A. 1, 2, 3
B. 3, 1, 2
C. 2, 1, 3
D. 3, 2, 1
a system call to create a new process

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

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions