Concept of Computer Files
Concept of Computer Files
OBJECTIVES
Define some basic terms with respect to computer
files. List and explain various types of data items Construct a simple sketch for the computer file structure.
Definition of terms
Database: A database is integrated collection of
related files such as student database. File: A file is a logical collection of related records (with the same fields) for a set of occurrence. Record: A record is a collection of related field (data items) Field: A field is collection of related bytes that forms meaningful data items such as name, age address etc.
describing a particular attribute( such as name, age, address etc) and requiring one or several bits , bytes or words to represent an entity. Data item that can be divided into sub-item are called group item. E.g. Name (first name, middle name and last name) Data item that cannot be divided into sub-item are called elementary item. E.g. age
equal to one character. Bits: A bit is an acronym for binary digit. A unit of information expressed as either a 0 or 1 in binary notation.
fields and records with in a file, i.e. the relationships that exist between data item.
FILE
RECORD
RECORD
FIELD
FIED
FIELD
FIELD
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
ASSIGNMENT
Write a short note on the following:
Serial file organization. Sequential file organization.