GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · MCQ · 1 mark · Operating System › Memory Management

GATE 2020 Computer Science and Information Technology question: Consider allocation of memory to a new process. Assume that none of the existing holes…

Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process's memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statements is TRUE?

  1. (A)

    The hole created by first fit is always larger than the hole created by next fit.

  2. (B)

    The hole created by worst fit is always larger than the hole created by first fit.

  3. (C)

    The hole created by best fit is never larger than the hole created by first fit.

  4. (D)

    The hole created by next fit is never larger than the hole created by best fit.

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion