Assignment Unit 3
Assignment Unit 3
ASSIGNMENT- UNIT-3
Q1. Differentiate sequential search and binary search. Write the program for binary search
(Recursive and Non-recursive)
Q3. What is Quick sort method? Determine its complexity. Sort the given values using quick
sort. Present all steps/iterations 38,81,22,48,13,69,93,14,45,58,79,72. AKTU 2016-17, 2018-
19, Marks 07
Q4. Write an algorithm for merge sorting. Using the algorithm sort in ascending order: 10,
25, 16, 5, 35, 48, 8 and derive the complexity of merge sort.
AKTU 2014-15, Marks 10
Q7. What is hashing? Give the characteristics of hash function. Explain collision resolution
technique in hashing AKTU 2014-15, 2017-18 Marks 10