Record (computer science)

recordrecordsstructstructsstructuresCall Detail Recordrecord typeCall detail recordingCDRdata record
In computer science, a record (also called a structure, struct, or compound data) is a basic data structure.wikipedia
213 Related Articles

Struct (C programming language)

structstructsC structs
In computer science, a record (also called a structure, struct, or compound data) is a basic data structure.
A struct in the C programming language (and many derivatives) is a composite data type (or record) declaration that defines a physically grouped list of variables under one name in a block of memory, allowing the different variables to be accessed via a single pointer or by the struct declared name which returns the same address.

Field (computer science)

fieldsfielddata fields
A record is a collection of fields, possibly of different data types, typically in fixed number and sequence.
In computer science, data that has several parts, known as a record, can be divided into fields.

Array data type

arrayarraysmulti-dimensional array
Records are distinguished from arrays by the fact that their number of fields is typically fixed, each field has a name, and that each field may have a different type.
Array types are distinguished from record types mainly because they allow the element indices to be computed at run time, as in the Pascal assignment.

Data structure

data structuresstructurestructures
In computer science, a record (also called a structure, struct, or compound data) is a basic data structure.
Thus, the array and record data structures are based on computing the addresses of data items with arithmetic operations, while the linked data structures are based on storing addresses of data items within the structure itself.

Linked data structure

linked data structuresconnectorConnector (computer science)
Records are a fundamental component of most data structures, especially linked data structures.
In computer science, a linked data structure is a data structure which consists of a set of data records (nodes) linked together and organized by references (links or pointers).

Product type

Producttuplepair type
In type theory, product types (with no field names) are generally preferred due to their simplicity, but proper record types are studied in languages such as System F-sub.
In many languages, product types take the form of a record type, for which the components of a tuple can be accessed by label.

Block (data storage)

blockblocksblock storage
Many computer files are organized as arrays of logical records, often grouped into larger physical records or blocks for efficiency.
In computing (specifically data transmission and data storage), a block, sometimes called a physical record, is a sequence of bytes or bits, usually containing some whole number of records, having a maximum length, a block size.

Tuple

tuplesn-tuple5-tuple
A record can be viewed as the computer analog of a mathematical tuple, although a tuple may or may not be considered a record, and vice versa, depending on conventions and the specific programming language.
Many programming languages offer an alternative to tuples, known as record types, featuring unordered elements accessed by label.

Data type

typedatatypetypes
A record type is a data type that describes such values and variables.

Table (information)

tabletabulartables
The concept of record can be traced to various types of tables and ledgers used in accounting since remote times.

System F-sub

System F System F <: his system
In type theory, product types (with no field names) are generally preferred due to their simplicity, but proper record types are studied in languages such as System F-sub.
System F <: has been of central importance to programming language theory since the 1980s because the core of functional programming languages, like those in the ML family, support both parametric polymorphism and record subtyping, which can be expressed in System F <: .

Storage record

recordsrecordrecord structure
Many computer files are organized as arrays of logical records, often grouped into larger physical records or blocks for efficiency.

Object-oriented programming

object-orientedobject orientedobject-oriented programming language
The fields of a record may also be called members, particularly in object-oriented programming; fields may also be called elements, though these risk confusion with the elements of a collection.

Go (programming language)

GoGo programming languageGolang
Record types can be defined with the struct keyword.

Data hierarchy

hierarchy
A record is a collection of related fields.

C (programming language)

CC programming languageC language
The C programming language initially provided the record concept as a kind of template that could be laid on top of a memory area, rather than a true record data type.
There are also derived types including arrays, pointers, records, and unions.

Ada (programming language)

AdaAda programming languageAda 83
Most languages designed after Pascal (such as Ada, Modula, and Java) also supported records.
However, Ada also has many data structuring facilities and other abstractions which were not included in the original ALGOL 60, such as type definitions, records, pointers, enumerations.

Passive data structure

Plain old data structureplain old dataPOD
Indeed, in most object-oriented languages, records are just special cases of objects, and are known as plain old data structures (PODSs), to contrast with objects that use OO features.
In computer science and object-oriented programming, a passive data structure (PDS, also termed a plain old data structure, or plain old data, POD), is a term for a record, to contrast with objects.

Cartesian coordinate system

Cartesian coordinatesCartesian coordinateCartesian
Some languages may also allow assignment between records whose fields have different names, matching each field value with the corresponding field variable by their positions within the record; so that, for example, a complex number with fields called and can be assigned to a 2D point record variable with fields and.
These notations are especially advantageous in computer programming: by storing the coordinates of a point as an array, instead of a record, the subscript can serve to index the coordinates.

Union type

unionunionsC unions
In contrast with a record (or structure), which could be defined to contain a float and an integer; in a union, there is only one value at any given time.

Pascal (programming language)

PascalPascal programming languageISO 7185
The Pascal programming language was one of the first languages to fully integrate record types with other basic types into a logically consistent type system.
Pascal also has data structuring constructs not included in the original ALGOL 60 types, like records, variants, pointers, enumerations, and sets and procedure/pointers.

COBOL

Picture clauseCOBOL-85Named condition
Other languages (such as COBOL) may match fields and values by their names, rather than positions.

Computer science

computer scientistcomputer sciencescomputer scientists
In computer science, a record (also called a structure, struct, or compound data) is a basic data structure.

Database

database management systemdatabasesDBMS
Records in a database or spreadsheet are usually called "rows".

Spreadsheet

spreadsheetscellspreadsheet program
Records in a database or spreadsheet are usually called "rows".