Académique Documents
Professionnel Documents
Culture Documents
INPUT DEVICES.
i) KEYBOARD
The keyboard is the primary input device for entering text and numbers.
It is a relatively simple device consists of about 100 keys each of which sends
different codes to the CPU. It was the one of the first peripheral to be used with
PCs, and it is still the most common you will find a keyboard either built into or
attached to every pc.
There are five parts of standard keyboard:
a) The alphanumeric keys
b) The numeric keypad
c) The function keys
d) Modifier keys
e) Cursor movement key
How computer accepts input from the keyboard
When you press a key on a keyboard you might think the keyboard
simply sends that letter to the computer after all, that is what appears to happen.
Actually it is more complex than that.
A tiny computer chip, called the keyboard controller, notes that a key has
been pressed. The keyboard controller notes that a key has been pressed. The
keyboard controller places a code into a part of its memory called the keyboard
buffer, indicating which key was pressed. This code is called the key’s scan code.
The keyboard controller then signals the computers system software that some
thing has happened at the keyboard. It does not specify what has occurred, just
that some thing has. The signal that keyboard sends to the computer is a special
kind of message called an interrupt request. The keyboard controller sends an
interrupt request to the system software. When it is receive a complete keystroke.
When the system software receives an interrupt request, it evaluates the request
to determine the appropriate response. When a key press has occurred the
system reads the memory location in the keyboard buffer that contains the scan
code of the key that was pressed it then passes the key’s scan code to the CPU.
1
INTRODUCTION TO COMPUTER LECTURE 03