in Operating System
2,993 views
6 votes
6 votes

A task in a blocked state

  1. is executable
  2. is running
  3. must still be placed in the run queues
  4. is waiting for some temporarily unavailable resources
in Operating System
3.0k views

2 Answers

10 votes
10 votes
Best answer

Answer : is waiting for some temporarily unavailable resources

A process that is blocked on some event (such as I/O operation completion or a signal), may be blocked due to various reasons, such as exhausting its CPU time allocation or waiting for an event to occur.

selected by

1 comment

The answer could be Option C as well. Because even if an I/O operation is the last phase of a task, it'll still have to be placed in the running state to be led to termination.

Option D says "A task in a blocked state is waiting for some temporarily unavailable resources" which is incomplete. It can also be performing an I/O operation.

I understand how Option D would be correct, tho, can you point out why option C is incorrect?
0
0
1 vote
1 vote

ans is (d)

process is an instance of a computer program that is being executed. A process always exists in exactly one process state. A process that is blocked is one that is waiting for some event, such as a resource becoming available or the completion of an I/O operation

Answer:

Related questions