How do computers *actually* work?

Soldato
Joined
3 Jul 2005
Posts
3,027
Im pretty curious as to how computers work. I know what everything does and things like that, but how does it actually work. For example, how does the electricity completing the circuit of little bits of metal connect the hard drive which saves data in gigabytes which are just a sequence of 0 and 1s; how does that transfer to an image on the screen as each little pixel with different colours?

I know its fairly vague but im pretty curious. Its very confusing and im sure not many people know the answer.
 
You're going to have to break that question down into components.
It's not going to be answered in one post that's for sure!

Here's a nice video on LCD monitors:

 
As we've talked about, there are lots of different components that all work together to make a computer work, but what is the basic flow of how all this gets done? Let's go through an example:

Let's assume the operating system is loaded and an application (let's say Mario Double Dash) is loaded onto the hard drive. When the user clicks on the Mario Double Dash icon an electronic signal is sent to the CPU to start up the game. The CPU then starts moving the application from the hard drive to DRAM. It does this because DRAM is much faster. It can't keep all the programs on DRAM because 1) there is usually a lot more memory on the hard disk drives and it wouldn't all fit and 2) the DRAM loses all it's memory when the power turns off.

Once Mario is loaded into the DRAM the CPU talks to the memory and starts running instructions. It grabs (fetches) one instruction at a time and executes it. On a basic level each instruction doesn't do a whole lot. An instruction tell the display controller to light a pixel on the screen or to move a byte of memory from one place to another. But altogether these instructions run very fast cause the game to run. All of these instructions together are called the program or application.

Now the CPU gets a lot of help in executing instructions. For example, in the case where a pixel needed to be set to a certain color, the CPU wouldn't actually send the signal to the screen to have this done, but would rather send an instruction to the Video chip or card and the video chip would then take that instruction and would connect to the monitor to tell it to turn on the pixel.
 
What I would like to know is, How does Wi-Fi work? How does your PC get big films and whatnot wirelessly, is there data flying round your house or what? how does your PC built said data into something?
 
What I would like to know is, How does Wi-Fi work? How does your PC get big films and whatnot wirelessly, is there data flying round your house or what? how does your PC built said data into something?

You basically have hundreds of 'radio' waves flying around your house constantly :p Not including everyone else obviously
 
You basically have hundreds of 'radio' waves flying around your house constantly :p Not including everyone else obviously

Yes, but how does my PC know it is...Mirrors Edge for example? and how does it 'build' it? If all my data really is is radio waves, why do I need harddrives? Does it write compressed radio waves?
 
at one time, not too long ago, everybody who used a computer knew the answer to this question, it used to be taught in beginners computer classes. lol. Now most people who use computers use them truly as an appliance/black box.
 
Yes, but how does my PC know it is...Mirrors Edge for example? and how does it 'build' it? If all my data really is is radio waves, why do I need harddrives? Does it write compressed radio waves?

lol...no...i was referring to the wifi question...further to the wifi thing:

http://www.youtube.com/watch?v=Sbj4s1sqSx8&feature=related


Your PC pretty much goes back and forth constantly collecting data, in turn it sends requests to your montior building up the pixels...You cant realy explain it all in one small paragraph...:p

Further reading i guess: http://www.explainthatstuff.com/howcomputerswork.html
 
Back
Top Bottom