The keyboard is an input device. It looks like a typewriter. It allows you to communicate with the computer by passing your data or instruction into the computer. The output of the key switches is fed to electronic circuit known as the keyboard encoder, which converts them into binary coded values. The values are then fed into the computer, which interprets the key that is pressed.
