# a) Suppose you have a hash table of size 12, the keys are words, and the hash function is defined…

a) Suppose you have a hash table of size 12, the keys are words, and the hash function is defined as follows: h (key) =key % hashTableSize

i) Insert the following list of words into an initially empty hash table using quadratic probing. Show the steps for each insertion in the hash table. [pear, kiwi, mango, rambutan, durian, watermelon] The following is quadratic probing equation: hi (key) = (h (key) + 12) % hashTableSize ICT2116 (F) / Page 3 of 5 Use the character code table (Table 1) to convert the given words to numeric key. b c d e f g h i j k l m n o p q r w x y z 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 a S tu v Table 1 (8 marks)
ii) What is the load factor of the resulting table, and how many collisions occurred? (4 marks)
iii) What is the effort (i.e. number of comparisons) involved in checking whether each of the following words are in the hash table: rambutan, banana? marca)

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.