Before there were computers, there were algorithms. But now that there are computers,
there are even more algorithms
What is programming?
A program is a set of instructions to tell the computer what to do.
When computer programming started, programming languages didn't exist,
computer programs where computer processor instructions based on binary code,
01100011 01101111 01100100 01100101
C O D E
Word code represented in ASCII binary code.
Since binary code is very cryptic thus hard to remember to how the human brain works, humans invented programming languages, a programming language looks something like this.
var name = "Israel";
What the computer does in background is:
store string value "Israel" in variable name
This is a very basic instruction we give to the computer.
The basic units of the language you will use to formulate your instructions are the fo
But as in English grammar, programming languages also have grammar rules and names, the most basic unit of a program is called a statement, and looks like this: