Theory
104 keys, and you use forty
Watching Chirag bill a customer, you notice he never looks down: his fingers find every key blind.
Later he challenges you: "Count the keys." A standard keyboard has about 104. Now count the ones you actually use... perhaps forty.
So what are the other sixty for, and what actually leaves the keyboard when a key goes down? Both questions are exam material, and the second one connects straight back to ASCII.
Theory
A hall of doorbells
Under the keys lies a grid of circuits, like a hall with 104 doorbells wired to one guard. Press a key and its circuit closes: the guard (the keyboard's controller chip) sees exactly WHICH bell rang and sends its number onward. The keyboard never sends the letter A anywhere; it reports "bell number so-and-so rang", and software does the rest.
Theory
The zones exams ask you to label
- Alphanumeric zone: letters, digits, punctuation, the typewriter heart.
- Function keys F1 to F12: shortcuts whose meaning each program defines (F1 = help, F5 = refresh).
- Numeric keypad: calculator-style block on the right, beloved by accountants.
- Navigation keys: arrows, Home, End, Page Up/Down.
- Modifier keys: Shift, Ctrl, Alt; they type nothing alone, they change what other keys mean.
- Special keys: Enter, Backspace, Esc, the spacebar.
Theory
From press to letter
The journey of one keypress:
press → key matrix senses the closed circuit → controller sends a scan code → OS maps it to a character code → the app receives 'A' (ASCII 65)
This is why the same physical keyboard can type Gujarati or Hindi after a software switch: the hardware only ever reports which key; the mapping to characters is software's job.
And QWERTY's odd letter order? Inherited from typewriters, whose jamming arms needed common letter-pairs spaced apart. Habit kept it alive.
Quiz
You press Shift and nothing appears on screen. Why is Shift still called an input key?
- It modifies the meaning of the next key pressed with it
- It is actually broken on most keyboards
- It only works inside games
- It types an invisible character
Show the answer
It modifies the meaning of the next key pressed with it
Modifiers (Shift, Ctrl, Alt) send their own signals, but their job is changing OTHER keys: a becomes A, 1 becomes !. Nothing prints because their meaning is combinational, not because nothing happened. Classifying modifier keys correctly is a small guaranteed exam mark.
Think first
Connect the wires
Using the ASCII lesson: when you press the A key (with Shift held), what NUMBER finally reaches the application? And with Shift released?
Show the answer
With Shift: 65, ASCII for capital A. Without: 97, small a, exactly 32 apart, the case gap you memorised. The keyboard sent the same physical key code both times; the modifier state told the OS which character code to deliver. Hardware reports keys; software decides characters.
Watch out
Where marks leak
Writing "the keyboard sends letters to the computer": it sends codes (scan codes, mapped to character codes). Calling Shift/Ctrl/Alt "typing keys": they are modifiers. And in zone-labelling diagrams, students regularly swap function keys with navigation keys; F1-F12 sit in a row along the top.
Theory
Why this matters beyond the exam
In C programming next semester, getchar() and getch() hand you exactly these character codes, and the difference between reading a key and reading a character will matter. Meanwhile, learn five shortcuts like Chirag: Ctrl+C, Ctrl+V, Ctrl+Z, Ctrl+S, Alt+Tab. They are modifiers earning their keep, and they will save you hours every week for the rest of your career.
Summary
Key takeaways
- The keyboard is the primary input device, ~104 keys in named zones.
- Zones: alphanumeric, function keys, numeric keypad, navigation, modifiers, special keys.
- A press travels as codes: key matrix → scan code → character code (ASCII).
- Modifiers type nothing; they change other keys' meaning (a → A).
- QWERTY's layout is a typewriter inheritance.
- Memory hook: a hall of doorbells; the keyboard reports which bell, never the letter.