Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
399 views
in Computer by (106k points)
closed by

Consider a hard disk with 16 recording surfaces (0-15) having 16384 cylinders (0-16383) and each cylinder contains 64 sectors (0-63). Data storage capacity in each sector is 512 bytes. Data are organized cylinder-wise and the addressing format is <cylinder no., surface no., sector no.>. A file of size 42797 KB is stored in the disk and the starting disk location of the file is <1200, 9, 40>. What is the cylinder number of the last sector of the file, if it is stored in a contiguous manner?


1. 1281
2. 1282
3. 1283
4. 1284

1 Answer

0 votes
by (106k points)
selected by
 
Best answer
Correct Answer - Option 4 : 1284

Data:

File size is 42797 KB= 42797 ×210 B=85594×29 B.

recording surfaces = 16 (0 to 15)

cylinders = (0-16383)

sectors(0-63
one sector=512 B

Calculation:
The file will be stored in 85594 sectors, that is, it needs to cross 85594 sectors
starting of the file is
number of cylinders to cross = (85594÷16)× 64 = 83 cylinders
remaining sectors to cross = 85594-(83×16× 64) = 602
number of surfaces to cross = 9
so to cross 9 surfaces we need to cross on more cylinder as the file has started at surface 9 and no surface in the cylinder is 16 so
number of the cylinder to cross=83+1=84
so cylinder number = 1200+84=1284

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...