English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

There is a decoder logic built inside the keyboard. You have to put efforts to read and understand this concept. Visit this site.

http://www.simandl.cz/stranky/elektro/keyboard/keyboard_a.htm

2006-10-10 19:58:59 · answer #1 · answered by liketoaskq 5 · 0 0

The keyboard controller makes this possible. When a key is pressed, it sends a scan-code corresponding to that key to the computer's keyboard buffer. The scan-code is not the ASCII value you would expect. Its just an identifier for that physical key.

The computer looks up its internal table and determines what is the ASCII value to represent for that key. If the controller also sends the scan-codes for modifier keys such as Shift-Ctrl-Alt, the computer modifies the ASCII value to be interpreted accordingly.

For ex: for the given scan-code/s, the computer interprets '5' without Shift pressed, and '%' with shift pressed.

This way its possible to interpret different language settings for a keyboard even though the scan-codes remain the same. The internal table in the computer can be modified by software any time. For ex: in the US layout, pressing Shift-F4 produces the Dollar sign, while in the UK layout, it produces the Pound sign.

2006-10-11 07:49:58 · answer #2 · answered by reguser2005 3 · 0 0

if I understand your question right, then I think you are confusing data entry with data storage
Yes, memory is a series of flip flops
And yes, in memory, if you wanted to store 5, you would need atleast 4 flip flops
However, you dont need to key in, zeroes and ones 4 times to enter 5. You might have to do that, if all you had was 2 keys (or I guess 1 key), but since your keyboard supports numerous keys, you dont work on binary (actually you work on alphabets and decimal systems), but the system interprets your keypress as 5 and then resolves it into its correct bit pattern 1001 and then stores it in memory using multiple flip flops

Hope this helps

2006-10-11 03:57:39 · answer #3 · answered by Neil 5 · 0 0

fedest.com, questions and answers