SJF Scheduling Algorithm Program Operating System LAB
SJF Scheduling Algorithm Program – Operating System Practicals LAB. Write a C Program to input burst times of N processes and find the Waiting times and Turn around times using SJF – Shortest Job First Scheduling Method in Operating system. Program Code #include<stdio.h> int main() { int bt[20],p[20],wt[20],tat[20],i,j,n,total=0,pos,temp; float avg_wt,avg_tat; printf(“Enter number of process:”); scanf(“%d”,&n);… Read More »