Which of the following criteria(n) is/are being used to compare the CPU scheduling algorithms? A. Throughput B. CPU utilization C. Waiting time D. Response time
Which of the following criteria(n) is/are being used to compare the CPU scheduling algorithms? A. Throughput B. CPU utilization C. Waiting time D. Response time Correct Answer A, B, C and D
The correct answer is option 4.
Concept:
CPU Scheduling is a process of determining which process will own CPU for execution while another process is on hold. All Cpu scheduling algorithms use various parameters which are,
Arrival Time: Time at which the process arrives in the ready queue.
Schedule time: Time at which the process arrives ready to running state.
Completion Time: Time at which the process arrives running to terminate state.
Burst Time: Time spends the process running state.
Turn Around Time:
Turn Around Time= Completion Time – Arrival Time.
Waiting Time:
Waiting time is the total time spent by the process in the ready state waiting for the CPU.
Response time:
Response time is the difference between first execution time and Arrival time.
CPU utilization:
CPU utilization refers to a computer's usage of processing resources or the amount of work handled by a CPU.
Throughput:
Throughput is the amount of work completed in a unit of time.
Throughput = no .of process completed / time taken.
Hence the correct answer is A, B, C, and D.