asked 176k views
5 votes
A process is moved to wait queue when I/O request is made with:_______ A. non-blocking I/O B. blocking I/O C. asynchronous I/O D. synchronous I/O

1 Answer

4 votes

Answer:

B. blocking I/O

Step-by-step explanation:

Most of the input and output request placed to the computer considers the blocking request. It means that the controls given cannot be returned to the given application until and unless the input/output is complete.

Thus, blocking the input/output does not return till the input and output is complete.

With a blocking I/O, the process is moved to a wait queue when the I/O request is made, and it moved backs to the ready queue as soon as the request is complete, thereby allowing the other processes to run in the meantime.

Thus (B) blocking I/O is the answer.

answered
User Tom Grant
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.