Write a short note on file organization and access, Operating System

Assignment Help:

Write a short note on file organization and access.

There are three methods to access files

  • 1Record Access
  • 2Sequential Access
  • 3Random Access

The record access method is dependent on the physical medium on which the file is stored. Magnetic tape is sequential by it's extremely nature to read a record you must start at the beginning of the tape and sequentially read every record until you get to the one you want. With disks, obviously random access is possible. It is the same as the difference between audio compact disc and audio cassette. With audio tape you have to begin at the beginning and run the tape forward until you get to the song you want to hear. With compact disc you are able to play the songs in random order or go directly to the track you want to hear.

Though, not only ought to the medium permit for random access to records, however the file itself must support going directly to the record you want to retrieve. This feature of the file is called as file organization.

 


Related Discussions:- Write a short note on file organization and access

Linux, write a linux command to display lines from 25 - 45 of directory "/e...

write a linux command to display lines from 25 - 45 of directory "/edc/password" write a linux command to display directory in /edc

Describe the concept of transaction atomicity, Q. Describe the concept of t...

Q. Describe the concept of transaction atomicity? Answer: A transaction is a sequence of read as well as writes operations upon some data followed by a commit operation. If the

What are the various disk-scheduling algorithms, What are the various disk-...

What are the various disk-scheduling algorithms? The several disk-scheduling algorithms are a. First Come First Served Scheduling b. Shortest Seek Time First Scheduling

Define busy waiting and spinlock, Define busy waiting and spinlock. Whe...

Define busy waiting and spinlock. When a process is in its significant section, any other process that tries to enter its critical section must loop continuously in the entry c

Difference between message passing and shared memory, Problem: a) To en...

Problem: a) To ensure proper operation, the operating system and all the other programs must be protected from any malfunctioning program. Describe a mechanism which is impleme

Prevention of a data race in a parallelised program, Present your own fully...

Present your own fully documented and tested programming example illustrating the prevention of a data race in a parallelised program. This is an example where total number of p

Write a note on multithreading, Write a note on multithreading. Multith...

Write a note on multithreading. Multithreading is the capability of an operating system to execute different parts of a program called as threads, at the same time. The program

Program, i need the job to be done within 3days

i need the job to be done within 3days

What is micro-kernel?, Question 1 What is Micro-kernel? What are the benef...

Question 1 What is Micro-kernel? What are the benefits of Micro-kernel? Question 2 Explain seven state process models used for OS with necessary diagram. Differentiate betwee

Define some language processors, Define Name of some language processors?  ...

Define Name of some language processors?   Name of some language processors are as follow: Assembler, Compiler and Interpreter

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd