Product Code Database
Example Keywords: shirt -mobile $87
   » » Wiki: Field (computer Science)
Tag Wiki 'Field (computer Science)'.
Tag

Field (computer science)
 ( ) 

 C O N T E N T S 
Rank: 100%
Bluestar Bluestar Bluestar Bluestar Blackstar

In , a field ( data field) is a variable in a record.

(1974). 9780387901442, Springer-Verlag.
A record, also known as a , allows logically related data to be identified by a single name. Identifying related data as a single group is central to the construction of understandable .
(2026). 9780201710120, Addison-Wesley.
The individual fields in a record may be accessed by name, just like any variable in a computer program.
(2026). 9780201710120, Addison-Wesley.

Each field in a record has two components. One component is the field's declaration. The other component is the field's .

(1974). 9780387901442, Springer-Verlag.


Memory fields
Fields may be stored in random access memory (RAM). The following Pascal record definition has three field identifiers: firstName, lastName, and age. The two name fields have a datatype of an array of character. The age field has a datatype of . type PersonRecord =
   record
       lastName : array [ 1 .. 20 ] of Char;
       firstName : array [ 1 .. 20 ] of Char;
       age : Integer
   end;
     

In Pascal, the identifier component precedes a colon, and the datatype component follows the colon. Once a record is defined, variables of the record can be allocated. Once the memory of the record is allocated, a field can be accessed like a variable by using the dot notation. var alice : PersonRecord; alice.firstName := 'Alice';

Over time, the term field has been replaced with the terms data member

(2026). 9780321563842, Addison-Wesley.
and attribute.
(2026). 9780201710120, Addison-Wesley.
The following Java class has three attributes: firstName, lastName, and age. public class PersonRecord {
private String firstName;
private String lastName;
private int age;
     
}


File fields
Fields may be stored in a .
(2026). 9780201710120, Addison-Wesley.
A file may be written to or read from in an arbitrary order. To accomplish the arbitrary access, the provides a method to quickly seek around the file.
(1984). 9780139376993, Prentice Hall.
Once the disk head is positioned at the beginning of a record, each file field can be read into its corresponding memory field.

File fields are the main storage structure in the (ISAM). In relational database , the term field has been replaced with the terms column and attribute.

(2026). 9780596100124, O'Reilly Media, Inc..


See also
Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs