File Organization There are different sorts of file types such as text file, media files, spreadsheet, jpeg files, text-documented files...
There are different sorts of file types such as text file, media files, spreadsheet, jpeg files, text-documented files and many more. These data are stored in record, which are saved in files that needs to be organized. These files are stored in the binary code for the intention of using it whenever necessary. The data are stored in two types, i.e. Text file or binary file. In text file, the inputs are predetermined and the characters are stored in the defined code. However, binary file are stored in the internal language of the computer system, i.e. 1 and 0. For example, an integer may contain two character of 1 and 0.
Serial File are stored in records that do not have particular defined order when entering the data. The records are stored in chronological order after a data is input in constitutive order. One common use of serial files are in the banks, during the transaction of deposit and withdraw. Each time the account holders, deposits or withdraws, the transaction is recorded in chronological order, one after each other.
The file storage of sequential files are best suited for long-term use. The records stored in sequential files are in ordered format. It can be used in banking sectors, where the historical transaction of individual customers is stored, also can be used as a master file. The further transaction would be periodically, updated time and again.
A key field is required to for entering the values that are unique in order for the sequential files to be in ordered. The file has may not be in consecutive, but it is necessary to be in sequence. In order to access any sequential file, sequential readings needs to be align with the values of the key fields, until the required value is found.
It is best suited for large amount of files, as it can be accessed with less time. It is also referred as ‘random-access’ files and it is not defined by the sequential reading of files. The search for sequential files would take much time in larger files, whereas the files stored in direct-access files would be stored in identified record that can be accessed whenever necessary in ideal situation. The finding process requires to choose the position of the record that holds the data in the records, in order to carry out the search.
When the file is chosen to keep the records in it, it needs to be accessed at some point of time to review, edit or delete the data. There are different approach for different file type to access the location of the file. For example, data that needs to be accessed of sequential files can be done by creating a new version of file. When creating a new version of file, the old data from the previous file needs to be copied and taken to new version of file to review, edit or delete it. For direct access file, there is no need to change the file, unless the file is fully occupied. Whereas serial file type is best suited for backing up data on magnetic tape or batch processing. But when updating or reviewing the data, direct-access file type is best suited.