GateAI
Searching, Sorting and Hashing

GATE CSE 2015 Set 3 · Q17

NAT1 markEasy

Time

Given a hash table TT with 25 slots that stores 2000 elements, the load factor α\alpha for TT is _______.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 80

Searching, Sorting and Hashing

The load factor α\alpha of a hash table is defined as the ratio of the number of elements (nn) stored in the hash table to the number of slots/buckets (mm) available in the table [4]:

α=nm\alpha = \frac{n}{m}

Given:

  • Number of elements, n=2000n = 2000

  • Number of slots, m=25m = 25

Substituting these values:

α=200025=80\alpha = \frac{2000}{25} = 80

Thus, the load factor α\alpha is 80.

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 Searching, Sorting and Hashing previous year question is Q17 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on Searching, Sorting and Hashing in Algorithms, 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 Searching, Sorting and Hashing 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.

Searching, Sorting and Hashing in GATE CSE

Searching, Sorting and Hashing has 27 GATE CSE PYQs across 20 papers from 2012 to 2026. 5 of them are 1-mark NAT questions like this one, and it is the only one in GATE CSE 2015 Set 3.

How GATE tests Searching, Sorting and Hashing

More from GATE CSE 2015 Set 3

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 3 · Q17 · NAT

Given a hash table T with 25 slots that stores 2000 elements, the load factor for T is …

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.