Programming for Problem Solving Unit 3 – Loops Arrays Strings and Structures: AKTU previous year questions
63 AKTU questions from Unit 3 (Loops Arrays Strings and Structures) asked in 2019–2026, tagged by marks, year and topic. In short: about 29 marks of every paper come from this unit; the most asked topic is Iteration and Loops (33 times); 53 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 3 previous year questions
- Write the output of the following code: #include<stdio.h> int main() { int a = 0, i = 0, b; for (i = 0; i < 5; i++) { a++; if (i == 3) break; } printf("%d",a); return 0; } (2 marks, 2026, Iteration and Loops)
- Differentiate between structure and union with suitable example. (7 marks, 2026, Structure Union Enumerated Types)
- Write a program to print the following pattern in C: **** *** ** * (7 marks, 2026, Iteration and Loops)
- Create a structure in C language for keeping the records of the employees of an organization about their Name, Designation, Salary, Department and City of posting. Write program to enter records of 100 employees and display the names of those with salary more than 20,000. (7 marks, 2026, Structure Union Enumerated Types)
- Mention the use of break and continue in loops. (2 marks, 2025, Iteration and Loops)
- Find the Output of below code: #include <stdio.h> int main() { int z = 1; while (z <= 5) { if (z == 3) { z++; } printf("%d ", z); z++; } return 0; } (2 marks, 2025, Iteration and Loops)
- Write the importance of array. Write a program to find the sum of two numbers using array passing to function. (7 marks, 2025, Arrays)
- Write a C program to input 10 integers in an array and find the average. (7 marks, 2025, Arrays)
- Write a program to print the pattern * * * * * * * ************* (7 marks, 2025, Iteration and Loops)
- What is a structure in C? Give an example of an array of structures. (7 marks, 2025, Structure Union Enumerated Types)
- Write a Program to find the multiplication of two n*n matrix. (7 marks, 2025, Arrays)
- Write a C program to print all natural numbers from 10 to 100. (2 marks, 2024, Iteration and Loops)
Most asked Unit 3 topics
- Iteration and Loops – asked 33 times
- Arrays – asked 18 times
- Structure Union Enumerated Types – asked 11 times
Unit 3 question pattern
- 2-mark questions: 22 asked in 2019–2026
- 7-mark questions: 22 asked in 2019–2026
- 10-mark questions: 19 asked in 2019–2026
- About 29 marks from Unit 3 in every paper
- 53 questions were asked again in a later year
Unit 3 questions year by year
- 2026: 4 Unit 3 questions asked (23 marks across that year's papers)
- 2025: 7 Unit 3 questions asked (39 marks across that year's papers)
- 2024: 10 Unit 3 questions asked (60 marks across that year's papers)
- 2023: 8 Unit 3 questions asked (46 marks across that year's papers)
- 2022: 15 Unit 3 questions asked (94 marks across that year's papers)
- 2021: 7 Unit 3 questions asked (46 marks across that year's papers)
- 2020: 6 Unit 3 questions asked (36 marks across that year's papers)
- 2019: 6 Unit 3 questions asked (44 marks across that year's papers)