• edited by
1,910 views
1 1 vote
Consider linked allocation system, a program has just read the 15th disk block. After some point of time, If it next want to use the 20th   block, then how many disk blocks must the program access?

a: 5

b: 10

c:15

d:20

2 Answers

0 0 votes

 Linked List Allocation

In this scheme, each file is a linked list of disk blocks which need not be contiguous. The disk blocks can be scattered anywhere on the disk.

Therefore we need 20 Block Access In Worst Case

0 0 votes

Linked allocation follows Sequential Access.  So clearly if it next want to access the n'th   block, then it must have to start its access from first block. So to read 20th block in linked allocation , the reading will start from 1st block and total 20 disk block should be access here.

Position:
Show:

Related questions

1 1 vote
1 1 answer
1.5k
1.5k views
zeeshanmohnavi asked Dec 25, 2018
1,466 views
Consider a unix inode which maintains $5$ direct disk blocks, $1$ single indirect, $1$ double indirect and $1$ triple indirect DBA. Disk block size is $4 \text{ KB }$ and...
0 0 votes
1 1 answer
1.8k
1.8k views
rahul sharma 5 asked Dec 18, 2017
1,779 views
A disk rotates at a speed of 3600 rpm. It has 4000 cylinders, 16 surface and 206 sectors per tracks. Track storage capacity is 2048 bytes. What is the average latency tim...
3 3 votes
1 1 answer
2.2k
2.2k views
sourojit asked Dec 26, 2016
2,167 views
Consider a typical disk that rotates at 30000 rotations per minute(RPM) and has a transfer rate of 40Mbps.If the average seek time of the disk is twice the average rotati...
3 3 votes
2 2 answers
2.0k
2.0k views
Pankaj Joshi asked Nov 19, 2016
2,017 views
A certain hard disk rotates at 6000 rpm. It has 1 KB per sector and average 64 sectors/track and has a seek time of 5 msec. Which of the following statements is/are true?...