Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the __________

Running state
Ready state
Suspended state
Terminated state
Ready state  Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the ready state. Process never goes directly to the running state from the waiting state. Only processes which are in ready state go to the running state whenever CPU allocated by operating system.

Related posts

If a process fails, most operating system write the error information to a ______
A. log file
B. another running process
C. new file
D. none of the mentioned
A process can be terminated due to __________
A. normal exit
B. fatal error
C. killed by another process
D. all of the mentioned
The number of processes completed per unit time is known as __________
A. Output
B. Throughput
C. Efficiency
D. Capacity
The primary distinction between the short term scheduler and the long term scheduler is __________
A. The length of their queues
B. The type of processes they schedule
C. The frequency of their execution
D. None of the mentioned
What is the objective of multiprogramming?
A. Have a process running at all time
B. Have multiple programs waiting in a queue ready to run
C. To increase CPU utilization
D. None of the mentioned
What is a long-term scheduler?
A. It selects processes which have to be brought into the ready queue
B. It selects processes which have to be executed next and allocates CPU
C. It selects processes which heave to remove from memory by swapping
D. None of the mentioned
What is a short-term scheduler?
A. It selects which process has to be brought into the ready queue
B. It selects which process has to be executed next and allocates CPU
C. It selects which process to remove from memory by swapping
D. None of the mentioned

Leave a Reply

Your email address will not be published. Required fields are marked *