File Organization - Computer Science

  File Organization There are different sorts of file types such as text file, media files, spreadsheet, jpeg files, text-documented files...


File Organization

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 Files

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.

Sequential Files

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.

Direct-Access files

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.

File access

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.



Chemistry,3,Computer Science,8,Economics,4,General Paper,1,Physics,4,Sociology,4,
Alevel Note: File Organization - Computer Science
File Organization - Computer Science
Alevel Note
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content