UGC NET Paper 2 (Computer Science)Hard
A Unix-style inode has 12 direct pointers and one single indirect pointer. With 4 KB blocks and 4-byte block pointers, the maximum file size is:
- A. 4096 KB
- B. 4144 KB
- C. 4048 KB
- D. 1036 KB
Correct answer: B. 4144 KB
(12 + 1024) blocks x 4 KB = 4144 KB; the indirect block holds 4096/4 = 1024 pointers.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- For three tasks, the Liu-Layland utilization bound for Rate Monotonic scheduling, n(2^(1/n) - 1), is approximately:
- Consider. I. Strict 2PL ensures conflict serializability. II. Strict 2PL ensures cascadeless schedules. III. 2PL guarantees freedom from…
- A file has 100,000 fixed-size records stored 10 per block in sorted order. A binary search on the sorting key needs at most how many block…
- In the wait-die deadlock prevention scheme, if an older transaction requests a lock held by a younger one:
- A Class B network 172.16.0.0 is to be divided into 8 equal subnets. The subnet mask is:
- With 4-bit sequence numbers, the maximum window sizes of Go-Back-N and Selective Repeat are respectively: