3. Use the table below to convert a character key to an integer for the following questions. Letter A B CDEF G|H|I |J K|L|M Key Letter NOPQRS TUVWXYZ 13 14 15 16 17 18 19 20 21 22 23 24 25 12 3 4 56 7 8 9 11 12 10 Key (a) that order into an initially empty 13-item hash table: (E,. A, S, Y.Q.U, E2, S2. T, I,0, N). Use h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for converting letter keys to integer values). Use linear probing. Give the contents of the hash table that results when the following keys are inserted in (b) - , Give the contents of the hash table that results when the same keys are inserted in that order into an initially empty 13-item hash table. Use h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for converting letter keys to integer values). Use double hashing and let h'(k) =1+(k mod 11) be the secondary hash function.
3. Use the table below to convert a character key to an integer for the following questions. Letter A B CDEF G|H|I |J K|L|M Key Letter NOPQRS TUVWXYZ 13 14 15 16 17 18 19 20 21 22 23 24 25 12 3 4 56 7 8 9 11 12 10 Key (a) that order into an initially empty 13-item hash table: (E,. A, S, Y.Q.U, E2, S2. T, I,0, N). Use h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for converting letter keys to integer values). Use linear probing. Give the contents of the hash table that results when the following keys are inserted in (b) - , Give the contents of the hash table that results when the same keys are inserted in that order into an initially empty 13-item hash table. Use h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for converting letter keys to integer values). Use double hashing and let h'(k) =1+(k mod 11) be the secondary hash function.
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
Related questions
Question
![3. Use the table below to convert a character key to an integer for the following questions.
Letter A Bc |D EF|G |H |I |J |K L M
Key
Letter NOPQRS
Key
0 12 3 45 6 789 10 11 12
TUVWXYZ
13 14 15 16 17 18 19 20 21 22 23 24 25
(a)
that order into an initially empty 13-item hash table: (E, A, S1, Y, Q,U, E2, S2, T, I,0, N). Use
h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for
converting letter keys to integer values). Use linear probing.
Give the contents of the hash table that results when the following keys are inserted in
(b) -, Give the contents of the hash table that results when the same keys are inserted in
that order into an initially empty 13-item hash table. Use h(k) = k mod 13 for the hash function
for the k-th letter of the alphabet (see above table for converting letter keys to integer values).
Use double hashing and let h'(k) =1+ (k mod 11) be the secondary hash function.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fabf6ad43-fb47-44ee-a0cc-9278a86e95d6%2F521f894d-d687-497a-aa6a-e3443c8a85a8%2Ftyyzkl8_processed.jpeg&w=3840&q=75)
Transcribed Image Text:3. Use the table below to convert a character key to an integer for the following questions.
Letter A Bc |D EF|G |H |I |J |K L M
Key
Letter NOPQRS
Key
0 12 3 45 6 789 10 11 12
TUVWXYZ
13 14 15 16 17 18 19 20 21 22 23 24 25
(a)
that order into an initially empty 13-item hash table: (E, A, S1, Y, Q,U, E2, S2, T, I,0, N). Use
h(k) = k mod 13 for the hash function for the k-th letter of the alphabet (see above table for
converting letter keys to integer values). Use linear probing.
Give the contents of the hash table that results when the following keys are inserted in
(b) -, Give the contents of the hash table that results when the same keys are inserted in
that order into an initially empty 13-item hash table. Use h(k) = k mod 13 for the hash function
for the k-th letter of the alphabet (see above table for converting letter keys to integer values).
Use double hashing and let h'(k) =1+ (k mod 11) be the secondary hash function.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education