
Hash Table and Sorting Algorithms Quiz

Quiz
•
Information Technology (IT)
•
University
•
Hard
Yasmin Kandil
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity for searching, inserting, and deleting elements in a hashtable (in the average case)?
O(1)
O(log n)
O(n)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function that determines the index of a key in a hashtable?
Sorting function
Mapping function
Hash function
Compression function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In open addressing, which collision resolution technique involves searching for the next available slot in a linear fashion?
Quadratic probing
Double hashing
Linear probing
Random probing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a desirable property of a good hash function?
It should be deterministic.
It should minimize collisions.
It should map similar keys to the same hash value.
It should distribute keys uniformly across the table.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a hashtable?
Sorting data
Storing data for quick retrieval
Compressing data
Securing data
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of mergesort in the worst case?
O(n²)
O(n log n)
O(log n)
O(n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mergesort is an example of which algorithmic paradigm?
Dynamic programming
Divide and conquer
Greedy algorithm
Backtracking
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
MakeCode Arcade Questions

Quiz
•
10th Grade - University
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
10 questions
Quiz Meet 2 Mini SC Programing

Quiz
•
University
15 questions
Kelas 7 - Halaman 12 (UH Bab 1)

Quiz
•
7th Grade - University
14 questions
Sorting Algorithms Quiz

Quiz
•
University
10 questions
Quiz Array Dimensi Satu dan Dua

Quiz
•
University
15 questions
Code2Duo

Quiz
•
University
10 questions
Multiple-Choice Quiz: Algorithms Lab 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University