GATE CS 2026 · Set-1 · File Organization & Data Types

MSQ · 1 mark · Problem DBMS-INDX-0037

Consider a hash table \(P[0,1, \ldots, 10]\) that is initially empty. The hash table is maintained using open addressing with linear probing. The hash function used is \(h(x)=(x+7) \bmod 11\).Consider the following sequence of insertions performed on \(P\) :\(\text { 1,13, 22, 15, 11, } 24\) Which of the following positions in the hash table is/are empty after these insertions are performed?
  1. A
    0
  2. B
    10
  3. C
    2
  4. D
    1

Solve it on GATE DA practice →More Storage & Indexing problems

Show the worked solutionOfficial GATE Answer Key: C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/523066/gate-cse-2026-set-1-question-14

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com