Chapter Study

BSC CSIT Semester 3 Data Structure and Algorithms () Questions & Answers | Past TU Exam Papers

Practice from Data Structure and Algorithms with detailed solutions and model answers from past Tribhuvan University exams.

7
Questions
40
Marks
Back to All Chapters

Define hash table and hash function. What is collision in hashing? Explain linear probing and quadratic probing with suitable example.

HardTHEORY10 marks2080(TU Final)

Explain binary search with an example. What is the time complexity of binary search?

MediumTHEORY5 marks2080(TU Final)

What is hashing? how do you apply linear probing and rehashing explain with example.

MediumTHEORY5 marks2081(TU Final)

Write a program to implement binary search.

MediumTHEORY5 marks2079(TU Final)

Assume you have to store the data {0,1,2,4,5,7} into a hash table of size 5, with hash function, h(x)=x%5. Apply linear probing and double hashing as collision resolution techniques.

MediumTHEORY5 marks2079(TU Final)

Write a program to implement sequential search algorithm.

MediumTHEORY5 marks2078(TU Final)

What is hashing? Explain concept of hash table and hash function with example.

MediumTHEORY5 marks2077(TU Final)
Showing 7 questions

Unit 7: Searching and Hashing (6 Hrs.) chapter questions with answers for Data Structure and Algorithms (BSC CSIT Semester 3). Prepare for TU exams with our comprehensive question bank and model answers.