Variables: Difference between revisions
Mr. MacKenty (talk | contribs) No edit summary |
Mr. MacKenty (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
In computer programming, a variable is a storage location paired with an associated symbolic name (an identifier) which contains a value.<ref>https://en.wikipedia.org/wiki/Variable_(computer_science)</ref> | In computer programming, a variable is a storage location paired with an associated symbolic name (an identifier) which contains a value.<ref>https://en.wikipedia.org/wiki/Variable_(computer_science)</ref> | ||
In other words, '''a variable is a storage location for data'''. Variables have names. Some computer language mandate you assign a [[data type]] to variables. | In other words, '''a variable is a storage location for data'''. Variables have names. Some computer language mandate you assign a [[data type]] to variables. When asked for the "official definition" please use the definition stated above. | ||
== See also == | |||
[[Variables in php]] | |||
== Standards == | == Standards == |
Revision as of 19:35, 18 September 2016
In computer programming, a variable is a storage location paired with an associated symbolic name (an identifier) which contains a value.[2]
In other words, a variable is a storage location for data. Variables have names. Some computer language mandate you assign a data type to variables. When asked for the "official definition" please use the definition stated above.
See also[edit]
Standards[edit]
- Define the terms: variable, constant, operator, object.