-->
当前位置:首页 > 题库

单选题:Consider the following five processes, with the length of CPU bu

Luz5年前 (2021-05-10)题库821
Consider the following five processes, with the length of CPU burst in milliseconds and priority number (the smaller number means the higher priority) given below. Assume the five processes arrived with the order P1, P2, P3, P4, P5.
```
Process CPU burst time Priority
P1 10 3
P2 1 1
P3 2 3
P4 1 4
P5 5 2
```
Which CPU scheduling algorithm, the system can get the shortest average waiting time ?@[B](1)
A. FCFS
B. SJF
C. RR
D. non-preemptive priority





A.FCFS
B.SJF
C.RR
D.non-preemptive priority


答案:B