COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

SYSTEM SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The role of scheduling is____
A
To make sure tasks get as much time as they need on the CPU
B
To make sure that all tasks get time on the processor and respond in a reasonable time
C
To make sure that the user does not have to wait for processes to run
D
To prevent the user from crashing the computer
Explanation: 

Detailed explanation-1: -Non-preemptive Scheduling is a CPU scheduling technique the process takes the resource (CPU time) and holds it till the process gets terminated or is pushed to the waiting state. No process is interrupted until it is completed, and after that processor switches to another process.

Detailed explanation-2: -Whenever the CPU becomes idle, it is the job of the CPU Scheduler ( a.k.a. the short-term scheduler ) to select another process from the ready queue to run next.

Detailed explanation-3: -Round-robin scheduling (Figure 7.151) allocates each task an equal share of the CPU time.

There is 1 question to complete.