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

1.25K 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

Computer’s processor (CPU) has a built in instruction set. It performs relatively simple things like “add two numbers together” or “reserve x amount of space in memory”. A programming language allows to input something closer to human language, though still quite cryptic to the uninitiated, and a compiler then takes this input and converts it into instruction sets, written in binary (0s and 1s) that the CPU can understand.

Programs then operate on data held in memory to make things happen.

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