INTRODUCTION TO COMPILER DESIGN
COMPILATION PROCESS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The role of scheduling is ____
|
To make sure tasks get as much time as they need on the CPU
|
|
To make sure that all tasks get time on the processor and respond in a reasonable time
|
|
To make sure that the user does not have to wait for processes to run
|
|
To prevent the user from crashing the computer
|
Explanation:
Detailed explanation-1: -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-2: -Round-robin scheduling (Figure 7.151) allocates each task an equal share of the CPU time.
There is 1 question to complete.