ad

EXAMPLE OF FILES




·        *       Employee records in an organization
·        *      A cashbook in a supermarket
·       *       A price list of items in a supermarket
·       *       Students records in an institution
·      *   A sales ledger in business organization
·        *     A stock record of items In a supermarket
STRUCTURE OF A COMPUTER FILE
From the user’s point of view, one of the important parts of an operating system is the file system.
 The file system provides the resources abstractions typically associated with secondary storage. The file system permits a user to create data collections, called files, with desirable properties. A computer file is referred to as a file that contains data, where data denotes program and or instruction. A file may also resides on secondary storage such as magnetic disk.

ELEMENTS OF A COMPUTER FILE
Every individual that uses a computer must definitely operate on data.
This data is input through the terminals or read from the cards generated by a program and finally could be stored on an external devices such as diskettes.

*      Fi le
*      Record
*      Field
*      Character


FILE
A file is a collection of similar records. It is considered as a  collection of data, structured in particular way, and used for a particular purpose.
It is a collection of related data records with similar characteristics. The file is treated as a single entity by users and applications and may be referenced by name.File have names and may be created and deleted.

RECORDS
A record is aa collection of related fields that can be treated as a unit by some application programs.

FIELD
A field provides a specific items of data about the subject of a record.A field of information is an item of data relating to a record of file and it is the basic element of data.

CHARACTER
A character may refer to any one of the letters of the alphabet (A-Z),
the ten numbers in the decimal number system (0......9) and the special symbols as /.,)(@!. It is the smallest element in a file. In data processing activities, the blank "space" between any two characters is also a character on its own.


Post a Comment

0 Comments