Question
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 system call to create a new process |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started