This project is to implement the CPU scheduling policies, First-Come-First-Served (FCFS),

computer science

Description

This project is to implement the CPU scheduling policies, First-Come-First-Served (FCFS),

Round-Robin (RR), Shortest Process Next (SPN) and Shortest Remaining Time (SRI) described

in the textbook.

1. Your program named ‘mydispatcher” must accept two command-line arguments

(a) input.dat

(b) a scheduling policy (i.e. one of FCFS, RR, SPN and SRI)

For example,

> ./mydispatcher input.dat FCFS

If it is run with the wrong arguments or no arguments, it should print out the usage

instructions and exit.

For RR, you need to give an option for user to select default quantum size (1 second) or

user input.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.