For FCFS and SJF algorithms study them and develop them using C programming language in a Linux
Fantastic news! We've Found the answer you've been seeking!
Question:
For FCFS and SJF algorithms study them and develop them using C programming language in a Linux environment.
Consider the following data for FCFS and SJF
Process | Arrival Time | Burst Time |
P1 | 0 | 14 |
P2 | 0 | 6 |
P3 | 0 | 12 |
P4 | 0 | 17 |
P5 | 0 | 4 |
- The description of the scheduling algorithms
- Flowchart of Program
- Code
- output
- Evaluation of above two scheduling algorithms using Gantt chart, Calculate Turnaround time and Waiting time for each process and also calculate Average Turnaround time & Average Waiting time.
- Finally comparison of both scheduling algorithm
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Posted Date: