edited by
1,173 views
1 votes
1 votes
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
edited by

2 Answers

0 votes
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 votes
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.

Related questions

862
views
0 answers
1 votes
zeeshanmohnavi asked Dec 25, 2018
862 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 ... $2 \text{ TB }$Answer by ME: Option $(A)$
1.4k
views
1 answers
0 votes
rahul sharma 5 asked Dec 18, 2017
1,370 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 time ... 196.48D 8.33, 12.28Given answer is d, but i got 8.33 , 960Kbps
1.6k
views
2 answers
3 votes
Pankaj Joshi asked Nov 19, 2016
1,629 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 ... 800 successive sectors is 0.0052 sec.Only S1 and S2Only S2 and S3Only S2Only S1
1.6k
views
1 answers
3 votes
sourojit asked Dec 26, 2016
1,583 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 ... time+rotational latency+transfer time+controller time=2+1+0.0512+0.4096=3.4608