6,879 views
2 votes
2 votes

The state of a process after it encounters an $I/O$ instruction is?

  1. Ready
  2. Blocked
  3. Idle 
  4. Running

5 Answers

9 votes
9 votes

it can be ready or Suspended wait.

4 votes
4 votes

A process that is blocked on some event (such as I/O operation completion or a signal) Here A process which need I/O operation moves to waiting state and blocks their till its I/O completion Then moves to ready state.

PS: The question seems to ignore non-blocking IO calls like printf

3 votes
3 votes
The State of a process after it encounter I/o instruction is blocked state . It has nothing to do with CPU after it encounter I/O instruction .

Hence answer is Blocked state
Answer:

Related questions

5 votes
5 votes
7 answers
2
8 votes
8 votes
9 answers
3