Computer Science EngineeringVery hardISRO SC
A UNIX-style inode has 10 direct pointers plus one single, one double and one triple indirect pointer; block size 1024 bytes, pointer size 4 bytes. The maximum file size in bytes is
- A. 67381248
- B. 796672
- C. 17179879424
- D. 17247250432
Correct answer: D. 17247250432
Each indirect block holds 256 pointers: (10 + 256 + 256^2 + 256^3) x 1024 = 17247250432.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- 3 processes each need a maximum of 2 units of the same resource (held one at a time). What is the minimum number of units that guarantees…
- 3 processes each need a maximum of 4 units of the same resource (held one at a time). What is the minimum number of units that guarantees…
- Free partitions (in KB, in address order) are 400, 150, 400, 600, 100. Processes of sizes 260, 350, 90, 210 KB arrive in this order. Using…
- Free partitions (in KB, in address order) are 200, 500, 150, 300, 150. Processes of sizes 420, 350, 420, 350 KB arrive in this order…
- A B+ tree node (block 4096 bytes) holds up to p child pointers of 8 bytes and p-1 keys of 12 bytes. The order p (max pointers per node) is
- A B+ tree node (block 2048 bytes) holds up to p child pointers of 6 bytes and p-1 keys of 10 bytes. The order p (max pointers per node) is