Final answer:
This assignment involves implementing several process scheduling algorithms including FCFS, SJF, Priority scheduling, RR, and Fair share scheduling.
Step-by-step explanation:
Process Scheduling Algorithms
In this programming assignment, you will be implementing several different process scheduling algorithms. The algorithms to be implemented are First-come, first-served (FCFS), Shortest-job-first (SJF), Priority scheduling, Round-robin (RR), and Fair share scheduling.
First-come, first-served (FCFS)
This algorithm schedules tasks in the order in which they request the CPU. The task that requests the CPU first will be scheduled first.
Shortest-job-first (SJF)
This algorithm schedules tasks based on the length of their next CPU burst. The task with the shortest burst will be scheduled first.
Priority scheduling
This algorithm schedules tasks based on their priority. A higher priority value indicates a higher relative priority. In case of a tie, the order in which the tasks arrive is considered.
Round-robin (RR) scheduling
This algorithm assigns a fixed time quantum of 10 milliseconds to each task. Each task is run for the time quantum or for the remainder of its CPU burst, whichever is shorter.
Fair share scheduling
This algorithm distributes a predefined time quantum of CPU equally between different users and processes. It assigns each user the same time quantum for their tasks.