Data Structure And Algorithm II
Quiz
•
Computers
•
University
•
Hard
RAHUL SONAWANE
Used 20+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a hash table?
a) A structure that maps values to keys
b) A structure that maps keys to values
c) A structure used for storage
d) A structure used to implement stack and queue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If several elements are competing for the same bucket in the hash table, what is it called?
a) Diffusion
b) Replication
c) Collision
d) Duplication
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a technique to avoid a collision?
a) Make the hash function appear random
b) Use the chaining method
c) Use uniform hashing
d) Increasing hash table size
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A technique for direct search is
a) Binary Search
b) Linear Search
c) Tree Search
d) Hashing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The goal of hashing is to produce a search that takes
a) O(1) time
b) O(n2 )time
c) O(log n ) time
d) O(n log n ) time
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement(s) is TRUE?
I. A hash function takes a message of arbitrary length and generates a fixed length code.
II. A hash function takes a message of fixed length and generates a code of variable length.
III. A hash function may give the same hash value for distinct messages.
I only
II and III only
I and III only
II only
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is direct addressing?
A. Distinct array position for every possible key
B. Fewer array positions than keys
C. Fewer keys than array positions
D. None of the mentioned
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
E-Commerce
Quiz
•
University - Professi...
19 questions
Programación Básica Prácticas Tema 2
Quiz
•
University
11 questions
Tutorium 1 - Prog2
Quiz
•
University
14 questions
Prueba Parcial de TIC
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
13 questions
PWM y ADC con el MSP430F5529
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
