file organisation Flashcards
(8 cards)
what is a file
a specific piece of information or data element in a record.
record
a collection of related data elements or fields that are grouped together.
what is a fixed length feild
this allocates the same amount of space for each piece of data to be stored. if the file exceeds this space the stored value will be truncated. if the field has less than the maximum length unit will be padded to fill any remaining space.
variable length feild
these store only the characters that are needed without any padding this takes up less space.
what is serial file access
a method of accessing data in which blocks are read from a storage medium in the physical order they occur until the required item is reached.
what is sequential access
accessing data in one record at a time from the beginning of the file to the end sorted in some order
what is indexed sequential access
allows records to be accessed sequentially by help of an index