## Nisha Mittal is teaching live on Unacademy Plus

Part 1 NTA NET Computer Question Science Previous Year

D-87-12 26. A hash function f defined as f (key) - key mod 13, with linear probing is used to insert keys 55, 58, 68, 91, 27, 145. What will be the location of 79 ? (A) 1 (B) 2 (C) 3 (D) 4

Part 1 NTA NET Computer Question Science Previous Year

D-87-12 26. A hash function f defined as f (key) - key mod 13, with linear probing is used to insert keys 55, 58, 68, 91, 27, 145. What will be the location of 79 ? (A) 1 (B) 2 (C) 3 (D) 4

f(key) = key mod 13 55 mod 13 58 mod 13 -. 68 mod 13 - gI mod 13 - 27 mod 13 2 Scanned by CamScanner

(kev) Ke mod 12 55 mod 13 3 58 mod 13 6 68 mod 13 = 3 91 mod 13 27 mod 13 - L5 mod 13 canne d by CamScanner

(key) = key mod 13 55 mod 13 3 58 mod 13 = 6 68 mod 13 Pye occopi 91 mod 13 = 27 mod 13 ed 45 mod 13 Scanned by CamScanner

(key)key mod 13 55 mO 58 mod 13 6 68 mod 133Pe occopied 27 mod 13 145 mod 13 - 2. Scanned by CamScanner

(key) = key mod 13 27 rrod 13 11 5 mod 18 = 79 mod 13A canne d by CamScanner

f (key) = key mod 13 55 mod 13- 3 58 mod 13 = 6 68 mod 13 = Poe occopi I mod13o 27 mod 13 1 145 mod 13 2 79 mod 1Pre occopied So we seanch for ree Scanned by CamScanner