What Is IRQ (Interrupt Request)?

An IRQ (interrupt request) is a signal sent by a hardware component to the CPU that interrupts the execution of a program and runs the interrupt handler code associated with the request. For example, when a user presses a key on the keyboard, the keyboard controller sends an IRQ to the processor, prompting it to read the user input.