OS Processes
A set of processes is deadlock if __________
each process is blocked and will remain so forever
each process is terminated
all processes are trying to kill each other
none of the mentioned
each process is blocked and will remain so forever
Deadlock is a situation which occurs because process A is waiting for one resource and holds another resource (blocking resource). At the same time another process B demands blocking a resource as it is already held by a process A, process B is waiting state unless and until process A releases occupied resource.
each process is blocked and will remain so forever Deadlock is a situation which occurs because process A is waiting for one resource and holds another resource (blocking resource). At the same time another process B demands blocking a resource as it is already held by a process A, process B is waiting state unless and until process A releases occupied resource.
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