answersLogoWhite

0


Best Answer

A sequential file is accessed one record at a time, from first to last, in order. Each record can be of varying length.

A direct (or random) file is accessed in any order, by record number. Each record must be of identical length.

A sequential file might look like this, with records separated by commas:

bear,skunk,moose,fish,alligator

A direct file with the same data would look (something) like this:

bear_____skunk____moose____fish_____alligator

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Sequential file processing is just working through the input file one record at a time in the sequence that the information has been stored.

'Sequential' is still a kind of file organization.

Large mainframe installations frequently still use tape storage, the data of which is written and read sequentially.

For efficient writing and retrieval of data on disc storage, there are alternatives. Files can be indexed on key fields and retrieval can search the index (quicker than reading each record) which will then direct the program to the correct record within the file.

You might also search the index for all records of a particular type. The indexes are set up while the database is being built. If a new way of seeing the data is required than a new index may need to be built.

You see this every day, for example.. you can store songs on an MP3 player and the MP3 player can play them back to you one after another. There is often data attached to the song when it is stored that tells the genre, date, album name, etc. So you could then ask the player to play only songs from a particular genre or to play everything in chronological sequence. The songs are stored in the MP3 player sequentially but you are playing them back in a different order because you are using a different organization.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the differences between sequential file organization and direct file otganization?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the differences between serial file organization and sequential file organization?

Serial file organization stores records in a linear format, while sequential file organization stores records in a specific order defined by a key field. In serial file organization, records don't have to be retrieved in a specific order, whereas in sequential file organization, records are retrieved based on the key field's order.


What is the difference between the file maintenance and file organization?

file organization is of 3 types sequential,direct and indexed sequential where how data is accessed in eash file is decided where as file maintainence is


What is the best organization strategy for examining the differences between two subjects?

The best organization strategy for examining the differences between two subjects would be compare and contrast.


Difference between sequential organization and serial organization?

the difference is that sequential organization: this are records are stored and accessed in a particular order sorted using a key field serial organisation: records in a file are stored one after another. You need to go first file in order to reach the required file.


What are the differences and similarities between alliance and other international organization?

Pudding


What is the Difference between partnership organization and a corporate business organization?

There are several differences, but the main one is this. A corporation is a separate legal entity. A partnership is not.


What are the similiarities and differences between bureaucratic organization and flexible organization?

The bureaucratic organization run strictly under the Government Laws but in the flexible organization you can make or change your laws according to your policies or comfort.


Differences between entrepreneurship and intraprenuership?

intrapreneurship is an entrepreneurship within a large parameter of a larger organization.


Defference between direct sequential and index sequential?

reduce the chance of false identification.----apex


What is the differences between large hotels and small lodging establishments?

structure of large and small hotel organization?


What are the differences between intrapreneur and extrapreneur?

An extrapreneur creates a company; an intrapreneur creates an organization within an existing organization, or simply develops business of an existing company.


What is the difference between combinational alu and sequential alu?

There is one main difference between combinational ALU and sequential ALU. Combinational ALU depends only on present circuits, and sequential ALU depends on both the present and the past.