Which condition is commonly checked during polling before transferring data from an input device?

Options

  • A. Whether the cache is full
  • B. Whether the CPU clock has stopped
  • C. Whether the device data-ready flag is set
  • D. Whether the operating system has shut down
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Whether the device data-ready flag is set

Detailed Explanation

Explanation: For input, the CPU commonly checks a data-ready/status flag. Once the flag indicates that data is available, the CPU can read the device data register.