GateAI
File Systems

GATE CSE 2017 Set 2 · Q8

MCQ1 markEasy

Time

In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? I. Contiguous II. Linked III. Indexed

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) II and III only

File Systems

Let us evaluate the disk block allocation schemes:

  1. Contiguous Allocation: Requires a file to occupy a set of contiguous blocks on the disk. As files are allocated and deleted, free disk space is broken into chunks, leading to external fragmentation.

  2. Linked Allocation: Each file is a linked list of disk blocks. Blocks can be scattered anywhere on the disk, completely eliminating external fragmentation.

  3. Indexed Allocation: Brings all the pointers together into one location called an index block. Disk blocks can be allocated anywhere, completely eliminating external fragmentation.

Thus, both Linked (II) and Indexed (III) allocation schemes suffer no external fragmentation.

Hence, the correct option is (D).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This File Systems previous year question is Q8 of the GATE CSE 2017 Set 2 paper. Find more GATE CSE PYQs on File Systems in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related File Systems PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

File Systems in GATE CSE

File Systems has 14 GATE CSE PYQs across 14 papers from 2011 to 2026. This is the only 1-mark MCQ among them, and it is the only one in GATE CSE 2017 Set 2.

How GATE tests File Systems

More from GATE CSE 2017 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2017 Set 2 · Q8 · MCQ

In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? I. Contiguous II. Linked III. Indexed

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.