The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
871 views
Calculate the total time required to read 35 sectors on a 2-sided floppy disk. Assume that each track has 8 sectors and the track-to-track step time is 8 milliseconds. The first sector to be read is sector 3 on track 10. Assume that the diskette is soft sectored and the controller has a 1-sector buffer. The diskette spins at 300 RPM and initially, the head is on track 10.
asked in Operating System by Veteran (52.1k points)
retagged by | 871 views
–1
Is it out of syllabus?
0
this question does not specify the location of  35 sectors where to read from?

if we assume the time to read  a sector is 1/40 sec

then total time taken  assuming that 35 sectors are distributed somewhat evenly is 8*5 millisec +35/40sec

2 Answers

0 votes

The diskette spins at 300 RPM and initially 

so 300 rpm --> 

1 track =1/300 minute

=60/300 seconds 

=1/5 seconds

so one sector =1/40 seconds

now given that 35 sector and started from the sector 3 on track 10th

so the distribution of sector which we have to read  is    6,8,8,8,5 

means first we read 6 sector of track 10th 

after that 8 sector track 11th

after that 8 sector track 12th

after that 8 sector track 13th

after that 5 sector track 14th 

Given:the track-to-track step time is 8 milliseconds

we have to read the data from the 5 track (that is 6,8,8,8,5)

so total time to move from one track to another for these five track =4*8 milliseconds=32ms

and total time to read 35 sectors =35/40 s=35000/40 ms=875 ms

so total time=875+32=907 ms

 

answered by Loyal (9.5k points)
edited by
0
What is 6,8,8,8,5 in your solution and how it came
0

@anchitjindal07 we have to read the data from the five track that is 6,8,8,8,5

because we have total 35 sector which we have to read and starting is from 3rd sector of 10th track 

so first we read 6 sector of track 10th 

after that 8 sector track 11th

after that 8 sector track 12th

so on 

at the end we left only 5 sector  

–2 votes
Arjun Sir need answer for the above questions
answered by (17 points)
0
What about overhead of controller ( 1 sector delay ) & rotational latency ?

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,782 questions
54,511 answers
188,329 comments
75,107 users