
Hashing and Sorting Quiz

Quiz
•
Computers
•
University
•
Medium
Manju Jose
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which step is NOT part of the basic algorithm for inserting an item using hashing?
Input the key.
Calculate the hash value using a hash function.
Sort the array after insertion.
Store the key in the array location pointed to by the hash value.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the calculated hash value points to a location that already contains a different key?
The key is overwritten.
The collision must be resolved using techniques like chaining or open addressing.
The key is discarded.
The hash function recalculates the value until an empty spot is found.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a use case of hashing?
Table lookup or data comparison tasks.
Sorting elements in an array.
Detecting duplicated records in a large file.
Indexing for efficient database searches.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using a hash function, what is the term for the large original data being converted?
Hash code.
Key.
Index.
Array.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in the algorithm for retrieving or searching for a key using hashing?
Calculate the hash value.
Input the key.
Compare the key with stored values.
Start a linear search in the array.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bubble sort is also known as ______________ sort
Linear.
Exchange.
Binary
Divide
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insertion sort algorithm works on the basis of placing a key in the appropriate position.
False.
True.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Programming

Quiz
•
University
10 questions
Part 2 - Command Line

Quiz
•
University
15 questions
NSCC-CODE TO COIN

Quiz
•
University
15 questions
Pra UAS Algoritma dan Pemrograman Lanjut

Quiz
•
University
15 questions
Selection Sort & Exhaustive Search

Quiz
•
University
15 questions
Javascript Array dan Object

Quiz
•
University
16 questions
susulan dan ramedial Uji Pemahaman Komputasional

Quiz
•
9th Grade - University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University