Computer Variables in Simple Understandable English

a = 1

Question: What is a?

Algebra Answer: 1

Computer Programming Answer: a is a label of a box and inside the box is the number 1


Question: What is the =

Algebra Answer: equals whatever the sum of the calculation is.

Computer Programming Answer: Whatever comes after the equals (on the right of it) goes into the box (on the left of it) before it.


So a variable name is simply a label of a box that is in computer memory. That you can put something inside it.



Simon P.

In easy steps - Programming, Databasing and Web Development Tutor

if (isMyPost) { }