Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
420 views
in Computer by (44.8k points)
closed by

A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is 

(A) 3 KBytes 

(B) 35 KBytes 

(C) 280 KBytes 

(D) dependent on the size of the disk

1 Answer

+1 vote
by (41.3k points)
selected by
 
Best answer

(B) 35 KBytes

Each block size = 128 Bytes 

Disk block address = 8 Bytes 

∴ Each disk ca n contain = 128/8 = 16 addresses

Size due to 8 direct block addresses: 8 x 128 

Size due to 1 indirect block address: 16 x 128 

Size due to 1 doubly indirect block address : 16 x 16 x 128 

Size due to 1 doubly indirect block address: 16 x 16 x 128

 So, maximum possible file size: 

= 8 X 128 + 16 X 128 + 16 X 16 X 128= 1024 + 2048 + 32768 = 35840 Bytes = 35kBytes

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

...