encyclopegia.org

Field (computer science)

In data hierarchy, a field (data field) is a variable in a record.[src] A record, also known as a data structure, allows logically related data to be identified by a single name.[src] Identifying related data as a single group is central to the construction of understandable computer programs.[src] The individual fields in a record may be accessed by name, just like any variable in a computer program.[src] Each field in a record has two components.[src] One component is the field's datatype declaration.[src] The other component is the field's identifier.[src]

In data hierarchy, a field (data field) is a variable in a record.[src] A record, also known as a data structure, allows logically related data to be identified by a single name.[src] Identifying related data as a single group is central to the construction of understandable computer programs.[src] The individual fields in a record may be accessed by name, just like any variable in a computer program.[src] Each field in a record has two components.[src] One component is the field's datatype declaration.[src] The other component is the field's identifier.[src] type PersonRecord = record lastName : array [ 1 ..[src] 20 ] of Char; firstName : array [ 1 ..[src] 20 ] of Char; age : Integer end; In Pascal, the identifier component precedes a colon, and the datatype component follows the colon.[src] Once a record is defined, variables of the record can be allocated.[src] Once the memory of the record is allocated, a field can be accessed like a variable by using the dot notation.[src] var alice : PersonRecord; alice.firstName := 'Alice'; Over time, the term field has been replaced with the terms data member and attribute.[src] The following Java class has three attributes: firstName, lastName, and age.[src] public class PersonRecord { private String firstName; private String lastName; private int age; } ==See also== ==References==[src]

22 sentences · 22 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Field (computer science)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/field-computer-science. Accessed 01 December 2026.

Chicago

"Field (computer science)." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/field-computer-science.

APA

encyclopegia.org. (2026). Field (computer science). Retrieved December 1, 2026, from https://encyclopegia.org/wiki/field-computer-science

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

computer

stub · references available

field hockey

stub · references available

computer mouse

stub · references available

Field Spaniel

stub · references available

IBM Personal Computer XT

stub · references available

etymology science

stub · references available

field army

stub · references available

computational science

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1361992612 · 0.5 · snapshot enwiki-001361992612

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.