Computer PPSC
In computer science, a device which encodes characters by the depression of keys is known as:
Explanation
A keyboard is an input device: each key press generates a character code (for example a letter or digit) that the computer receives. A printer is an output device, a mouse is a pointing device, and 'hard device' is not a standard term.
Related facts:
The most common layout is QWERTY, named after its first six letter keys.
Keyboards send scan codes that the operating system converts into characters.
Input devices also include scanners, microphones and webcams.
Exam tip: Input vs output classification answers many device questions at a glance: keyboard and mouse are input; monitor and printer are output.