Question: Write function cpuScheduling to do the following IN C a . Return type void b . Empty parameter list c . Declare an array for
Write function cpuScheduling to do the following IN C
a Return type void
b Empty parameter list
c Declare an array for the process IDs, data type int, initialized with
values ie process
d Declare an array for the arrival times, data type int, initialized with
values ie arrvTime
e Declare an array for the burst times, data type int, initialized with
values ie burstTime
f Call function fcfs passing arguments
i Array process
ii Array arrvTime
iii. Array burstTime
g Call function sjf passing arguments
i Array process
ii Array arrvTime
iii. Array burstTime
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
