GATE IT 2005 · File Organization & Data Types

MCQ · 1 mark · Problem DBMS-INDX-0058

A hash table contains 10 buckets and uses linear probing to resolve collisions. The key values are integers and the hash function used is key % 10. If the values 43, 165, 62, 123, 142 are inserted in the table, in what location would the key value 142 be inserted?
  1. A
    2
  2. B
    3
  3. C
    4
  4. D
    6

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

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3761/gate2005-it-16

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