Computer keyboard is an device used to convert the keystrokes in to the electrical signals that a computer can understand. There are special types of switches and circuits to do this. When we press a key, it completes its corresponding circuit and an electrical signal goes to keyboard’s internal processor which detects the key which is pressed.
Keyboard contains its own internal processor that takes electrical signals through key strokes.
Each key has a special shaped arrangement at the bottom known as plunger.