Register to reply

How does a computer program actually work?

by Jd0g33
Tags: program, work
Share this thread:
Jd0g33
#1
Jan21-13, 03:07 PM
P: 297
I really want to know the physical path an electrical signal takes on its journey. For example, when i press the J key on my keyboard, an electrical impulse is sent where? to the hard drive where the keyboard program is stored? Could someone just give me all the stops that electrical signal will take in order to be eventually displayed as a J by the pixels on my screen? Thanks a bunch
Phys.Org News Partner Engineering news on Phys.org
Printing the metals of the future
New gadget helps the vision-impaired to read graphs
3D printing helps designers build a better brick
the_emi_guy
#2
Jan21-13, 03:31 PM
P: 585
There is no single electrical signal that conveys the J key on the keyboard to the J shown on the display. In fact there are thousands of electrical signals involved. The dirty details of the sequence of all of these signals needed to perform this seemly simple act is what computer/electrical engineers learn getting their degree.

Many of these signals are inside of integrated circuits (processor memory etc.).
Many are on the motherboard (address/data lines), USB lines, interrupts.
Many are within the keyboard itself (inside microcontroller and on keyboard motherboard).

And it depends on stuff like:
What kind of keyboard (traditional, USB, wireless).
What kind of computer (Apple, PC, Sun workstation, Ipad)
Which operating system (Linux, Microsoft).
dlgoff
#3
Jan21-13, 03:51 PM
Sci Advisor
PF Gold
dlgoff's Avatar
P: 2,704
Quote Quote by lundyjb View Post
I really want to know the physical path an electrical signal takes on its journey. ...
Well, this shows "one path" in a microprocessor: http://education.mrsec.wisc.edu/Edet...cpu/cpu2b.html

berkeman
#4
Jan21-13, 03:54 PM
Mentor
berkeman's Avatar
P: 40,717
How does a computer program actually work?

Quote Quote by lundyjb View Post
I really want to know the physical path an electrical signal takes on its journey. For example, when i press the J key on my keyboard, an electrical impulse is sent where? to the hard drive where the keyboard program is stored? Could someone just give me all the stops that electrical signal will take in order to be eventually displayed as a J by the pixels on my screen? Thanks a bunch
Here is some reading that you should check out at HowStuffWorks.com:

http://www.howstuffworks.com/pc.htm

.


Register to reply

Related Discussions
Computer Program General Math 5
Computer Program Programming & Computer Science 0
Computer program General Discussion 23
Computer Program Classical Physics 6
Computer Program Set Theory, Logic, Probability, Statistics 5