Professional Documents
Culture Documents
1. Assume that you have following processes, with all information as needed for CPU Scheduler.
Process Arrival Time CPU Burst Priority
P1 0 3 3
P2 4 6 2
P3 3 7 1
P4 7 4 1
P5 12 4 2
P6 15 6 3
Please solve one and only one of these following questions:
(Using last 2 digits of your Student ID modular (mod - chia lấy phần dư) 3. The result is the question you have to
solve. Example: last 2 digits is 21 à21 mod 3 = 0 à hence, you HAVE TO choose question 0)
0. Round Robin with q = 4.
1. Preemptive Priority.
2. Preemptive SJF (SRTF).
Draw grant chart, determine the waiting times for each process and the average waiting times.
NOTE:
- Please show whole progress how you solve the problems.
- Only accepted hand-writing answer sheets.
BM - ĐT - 01