Midterm -- Process Control Schedule
Submission Instructions. This assignment contains 3 files: (1) Midterm.pdf; and (2) Midterm_IO_Example.pdf and is worth 100 points. Submit a source code file in Canvas with your answers. Your file name must be: Firstname_lastname.cpp This assignment must be completed individually and successfully can be run in AU server (not your personal computer) and is due by 11:59 pm U.S. Central Time on Sunday, Feb. 7th, 2021. ZERO for any late submission.
1. Introduction to Round Robin Schedule with a Priority
Round Robin (RR) with a priority is a CPU scheduling algorithm where each process is assigned a fixed time slot in a cyclic way.
Assume there are 5 processes with a structure of a Process Control Block (PCB):
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |