For key values of 84 and 108 and a hashing function of key % 12, what is the result?
A. indexes of 7 and 9
B. indexes of 0 and 1
C. a collision
D. indexes of 12 and 14
Answer: C
You might also like to view...
The instruction function f(n) = 4n + 3 lg n belongs to the O( n ) time complexity because:
A. the n term is the first term in the function B. there is only an n term and a lg n term, and there can not be a O( lg n ) time complexity C. the lg n term is absorbed into the n term for the time complexity D. This statement is false. This function belongs to the O( n + lg n ) time complexity.
PowerPoint's Slide Sorter view is the view used to write the presentation and add design elements
Indicate whether the statement is true or false
A occurs when an executed statement does not directly follow the previously executed statement in the written application.
a) transition b) flow c) logical error d) transfer of control
Match the following comparison operators with their meaning:
I. > II. < > III. < IV. <= V. >= A. less than B. less than or equal to C. not equal to D. greater than E. greater than or equal to