Variables: Difference between revisions

From Computer Science Wiki
No edit summary
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 this language.  
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.  


== Standards ==  
== Standards ==  

Revision as of 08:29, 15 September 2016

Programming basics[1]

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.

Standards[edit]

  • Define the terms: variable, constant, operator, object.

References[edit]