Skip to content
Category

Data types

page 1
bit
The bit is the most basic unit of information in computing and digital communication. The name is a portmanteau of binary digit. The bit represents a logical state with one of two possible values. These values are most commonly represented as , but other representations such as true/false, yes/no, on/off, and +/− are also widely used.
byte
The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit of memory in many computer architectures. To disambiguate arbitrarily sized bytes from the common 8-bit definition, network protocol documents such as the Internet Protocol () refer to an 8-bit byte as an octet.
data type
classification of data in computer science
tree
abstract data type
string
data type representing a finite sequence of encoded characters
object
programming element that groups data with relevant operations/behaviors
polymorphism
in programming languages and type theory, accessing different types using a common interface
assignable variable
storage location paired with a name, which contains a value
character
primitive data type
Boolean data type
basic computing representation of truth and falsehood
integer data type
datum of integral data type
word
base memory unit handled by a computer
type system
set of rules that assign a property called type to various constructs a computer program consists of, such as variables, expressions, functions or modules
abstract data type
mathematical model for data types
associative array
data type that associates keys with values
list
abstract data type used in computer science
anonymous function
function definition that is not bound to an identifier
reference data type
value that gives indirect access to e.g. a variable or register
record
composite data type; information block containing specific, identified fields
set
abstract data type in computer science
type conversion
changing an expression from one data type to another
interface
purely abstract class in object-oriented programming
fixed-point arithmetic
computer format for representing real numbers
enumerated type
data type consisting of an unordered set of named values
smart pointer
abstract data type that simulates a pointer while providing added features, such as automatic memory management or bounds checking, intended to reduce bugs caused by the misuse of pointers, while retaining efficiency
run-time type information
C++ mechanism that exposes information about an object's data type at runtime
raw data
data collected from a source, has not been subject to any other manipulation by a software program or a human researcher, analyst or technician
k-d tree
multidimensional search tree for points in k dimensional space
void type
in programming languages, a keyword indicating the absence of data
primitive data type
basic data type which can be instanciated and used with the predefined operations of a programming language, or assembled as a building block together with other instances of any type to create more complex composite data types
algebraic data type
in computer programming, a type formed by combining other types
interval arithmetic
method for bounding the errors of numerical computations
first-class functions
programming language feature that allows manipulating functions like other values
handle
abstract reference to an open or active computing resource
physical address
representation of memory address
C data type
data type supported by the C programming language
union type
data structure
subtyping
In programming language theory, subtyping (also called subtype polymorphism or inclusion polymorphism) is a form of type polymorphism. A subtype is a datatype that is related to another datatype (the supertype) by some notion of substitutability, meaning that program elements (typically subroutines or functions), written to operate on elements of the supertype, can also operate on elements of the subtype.
weak reference
cons
In computer programming, '''' ( or ) is a fundamental function in most dialects of the Lisp programming language. constructs memory objects which hold two values or pointers to two values. These objects are referred to as (cons) cells, conses, non-atomic s-expressions ("NATSes"), or (cons) pairs. In Lisp jargon, the expression "to cons x onto y" means to construct a new object with (cons x y). The resulting pair has a left half, referred to as the (the first element, or contents of the address part of register), and a right half, referred to as the (the second element, or contents of the decre
recursive data type
data type that refers to itself in its definition
const
type qualifier in C, C++, D, JavaScript, Julia and Rust
tagged union
data structure used to hold a value that could take on several different, but fixed, types
Character large object
collection of character data in a database management system
option type
encapsulation of an optional value in programming or type theory
opaque pointer
programming datatype
Complex data type
type class
type system construct for ad-hoc polymorphism
array data type
data type that represents a collection of elements (values or variables)
unit type
type allowing only one value in type theory
scalar
one-dimensional (real) variable in a computing context
composite data type
any data type which can be constructed in a program using the programming language's primitive data types and other composite types
varchar
A VARCHAR or variable character field is a set of character data of indeterminate length. The term varchar refers to a data type of a field (or column) in a database which can hold letters and numbers. Varchar fields can be of any size up to a limit, which varies by databases: an Oracle 11g database has a limit of 4000 bytes, a MySQL 5.7 database has a limit of 65,535 bytes (for the entire row) and Microsoft SQL Server 2008 has a limit of 8000 bytes (unless varchar(max) is used, which has a maximum storage capacity of 2 gigabytes).
kind
type of types in a type system
Signedness
In computing, signedness is a property of data types representing numbers in computer programs. A numeric variable is signed if it can represent both positive and negative numbers, and unsigned if it can only represent non-negative numbers (zero or positive numbers).
data file
computer file which stores data to be used by a computer application or system
product type
algebraic term to describe the result of multiplying data types in type theory
Generalized algebraic data type
Concept in functional programming
bottom type
type that is the subtype of all other types; equivalent to the empty type if uninhabited
Real data type
type of data