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

What happens after we type something on the keyboard. Please let me know in detail the process thereon from typing to printing. What exactly happens to the input till it reaches the stage of output. I mean the internal working of the entire process from input to output. Its really urgent.

2007-02-12 02:26:35 · 4 answers · asked by keentoknow 2 in Computers & Internet Software

4 answers

The guy on top is wrong.
This is what happens.
The keyboard has a chip called the ADC (Analog to Digital converter) This reads the binary equivalent of the key typed, sends this as a digital packet to the motherboard, there the SuperIO chip (Not the Southbridge) demodulates the signal according to a Unicode character set. The SuperIO chip is independently connected to the system BIOS the packet of UNICODE character data is matched by the default Basic ASCII set present in the BIOS. The ASCII equivalent then is sent as a COM+ event signal to the CPU that interacts directly with the OS kernel. So now this COM+packet travels to the Memory Controller and then to the memory bank pages. The loaded kernel reads the COM+ signal with the computational power of the CPU. The OS then decides if the COM+ packet is connected to a host process (example if the user intends to enter this character into a text box) or is it a command key like Enter/Esc/Space etc or is it a key combination. The appropriate data will be sent to the host process. Now the host process (Lets say for eg. Notepad) instructs the OS kernel to display the character on the screen. The character Unicode is sent to the font base of the OS where user selected font-based character is generated ( a character looks different in different fonts) the generated font character combination is sent to the OS GDI where a fresh video frame is generated and sent to the VGA (Video Graphics Array) card where in its RAMDAC the frame is converted into an analog signal and is finally sent to the monitor for display.

If you are printing it, Instead of VGA an appropriate print job is created and sent to the printer as a binary print package.

2007-02-12 03:07:08 · answer #1 · answered by K-Paxian 2 · 0 1

Computers use the Binary number system, 1's and 0's. We will say 1 is +5 Volts and 0 is 0 volts. This how it can recognize the two numbers. Information on the computer is made of of "Bits" and eight Bits make a "Byte". So, say the H on the keyboard is made up of the Byte 11010010 and the i is 10111001. When you type Hi to a friend the Processor see it as 11010010 10111001. It processes this information and if you Save it then it may be stored on the Hard Drive in file 1010101010 11110001 100000111. When you Click "Print" the print button sends its Binary code, we will say; 11111111 00000111 11001010 11100101. The Processor see this and knows to send your "Hi" to the printer at 00011101 11001110 10101010 00011010. The Printer receives the Binary "Hi" which is 11010010 10111001 and knows to type H and then i.
It may be more complicated than this, but, this as simple as I can make it without Teaching you Computer Programming. There are other numbering systems that can be used such as "Hexadecimal". But, it usually revolve around 1's and 0's.
The actual Route taken for "Hi" is Keyboard > South Bridge Chip > Processor (CPU) > South Bridge Chip > Printer.
If the work is saved and then printed it may follow this path; Keyboard > South Bridge Chip > Processor > North Bridge Chip > Hard Drive > North Bridge Chip > CPU > South Bridge Chip > Printer.

2007-02-12 10:49:08 · answer #2 · answered by Snaglefritz 7 · 1 2

when u press a key the microcontroller in the keyboard determines which key is pressed. then it converts the character associated with that key to ASCII code. eg if u press ' f ' , it is converted to the ASCII code which is 7 bit binary code.

To display ' f ' on the monitor the keyboard controller fires an interrupt signal which tells the CPU to read the charater ' f ' from keyboard's memory . Now this code is send to the CPU and from there it is sent to video card which also has a microcontroller which displays ' f ' on the monitor.

2007-02-12 11:24:35 · answer #3 · answered by Rahul 2 · 0 1

Sorry man,not got that much time.

2007-02-12 10:32:32 · answer #4 · answered by roadrunner1335 2 · 0 4

fedest.com, questions and answers