Data Structure

Quiz
•
Professional Development
•
Professional Development
•
Hard
Assistant Chennai
Used 46+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. 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
10 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
20 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) Same array position for all keys
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the search complexity in direct addressing?
a) O(n)
b) O(logn)
c) O(nlogn)
d) O(1)
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a hash function?
a) A function has allocated memory to keys
b) A function that computes the location of the key in the array
c) A function that creates an array
d) A function that computes the location of the values in the array
6.
MULTIPLE CHOICE QUESTION
20 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
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
7. What is the load factor?
a) Average array size
b) Average key size
c) Average chain length
d) Average hash table length
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Basic JavaScript

Quiz
•
Professional Development
10 questions
CISA - 5

Quiz
•
Professional Development
10 questions
React Basics Quiz

Quiz
•
Professional Development
10 questions
Trie - Data Structure Quiz

Quiz
•
Professional Development
10 questions
Arrays and Objects

Quiz
•
Professional Development
10 questions
Cuestionario 3 Entorno Económico Digital

Quiz
•
Professional Development
14 questions
Java Collections

Quiz
•
Professional Development
8 questions
Jet Report Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade