Suppose a file has been allocated 25 disk blocks (numbered 0..24). If block 15 is to be deleted, determine the number of read/write operations on blocks assuming:
(i) Contiguous allocation
(ii) Linked allocation
(iii) Indexed allocation (where the index was already loaded in main memory).

Respuesta :

The number of contiguous allocation read/write operations on blocks.

How are disk blocks assigned for files?

In OS, there are 5 different types of file allocation mechanisms. the File Allocation Table (FAT), Inode, Linked File Allocation, Contiguous File Allocation, and Indexed File Allocation. When a block is allocated for a contiguous file, all of the allocated blocks on the hard disk are contiguous (adjacent).

Which algorithm is employed for disk block allocation?

The next available block in the super block list is allocated when the kernel has to allocate a block from a file system (algorithm alloc). The block cannot be redistributed once it has been completed until it is free.

To know more sbout blocks visit:-

https://brainly.com/question/3580092

#SPJ4

ACCESS MORE
EDU ACCESS
Universidad de Mexico