Programming for Problem Solving Unit 4 – Functions and Searching Sorting Algorithms: AKTU previous year questions
49 AKTU questions from Unit 4 (Functions and Searching Sorting Algorithms) asked in 2019–2026, tagged by marks, year and topic. In short: about 24 marks of every paper come from this unit; the most asked topic is Functions (24 times); 49 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
- 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)
- What is recursion? Write a program to find factorial of n numbers using recursion. (7 marks, 2026, Functions)
- Write a program in C to implement selection sort. (7 marks, 2026, Sorting Algorithms)
- Define recursion with an example. (2 marks, 2025, Functions)
- Write the time complexity of Selection Sort. (2 marks, 2025, Sorting Algorithms)
- Discuss the use of searching and write the program to find the number in an array using linear search. (7 marks, 2025, Searching Algorithms)
- Describe the difference between call by value and call by reference with examples. (7 marks, 2025, Functions)
- Write a recursive C program to find the nth Fibonacci number. (7 marks, 2025, Functions)
- Write a Program to sort the given list of data using bubble sort and compare its time complexity with insertion sort. 7 3 8 5 9 2 4 6 (7 marks, 2025, Sorting Algorithms)
- Define call by reference. Write a program to swap two numbers with this concept. (7 marks, 2025, Functions)
- Explain bubble sort with example and write its C implementation. (7 marks, 2025, Sorting Algorithms)
Most asked Unit 4 topics
- Functions – asked 24 times
- Sorting Algorithms – asked 18 times
- Searching Algorithms – asked 7 times
Unit 4 question pattern
- 2-mark questions: 14 asked in 2019–2026
- 7-mark questions: 20 asked in 2019–2026
- 10-mark questions: 15 asked in 2019–2026
- About 24 marks from Unit 4 in every paper
- 49 questions were asked again in a later year
Unit 4 questions year by year
- 2026: 4 Unit 4 questions asked (23 marks across that year's papers)
- 2025: 8 Unit 4 questions asked (46 marks across that year's papers)
- 2024: 6 Unit 4 questions asked (37 marks across that year's papers)
- 2023: 8 Unit 4 questions asked (46 marks across that year's papers)
- 2022: 14 Unit 4 questions asked (108 marks across that year's papers)
- 2021: 3 Unit 4 questions asked (22 marks across that year's papers)
- 2020: 3 Unit 4 questions asked (22 marks across that year's papers)
- 2019: 3 Unit 4 questions asked (14 marks across that year's papers)