Concepts of Computer Files Note
Concepts of Computer Files Note
1. Computer files: These are the most basic unit of data that users can store on a disk. Every
program, image, video, song, and documents is stored as a file.
2. Record: A record is a collection of related data items or a field that are grouped together and
treated as an entity
3. Field: This is a group of related characters, in a file such as date of birth, an examination
number
Or surname of students
Each segment in the above – number, name , sex, address and course is a field while all the
fields together for a student is a record and the whole three records is a file.
Data items: This is the smallest unit of information stored in a computer file
FILE STRUCTURE
DATA
FIELD
RECORD
FILE
This is the structure of a file in a systematic order from top to bottom
➢ Serial file organization: This is one of the types of file organization in which the records
have been in the order in which they have arisen
➢ Sequential file organization: In sequential file organization, records are organize in
sequence by which they were added.
➢ Indexed file organization: An indexed file organization contains reference number, like
students’ number, that identify a record in a relation to other record. These references
are called the primary keys that are unique to a particular record.
➢ Random file organization: This is a file organized via index. Also called a DIRECT FILE. It
enables quick access to specific records or other elements.
METHODS OF ACCESSING FILES
File accessing is the way the content of a file is arranged in a storage medium.
The information stored in the file needs to be accessed and read into the computer
memory. The way the content of a file a file is accessed, that is the way it will be
accessed. This are different methods of accessing files. They are
1. Serial access 2. Randomly access 3. Sequential access
Transaction File: This is also known as movement file. This is made of different
transactions created from the documents. It is used to update the master file.
Reference file: This is a file with reasonable amount of permanency. It is used to
store data needed for reference purposes.
CRITERIA FOR CLASSIFYING COMPUTER FILES
1. By nature of content
2. By organization method
3. By storage medium