
Files 533
14.1 INTRODUCTION OF A FILE
A file is nothing but collection of records. Record is group of related data items. All data items related
to students, employees, customers etc is nothing but records. In other words, file is a collection of
numbers, symbols & text placed onto the secondary devices like hard disk, pen drive, compact disk
etc. Files are stored permanently on to the disk and one can access them for further monitoring/
processing if needed. In the next few paragraphs/sections, we will learn how files can be read and
modified as per requirements.
14.2 DEFINITION OF FILE
A file can be considered as a stream of characters. ...