Data type

noun · Computer science

Definition

The kind of value a variable holds, such as integer, string or Boolean.

Explanation

The data type determines which operations are allowed.

Example

Integer, float, string and Boolean are common data types.

Common confusion

Converting types is sometimes required.

Related terms

Study guides that use this term

Entry status: written by the editorial team and awaiting independent review. Spot an error? Use our corrections page.

← All vocabulary