| |
GeekInterview.com > Interview Questions > Microsoft > Architecture
| Print | |
Question: the characters entered through keyboard gets converted to equivalent ASCII code & stored on RAM in the binary form. What is exact procedure to happens on hardware that converts the ASCII value to equivalent binary form?
|
| April 04, 2006 01:44:08 |
#1 |
| kanwal_hans |
Member Since: March 2006 Total Comments: 2 |
RE: the characters entered through keyboard gets conve... |
| Not exactly, the keys from the keyboard are not directly converted to ASCII values, keyboard generated a specific key code for every key pressed which is not the ASCII equivalent of that key. This keycode is then trapped by the OS which has a "Key Table" with it, which has the mapping for the "Key Code" and its corresponding "ASCII code". We are generally using "QWERT" style keyboards the keycode for "A" on "QWERTY" style keyboard might be different than a "DOVARK" style keyboard. It is the responsibility of the OS to make that transparent for us. |
| |
Back To Question | |