adplus-dvertising
frame-decoration

Question

What does the kernel do when an application performs a slow I/O operation?

a.

It interrupts the thread and runs another one

b.

It stalls and waits for the operation to complete

c.

It lets the thread continue running

d.

It switches to run another thread while the operation is being performed

Posted under Reverse Engineering

Answer: (d).It switches to run another thread while the operation is being performed Explanation:The kernel switches to run another thread while the hardware is performing the operation.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the kernel do when an application performs a slow I/O operation?

Similar Questions

Discover Related MCQs

Q. What is preemptive scheduling?

Q. What is a thread's quantum?

Q. How does the operating system monitor how long a thread has been running?

Q. What happens when a thread's quantum is up?

Q. How does the kernel ensure that a thread has no idea that it was ever interrupted?

Q. What is the main challenge of synchronizing multiple threads in the same program?

Q. What do synchronization objects allow two or more threads to do?

Q. What is the purpose of putting blocked threads in a special wait state?

Q. Why must the scheduler be aware of synchronization objects?

Q. What are synchronization objects used for in multithreaded programming?

Q. What is an event in multithreaded programming?

Q. How does a mutex work in multithreaded programming?

Q. What is the difference between a mutex and a critical section in multithreaded programming?

Q. What is the purpose of semaphores in multithreaded programming?

Q. What is the first step taken by the system in an average process creation sequence?

Q. What is the responsibility of LdrpInitialize in the process initialization sequence?

Q. What is the responsibility of LdrpRunInitializeRoutines in the process initialization sequence?

Q. What is the responsibility of BaseProcessStart in the process initialization sequence?

Q. What is an API?

Q. What is the Win32 API?