ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329620077_陆梦丽 > Homework1 >
homework_1 Version 0
👤 Author: by 2014329620077ll 2016-11-29 15:22:22
1.Process makes the operating system can do different things in the same time and they would not influent each other.
2.
a)
FCFS:
P1 P2 P3 P4 P5
0 10 11 13 14 19
SJF:
P2 P4 P3 P5 P1
0 1 2 4 9 19
Non-preemptive:
P2 P5 P1 P3 P4
0 1 6 16 18 19
RR:

P1 P2 P3 P4 P5 P1 P3 P5 P1 P5 P1 P5 P1 P5 P1 P1 P1 P1 P1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

b)
FCFS:
P1:10(ms) p2:11(ms) p3:13(ms) p4:14(ms) p5:19(ms)
SJF:
P1:19(ms) P2:1(ms) P3:4(ms) P4:2(ms) P5:6(ms)
Non-preemptive

Please login to reply. Login

Reversion History

Loading...
No reversions found.