Terminal value (computer science)
Encyclopedia
For other meanings of the term terminal value, see Terminal value (disambiguation).


In computer science
Computer science
Computer science or computing science is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems...

, a terminal value is a string or character representing the end. eg, a terminal value is introduced when one hits the 'enter' key in order to start a new paragraph.

Terminal value may also refer to a symbol of a grammar definition from Backus-Naur form. A terminal value in Bakus-Naur form is the name of a symbol that never appears on the left-hand side of the grammar list. For example:

::= |

::= hello | goodbye

::= Dave | James


Here the symbols 'hello','goodbye','Dave' and 'James' are the terminal symbols, i.e. the bottom level of the grammar, what you actually see.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK