Correct option is B
A computer keyboard has a key matrix underneath the keys when a key is pressed, it presses a switch that completes a Circuit. This allows Current to flow. The location of the key pressed is Calculated. The location of the key pressed is compared to a Character map to find the Binary value for the key that has been pressed.