Home › AKTU PYQ › Data Structures › Important Questions › Unit 3

Data Structures Unit 3 – Searching, Hashing & Sorting: important questions for AKTU

Unit 3 (Searching, Hashing & Sorting) questions that AKTU repeats most often. This unit carries about 30 marks per paper. Start with the repeated questions, then the most asked topics.

Most repeated Unit 3 questions

  • (i) Use the merge sort algorithm to sort the following elements in ascending order. 13, 16, 10, 11, 4, 12, 6, 7. What is the time and space complexity of merge sort? (ii) Use quick sort algorithm to sort 15,22,30,10,15,64,1,3,9,2. Is it a stable sorting algorithm? Justify. (10 marks, 2022, Sorting) – also asked in 2020, 2021, 2023, 2025
  • Differentiate between liner and binary search algorithm. Write a recursive function to implement binary search. (10 marks, 2022, Searching) – also asked in 2020, 2021, 2024
  • (i) The keys 12, 17, 13, 2, 5, 43, 5 and 15 are inserted into an initially empty hash table of length 15 using open addressing with hash function h(k) = k mod 10 and linear probing. What is the resultant hash table? (ii) Differentiae between linear and quadratic probing techniques. (10 marks, 2022, Hashing) – also asked in 2021, 2025, 2026

Most important Unit 3 topic

  • Sorting (Unit 3: Searching, Hashing & Sorting) – asked 14 times in 2020, 2021, 2022, 2023, 2024, 2025, 2026
  • Hashing (Unit 3: Searching, Hashing & Sorting) – asked 9 times in 2020, 2021, 2022, 2023, 2024, 2025, 2026
  • Searching (Unit 3: Searching, Hashing & Sorting) – asked 6 times in 2020, 2021, 2022, 2024, 2025

Most asked Unit 3 topics

  • Sorting – asked 14 times
  • Hashing – asked 9 times
  • Searching – asked 6 times

More Unit 3 previous year questions

  • Write the algorithm of Insertion sort & sort the following list of numbers using insertion sort. 70, 17, 30, 80, 55, 1, 29, 67, 15. (7 marks, 2026, Sorting)
  • Explain linear probing and quadratic probing in hashing with examples. (7 marks, 2026, Hashing)
  • What is Hashing? Explain division method to compute the hash function and also explain the collision resolution strategies used in hashing. (7 marks, 2026, Hashing)
  • Write an algorithm for Heap Sort. Use Heap sort algorithm, sort the following sequence: 18, 25, 45, 34, 36, 51, 43, and 24. (7 marks, 2026, Sorting)
  • Illustrate the concept of Indexed Sequential search. (2 marks, 2025, Searching)

Unit 3 syllabus topics

  • Searching
  • Hashing
  • Sorting