What is the advantage of chaining in a hash table?

a. No load limit
b. The hash table can be smaller
c. The hash function is less complicated
d. A key-value pair can be deleted


a. No load limit

Computer Science & Information Technology

You might also like to view...

Which type of exception is thrown if a call to the new operator fails?

a. ArithmeticError b. DivideByZero c. bad_alloc d. MemoryError

Computer Science & Information Technology

Answer the following questions true (T) or false (F)

1. If B is a public base class of D, then D’s members cannot invoke public members functions of B. 2. An inheritance chain of any desired length is possible.

Computer Science & Information Technology

Match the following commands to the corresponding descriptions.

_____ 1. HI= hello _____ 2. PS1="Hi: " _____ 3. ps a _____ 4. echo $HI _____ 5. set _____ 6. kill 9 11237 _____ 7. export _____ 8. ls | tee xyz _____ 9. grep hello xyz _____ 10. unset xyz _____ 11. G _____ 12. export xyz _____ 13. set o vi _____ 14. 10G _____ 15. alias D=rm _____ 16. alias _____ 17. set -o noclobber _____ 18. set -o ignoreeof _____ 19. fc -l _____ 20. set +o noclobber a: removes the specified variable b: displays the list of the shell variables c: removes the specified process d: displays the current directory and saves it in a file e: finds the string hello in the specified file f: displays exported variables g: reassigns the prompt string h: assigns value to variable HI i: displays the status of all active processes j: displays the content of the specified variable k: makes letter D the alias name for the rm command l: displays the 10th command from the history file m: exports the variable called xyz n: lists commands in the history list o: shows the last command in the history file p sets the option to prevent overwriting an existing file q sets the option to prevent accidental log off when [Ctrl-d] key is used r turns off the option that prevents overwriting an existing file s turns on the command line editing option t lists the name of aliases

Computer Science & Information Technology

What is the improved efficiency of Dijkstra's algorithm by using an alternative data structure?

a. O((V+E) log E) b. O(V+E) c. O(V) d. O(V*E)

Computer Science & Information Technology