teach-ict.com logo

THE education site for computer science and ICT

2. Variables


A variable is a location in memory that holds one or more values. It has a label or name to identify it and its values can be changed as the program runs.

The programmer gives each variable a name to identify it. This name is used by the program to find the memory location where the variable's data is stored, in order to read or modify it.

single valued variable


Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: What is a variable in programming?