1.10 A hash table is created to store integer keys using a hash function h(k) = k mod 19. The current state of the hash table is shown below. All keys were inserted without any collisions. INDEX KEY b D В 4 5 6 B 9 10 [1 2 13 4 15 16 7 18 22 62 19 67 30 71 15 $4 HAS_BEEN USED F F F T T T F F F T T T F F T T T F At what position will the key 29 be stored in the hash table using h(k) above if linear probing is used to resolve collisions? (a) 6 (b) 10 (c) 12 (d) 17 (e) none of these answers

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
1.10 A hash table is created to store integer keys using a hash function h(k) = k mod 19. The current state of
the hash table is shown below. All keys were inserted without any collisions.
INDEX
KEY
b
D В
4
5
6
B
9 10
[1 2
13 4 15 16
7
18
22
62
19
67 30
71
15 $4
HAS_BEEN USED F F
F
T
T
T F
F
F
T
T T F
F
T
T
T
F
At what position will the key 29 be stored in the hash table using h(k) above if linear probing is used to
resolve collisions?
(a) 6
(b) 10
(c) 12
(d) 17
(e) none of these answers
Transcribed Image Text:1.10 A hash table is created to store integer keys using a hash function h(k) = k mod 19. The current state of the hash table is shown below. All keys were inserted without any collisions. INDEX KEY b D В 4 5 6 B 9 10 [1 2 13 4 15 16 7 18 22 62 19 67 30 71 15 $4 HAS_BEEN USED F F F T T T F F F T T T F F T T T F At what position will the key 29 be stored in the hash table using h(k) above if linear probing is used to resolve collisions? (a) 6 (b) 10 (c) 12 (d) 17 (e) none of these answers
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education