That is a question so broad, you can fill multiple college classes with it.
On a (very) high level:
Information is stored as a string of 0s and 1s, which is sent to the CPU, which then performs different actions on this string, like "add the value on position 1234 with the value on position 1212" or "write 10 to position 12345" or "repeat until the value in position 123 equals 0", etc.
These instructions come as a string of 0 and 1 as well, and once they are finished, the end product is then written back into memory or passed on to other parts of the computer, like display, external memory, WiFi connectors, ...
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Links without your own explanation or summary are not allowed. ELI5 is intended to be a subreddit where content is generated, rather than just a load of links to external content. A top-level reply should form a complete explanation in itself; please feel free to include links by way of additional context, but they should not be the only thing in your comment.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your submission has been removed for the following reason(s):
Whole topic overviews are not allowed on ELI5. This subreddit is meant for explanations of specific concepts, not general introductions to broad topics.
If you would like this removal reviewed, please read the detailed rules first. If you believe this submission was removed erroneously, please use this form and we will review your submission.
With software which speaks to hardware. Let's say your program says
PRINT "a"
The program will send the ASCII code for "a" to the operating system, saying this is to be printed. The operating system will look up the pattern of pixels for "a" in a font file, and send it to the video card. The video card will store it in the frame buffer, which is then repeatedly read and sent to the screen, which will decode the pixel data to decide which dots of red, green and blue should be illuminated.
This is a bit simplified, because i don't actually know any of this in detail, but it shows the principle.
The great thing is that all the links in the chain only need to understand its immediate neighbors. The screen doesn't need to understand a frame buffer, or an OS, it just needs to translate a video signal to a screen image. And the programmer doesn't need to know anything about how the screen works, just how to tell the computer to display something. This divides the immense complexity of modern computers into components that a team of engineers can comprehend.
Thank you! It makes sense to not be bothered about everything.
Guess I was doing that, lol. I was trying to understand everything from the code translation to execution and my brain was getting stuck.
segelnhoch3 t1_j6iu3t1 wrote
That is a question so broad, you can fill multiple college classes with it.
On a (very) high level: Information is stored as a string of 0s and 1s, which is sent to the CPU, which then performs different actions on this string, like "add the value on position 1234 with the value on position 1212" or "write 10 to position 12345" or "repeat until the value in position 123 equals 0", etc.
These instructions come as a string of 0 and 1 as well, and once they are finished, the end product is then written back into memory or passed on to other parts of the computer, like display, external memory, WiFi connectors, ...