Multiple choice

As the keys are typed, the system stores ______ in the keyboard buffer.

  1. interrupt requests

  2. scan codes

  3. messages

  4. both (2) and (3)

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When a key is pressed, the keyboard controller generates a unique scan code representing that specific key. This code is stored in the keyboard buffer until the operating system or application processes it. This allows the system to keep track of keystrokes even if the CPU is busy with other tasks.