25

Hardware

In the Computer Architecture course, we learned that input/output (i/o) operations can be handled in several ways, including:

  1. Program-Controlled i/o: the computer constantly inquires about whether an i/o event happened, and the CPUs handle i/o events, from start to finish.
  2. Interrupt-Based i/o: the computer continues performing its tasks until an i/o-related interrupt occurs. CPUs handle the i/o event. After the event is handled, the computer continues with its tasks.