Programming for Problem Solving Unit 4 – Functions and Searching Sorting Algorithms: AKTU previous year questions
8 AKTU questions from Unit 4 (Functions and Searching Sorting Algorithms) asked in 2025–2026, tagged by marks, year and topic. In short: about 23 marks of every paper come from this unit; the most asked topic is Functions (26 times); 5 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.
Unit 4 previous year questions
- State the difference between call by value and call by reference. (2 marks, 2026, Functions)
- What is a recursive function? Explain with an example. (2 marks, 2026, Functions)
- Differentiate between call by value and call by reference parameter passing in C using example. (7 marks, 2026, Functions)
- Define recursive function. Write a recursive function to compute the GCD of two numbers. Trace the function call for gcd(48, 18) and show the intermediate recursion steps. (7 marks, 2026, Functions)
- What is recursion? Write a program to find factorial of n numbers using recursion. (7 marks, 2026, Functions)
- Write a C program to implement Binary Search on a sorted array. Explain why the array must be sorted for binary search to work and mention its complexity. (7 marks, 2026, Searching Algorithms)
- Write a program in C to implement selection sort. (7 marks, 2026, Sorting Algorithms)
- Define recursion with an example. (2 marks, 2025, Functions)
Most asked Unit 4 topics
- Functions – asked 26 times
- Sorting Algorithms – asked 18 times
- Searching Algorithms – asked 8 times
Unit 4 question pattern
- 2-mark questions: 3 asked in 2025–2026
- 7-mark questions: 5 asked in 2025–2026
- About 23 marks from Unit 4 in every paper
- 5 questions were asked again in a later year
Unit 4 questions year by year
- 2026: 7 Unit 4 questions asked (39 marks across that year's papers)
- 2025: 1 Unit 4 question asked (2 marks across that year's papers)