---
# System prepended metadata

title: Introduction to Operating Systems (CS-GY6233) Fall 2020 Assignment 8

---

# Introduction to Operating Systems (CS-GY6233) Fall 2020 Assignment 8
## 1)
### a)
![](https://i.imgur.com/weguZJA.png)
### b) turnaround time
#### SJF
* P1: 9
* P2: 5
* P3: 23
* P4: 14
* P5: 2
#### RR
* P1: 12
* P2: 13
* P3: 23
* P4: 20
* P5: 10
### c) waiting time
#### SJF
* P1: 5
* P2: 2
* P3: 14
* P4: 9
* P5: 0
#### RR
* P1: 8
* P2: 10
* P3: 14
* P4: 15
* P5: 8
### d)
SJF
## 2)
### a) 
4999-2150+4999-230=7618
### b)
4760-2150+4760-230+2074-230=8984
## 3)
* Did the function call to set the contention scope succeed? 
    * No.
* Does Linux allow process contention scope?
    * No.
    
![](https://i.imgur.com/ROmUnLK.png)