Question

The table below shows several items and their hashcodes, as derived from some arbitrary hashing function....

The table below shows several items and their hashcodes, as derived from some arbitrary hashing function. Assume you have a hashtable with an initial array size of 13 (0-based) and a load factor of 0.75. Assume the array is always doubled when it needs to be resized (i.e., the table size sequence is: 13, 26, 52, 104, ...). Assume the items are added in the order in which they are listed, and assume the hashtable uses quadratic probing to resolve collisions.

Match each item in the table with the numbered array index in which it will reside once all the items have been added.

Item                                        Hashcode
Snakeskin Fruit    2236
Atemoya            1776
Akebia Quinata     8231
Rambutan           529
Screw Pine         661
Buddha’s Hand      3388
Jackfruit          1492
Kiwano             2012

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Snakeskin Fruit

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Atemoya

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Akebia Quinata

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Rambutan

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Screw Pine

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Buddha's Hand

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Jackfruit

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.   

Kiwano

A.

0

B.

1

C.

2

D.

3

E.

4

F.

5

G.

6

H.

7

I.

8

J.

9

K.

10

L.

11

M.

12

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. A

2.C

3.D

4.J

5.I

6.K

7.L

8.B

Add a comment
Know the answer?
Add Answer to:
The table below shows several items and their hashcodes, as derived from some arbitrary hashing function....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Determining missing items in return and residual income computations Data are presented in the following table...

    Determining missing items in return and residual income computations Data are presented in the following table of returns on investment and residual incomes: Invested Assets Operating Income Return on Investment Minimum Return on Investment Minimum Acceptable Operating Income Residual Income $1,200,000 $198,000 (a)   12% (b)     (c)    $800,000 (d) (e)   (f)   $120,000 $40,000 $750,000 (g) 14% (h)   $90,000 (i)    $1,800,000 $441,000 (j)   15% (k)     (l)    Determine the missing items, identifying each item by the appropriate letter. Round your percentages to one...

  • Determining missing items in return and residual income computations Data are presented in the following table...

    Determining missing items in return and residual income computations Data are presented in the following table of returns on investment and residual incomes: Invested Assets Operating Income Return on Investment Minimum Return on Investment Minimum Acceptable Operating Income Residual Income $820,000 $205,000 (a)   14% (b)     (c)    $600,000   (d) (e)   (f)   $72,000 $24,000 $370,000   (g) 14% (h)   $40,700 (i)    $280,000 $56,000 (j)   11% (k)     (l)    Determine the missing items, identifying each item by the appropriate letter. For all amounts, round to...

  • Create a precedence diagram from the given table, then find a workstation assignment by taking cycle...

    Create a precedence diagram from the given table, then find a workstation assignment by taking cycle time=17 minutes and assigning in the order of the greatest task time. Task Label Time Predecessors A 2 ------ B 7 A C 5 ------ D 2 ------ E 15 C, D F 7 A, E G 6 ------ H 4 B, G I 9 A J 10 ------- K 4 ------- L 8 J, K M 6 A, L N 15 F, H,...

  • Determining missing items in return and residual income computations Data for Uberto Company are presented in...

    Determining missing items in return and residual income computations Data for Uberto Company are presented in the following table of returns on investment and residual incomes: Invested Assets Income from Operations Return on Investment Minimum Return on Investment Minimum Acceptable Income from Operations Residual Income $870,000 $200,100 (a) 13% (b) (c) $500,000 (d) (e) (f) $55,000 $25,000 $390,000 (g) 14% (h) $39,000 (i) $290,000 $58,000 (j) 12% (k) (l) Determine the missing values, identified by the letters above. For all...

  • The Kelsh Company has two divisions North and South. The divisions have the following revenues an...

    The Kelsh Company has two divisions North and South. The divisions have the following revenues and expenses: North South Sales $700,000 $600,000 Less Operating Expenses: Variable Expenses 350,000 250,000 Traceable Fixed Expenses 200,000 160,000 Allocated Common Corporate Expenses 180,000 730,000     120,000 530,000 Net Operating Income (Loss) $( 30,000) $ 70,000 Management at Kelsh is pondering the elimination of North Division. If North Division were eliminated, its traceable fixed expenses could be avoided. The total common corporate expenses would be unaffected....

  • Imagine a single poorly-designed table, r(R), with attributes A, B, C, D, E, F, G, H,...

    Imagine a single poorly-designed table, r(R), with attributes A, B, C, D, E, F, G, H, I, J, K, L, M. You’ve looked over the naughty designer’s work and come up with the following logical functional dependencies. A —> {B, D, F}? B —> {G, H, I}? {A, C} —> {E, J, K}? {J, K} —> {L, M} H is a composite attribute group with 3 attributes; H1, H2, H3. H3 is a multivalued attribute. L is a multivalued attribute....

  •       -       A.       B.       C.       D.   ...

          -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Telecommuting       -       A.       B.       C.       D.       E.       F.       G.       H.       I....

  •       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.     ...

          -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Telecommuting       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Change       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Job Sharing       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.       M.       N.       O.    Job Redesign       -       A.       B.       C.       D.       E.       F.       G.       H.       I.      ...

  • QUESTION 1 Please match the definition to the word it describes.       -      ...

    QUESTION 1 Please match the definition to the word it describes.       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.    Includes securities that mature in less than one year.       -       A.       B.       C.       D.       E.      ...

  • use hamiltons method to find wach states's apportionment of congressional seats pitte) - The table shows...

    use hamiltons method to find wach states's apportionment of congressional seats pitte) - The table shows the results of a country's census. 105 seats must be divided among the 15 states according to their populations. Use Hamilton's method to find each state's apportionment of congressional seats. A B C D E F G H 157,738 60,693 58,697 59,760 238,988 569,733 263,868 238,839 J K L M N 0 402.571 338,080 485,001 55,268 245,530 71,007 630,543 Fill in the table to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT