Programming code tells the computer to do something, but what makes the code actually mean anything to the computer?

1.23K views

Programming code tells the computer to do something, but what makes the code actually mean anything to the computer?

In: Engineering

36 Answers

Anonymous 0 Comments

The code you write is translated into 1s and 0s which represents on and off signals. The CPU is the primary component in your computer that determines what your computer does and the CPU consumes these 1 and 0 signals. It has input connections and output connections that takes signals in from one end and send out results from the other end. The input signals are instructions from the code and the the output signals tells your computer hardware (i.e. monitor, memory, gpu) what to do.

The CPU is one large network of switches (transistors) and they all take input signals and send out signals to other switches. Some CPU has about 1.5 billions such switches and they are all organized to produce the desired output signal when a set of input signals goes into the CPU.

Ultimately what makes the code actually mean anything to the computer is how the CPU manufacturer organizes the CPU switches (transistors). This is also the same for all other computer chips in your computer.

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