File

File

File is a container in a computer system for storing information. Files used in computers are similar in features to that of paper documents used in library and office files. There are different types of files such as text, data, directory, binary and graphic & these different types of files store different types of information. In a computer operating system, it can be stored on optical drives, hard drives or other types of storage devices.

The basic operations that can be performed on a file are :

  • Creation of a new files;
  • Modification of data or files attributes;
  • Reading of data from the files;
  • Opening the files in order to make the contents available to other programs;
  • Writing data to the files;
  • Closing or terminating a files operation;

In order to read or modify data in a files, specific software associated with the file extension is needed.