Difference between Sequential, Binary and Random File Access
Not what you're looking for?
What is the difference between sequential file access, random file access, and binary file access? For each of the three types, give an example of an application where the use of one type is better than the other two types.
Purchase this Solution
Solution Summary
The expert examines the differences between sequential binary and random file access.
Solution Preview
Sequential file access refers to reading or writing data records in sequential order, that is, one record after the other. However, a random-access data file enables you to read or write information anywhere in the file. But in a sequential-access file, you can only read and write information sequentially, starting from the beginning of the file. Both types of files have advantages and disadvantages. If you are always accessing information in the same order, a sequential-access file is faster. If you tend to access information randomly, random access is better.
Binary files are very ...
Purchase this Solution
Free BrainMass Quizzes
Basic Networking Questions
This quiz consists of some basic networking questions.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.