GATE CS 2025 (Forenoon) — Question 51

Operating Systems (OS)File Systems Operations & Disk Scheduling OptimizationNAT2 marksMedium

A disk of size 512 M bytes is divided into blocks of 64 K bytes. A file is stored in the disk using linked allocation. In linked allocation, each data block reserves 4 bytes to store the pointer to the next data block. The link part of the last data block contains a NULL pointer (also of 4 bytes). Suppose a file of 1 M bytes needs to be stored in the disk. Assume, \( 1\text{ K} = 2^{10} \) and \( 1\text{ M} = 2^{20} \). The amount of space in bytes that will be wasted due to internal fragmentation is ________. (Answer in integer)
Practise the full 2025-FN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkOperating System Concepts (Galvin)Scheduling, synchronisation, deadlocks, memory and file systems.
Practise more on File Systems Operations & Disk Scheduling OptimizationTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group