Process-state-transition-diagram
Question 1 |
Moving process from main memory to disk is called
caching | |
termination | |
swapping | |
Interruption |
Question 1 Explanation:
When the process is moved from main memory to disk then this method is called swapping.
Question 2 |
Consider following three statements above scheduler
(I) Dispatcher is a part of schedule responsible to select a new process whenever the current process yields the CPU.
(II) The medium term scheduler is responsible for swapping.
(III) The Long Term scheduler determines to whom CPU should be allocated from the ready queue.
The true statement from above statements is/are
All (I), (II), and (III) | |
Only (I) and (II)
| |
Only (I) and (III)
| |
Only (II) and (III) |
Question 2 Explanation:
S1 is true.
S2 is true.
S3 is false, because the short term scheduler determines to whom CPU should be allocated from the ready queue.
S2 is true.
S3 is false, because the short term scheduler determines to whom CPU should be allocated from the ready queue.