FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

SYSTEMS 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: -Process Scheduling is responsible for selecting a processor process based on a scheduling method as well as removing a processor process. It’s a crucial component of a multiprogramming operating system. Process scheduling makes use of a variety of scheduling queues.

Detailed explanation-2: -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-3: -Answer: dExplanation: I) Shortest remaining time first scheduling is a preemptive version of shortest jobscheduling. It may cause starvation as shorter processes may keep coming and a long CPU burstprocess never gets CPU. II) Preemption may cause starvation.

Detailed explanation-4: -CPU scheduler selects a process among the processes that are ready to execute and allocates CPU to one of them. Short-term schedulers, also known as dispatchers, make the decision of which process to execute next.

There is 1 question to complete.