Difference between revisions of "Expression"

From Computer History Wiki
Jump to: navigation, search
(But stubby, but an OK start)
 
m (+cat)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
In a [[programming language]], an '''expression''' is an entity which combines a number of data item with [[operator]]s to produce a value which is then used in some way - perhaps saved in [[main memory]] or a [[Central Processing Unit|CPU]] [[register]] for use later in the [[program]].
+
In mathematics, and most [[programming language]]s, an '''expression''' is an entity which combines a number of data items (numbers, [[variable]] values, etc) with [[operator]]s, to produce a value which is then used in some way - perhaps saved in [[main memory]] or a [[Central Processing Unit|CPU]] [[register]] for use later in the [[program]].
  
 
An example of an expression would be ''((A * 3) + b)''.
 
An example of an expression would be ''((A * 3) + b)''.
  
 
{{stub}}
 
{{stub}}
 +
 +
[[Category: Basics]]

Latest revision as of 18:38, 14 December 2018

In mathematics, and most programming languages, an expression is an entity which combines a number of data items (numbers, variable values, etc) with operators, to produce a value which is then used in some way - perhaps saved in main memory or a CPU register for use later in the program.

An example of an expression would be ((A * 3) + b).