expression


In programming, an expression is any legal combination of symbols that represents a value. Each programming language and application has its own rules for what is legal and illegal. For example, in the C language x+5 is an expression, as is the character string “MONKEYS.”

Every expression consists of at least one operand and can have one or more operators. Operands are values, whereas operators are symbols that represent particular actions. In the expression

x + 5

x and 5 are operands, and + is an operator.

Expressions are used in programming languages, database systems, and spreadsheet applications. For example, in database systems, you use expressions to specify which information you want to see. These types of expressions are called queries.

Expressions are often classified by the type of value that they represent. For example:
Boolean expressions : Evaluate to either TRUE or FALSE
integer expressions: Evaluate to whole numbers, like 3 or 100
Floating-point expressions: Evaluate to real numbers, like 3.141 or -0.005
String expressions: Evaluate to character strings

Read Also:

  • extended ASCII

    )A set of codes that extends the basic ASCII set. The basic ASCII set uses 7 bits for each character, giving it a total of 128 unique symbols. The extended ASCII character set uses 8 bits, which gives it an additional 128 characters. The extra characters represent characters from foreign languages and special symbols for […]

  • extended keyboard

    A keyboard for Macintosh computers that contains up to 15 function keys above the alphanumeric keys, and a numeric keypad. It is sometimes called an enhanced keyboard because of its similarity to the PC enhanced keyboard.

  • extended memory

    Memory above and beyond the standard 1MB (megabyte) of main memory that DOS supports. Extended memory is only available in PCs with an Intel 80286 or later microprocessor. Two types of memory can be added to a PC to increase memory beyond 1MB: expanded memory and extended memory. Expanded memory conforms to a published standard […]

  • extension

    (1) An extra feature added to a standard programming language or system. (2) In DOS and some other operating systems, one or several letters at the end of a filename. Filename extensions usually follow a period (dot) and indicate the type of information stored in the file. For example, in the filename EDIT.COM, the extension […]

  • external bus

    Another name for an external data bus.


Disclaimer: expression definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.