How do CPU/GPU “process”?

569 views

Like they don’t have moving parts, or do they? How does it decide where to send current based on the other currents/inputs etc coming in?

In: Technology

4 Answers

Anonymous 0 Comments

Transistors. They are like little valves that control the flow of electricity. The on/off of the valve is controlled by the output of another valve.

When you have enough of them, you can perform logical operations on bits such as AND, OR, and NOT. I.e. 1 and 1 = 1, 1 and 0 = 0, 1 or 0 = 1, not 1 = 0, not 0 = 1, etc.

With enough of these, you can build circuits that perform basic arithmetic such as addition, subtraction, multiplication, comparisons, etc. Once you can do that, you can pretty much do any computation you want.

You are viewing 1 out of 4 answers, click here to view all answers.