How does a computer program actually work?

AI Thread Summary
When the J key is pressed on a keyboard, an electrical signal is sent to the computer's processor, which interprets the signal and executes the corresponding code stored in memory. This code includes instructions to display the letter J, prompting the processor to send a signal to the graphics card. The graphics card converts this signal into pixels, which are then sent to the display monitor. The exact path of the electrical signal can vary based on the hardware and software configuration, involving components like the motherboard and input/output devices. Overall, the process illustrates the complexity of modern computers in executing even simple tasks.
jaydnul
Messages
558
Reaction score
15
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
 
Engineering news on Phys.org
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).
 
lundyjb said:
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

.
 

A computer program is a set of instructions or code written by a programmer to perform a specific task. When you press the J key on your keyboard, it sends an electrical signal to the computer's processor. The processor interprets this signal and executes the corresponding code for the J key, which is typically stored in the computer's memory. The code may include instructions to display the letter J on the screen, so the processor sends a signal to the graphics card. The graphics card then converts the signal into pixels and sends it to the display monitor, which ultimately displays the letter J on the screen.

The exact path that the electrical signal takes may vary depending on the specific hardware and software configuration of your computer. However, generally, the signal will travel from the keyboard to the processor, then to the memory, graphics card, and finally to the display monitor. It is important to note that modern computers are extremely complex and have multiple components working together to execute a single task, so the signal may also travel through other components such as the motherboard and input/output devices.

In summary, a computer program works by interpreting and executing code to perform a specific task, and the physical path of an electrical signal involves multiple components working together to display the desired output on the screen.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...

Similar threads

Replies
2
Views
1K
Replies
2
Views
1K
Replies
7
Views
163
Replies
3
Views
180
Replies
26
Views
8K
Replies
13
Views
7K
Back
Top