Conditionals

From Computer Science Wiki
Revision as of 20:45, 18 September 2016 by Mr. MacKenty (talk | contribs) (→‎A video)
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 languages mandate you assign a data type to variables.


A video[edit]

This video references the C programming language and scratch, but the ideas about conditionals are excellent. In the case of conditionals, PHP and C share similar syntax (but not exact).

Standards[edit]

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

See Also[edit]

References[edit]