C Program for Shortest Job First (SJF) Scheduling Algorithm

C Program for Shortest Job First (SJF) Scheduling Algorithm is today’s our topic.It’s was, one of the most demanding algorithm in my collage days (Still it is). So, this article is all about writing a C Program for Shortest Job First (SJF) Scheduling Algorithm

The main terms used in Shortest Job First (SJF) Scheduling Algorithm are :

CPU Utilization
Keep the CPU as busy as possible. It range from 0 to 100%. But, technically in practice, it range from 40 to 90%.

Throughput
Throughput is the rate at which processes are completed per unit of time.

Turnaround time
It is calculated as the time gap between the submission of a process and its completion.

Waiting time
The sum of the time periods spent in waiting in the ready queue.

Response time
Response time is the time it takes to start responding from submission time

Also, you can download the program from here : Shortest Job First

Leave a Reply

Your email address will not be published. Required fields are marked *