Operating System MCQs

1019 MCQs  (Page 15 of 102)

In the following cases non – preemptive scheduling occurs?
A. When a process switches from the running state to the ready state
B. When a process goes from the running state to the waiting state
C. When a process switches from the waiting state to the ready state
D. All of the mentioned
The switching of the CPU from one process or thread to another is called ____________
A. Process switch
B. Task switch
C. Context switch
D. All of the mentioned
Scheduling is done so as to ____________
A. Increase the waiting time
B. Keep the waiting time the same
C. Decrease the waiting time
D. None of the mentioned
What is Turnaround time?
A. The total waiting time for a process to finish execution
B. The total time spent in the ready queue
C. The total time spent in the running queue
D. The total time from the completion till the submission of a process
What is Waiting time?
A. The total time in the blocked and waiting queues
B. The total time spent in the ready queue
C. The total time spent in the running queue
D. The total time from the completion till the submission of a process
What is Response time?
A. The total time taken from the submission time till the completion time
B. The total time taken from the submission time till the first response is produced
C. The total time taken from submission time till the response is output
D. None of the mentioned
To schedule the processes, they are considered _________
A. Infinitely long
B. Periodic
C. Heavy weight
D. Light weight