BCA Semester 3 – Data Structure and Algorithms – Unit 9: Searching (5Hrs)
Comprehensive questions and detailed answers for Unit 9: Searching (5Hrs). Perfect for exam preparation and concept clarity.
Write binary search. Consider a hash table of size 10; insert the keys 62, 37, 36, 44, 67, 91 and 107 using linear probing.
What is hashing? Explain with example the collision resolution method open hashing.
What is hashing? Describe the types of collision resolution techniques with suitable example.
Define divide and conquer algorithm. What is binary search? Write an algorithm to search an item using binary search with suitable illustration.
Define hashing. Explain how to resolve collisions during hashing using open addressing.
What is binary search? Trace the algorithm of binary search to search a key 12 in the data:
How does collision occur during hashing? Explain any two hashing functions.
Sample Questions
What is hashing? Explain with example the collision resolution method open hashing.
What is hashing? Describe the types of collision resolution techniques with suitable example.
Define divide and conquer algorithm. What is binary search? Write an algorithm to search an item using binary search with suitable illustration.
Define hashing. Explain how to resolve collisions during hashing using open addressing.
And more questions available on this page.