Programming for Problem Solving PYQ 2025-26 AKTU Question Paper

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2025-26 · PYQ

AKTU Programming for Problem Solving previous year question paper 2025-26 for B.Tech Semester 1/2. Covers Introduction to Computer System and C Basics…

Open the interactive reader to study this resource on AcademicArk.

Programming for Problem Solving AKTU syllabus

  1. Unit 1: Introduction to Computer System and C Basics
  2. Unit 2: Operators Expressions and Conditional Branching
  3. Unit 3: Loops Arrays Strings and Structures
  4. Unit 4: Functions and Searching Sorting Algorithms
  5. Unit 5: Pointers File Handling and Preprocessors

Questions in Programming for Problem Solving AKTU PYQ 2025-26

  1. Q1a. Write the fundamental data types used in C Programming, along with their range, byte size and format specifier. (2 marks, 2025-26)
  2. Q1b. Draw the memory hierarchy of a computer. (2 marks, 2025-26)
  3. Q1c. What are logical operators? (2 marks, 2025-26)
  4. Q1d. Differentiate between implicit and explicit type conversion in C. (2 marks, 2025-26)
  5. Q1e. 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, 2025-26)
  6. Q1f. What is a recursive function? Explain with an example. (2 marks, 2025-26)
  7. Q1g. List various file opening modes. (2 marks, 2025-26)
  8. Q2a. Differentiate between compiler and interpreter. Also differentiate between syntax error and logical error. (7 marks, 2025-26)
  9. Q2b. Write an algorithm to calculate sum of digits of a number entered by the user. (7 marks, 2025-26)
  10. Q2c. Differentiate between structure and union with suitable example. (7 marks, 2025-26)
  11. Q2d. Differentiate between call by value and call by reference parameter passing in C using example. (7 marks, 2025-26)
  12. Q2e. Explain the use of command-line arguments (argc, argv) and show with an example how to access them in C. (7 marks, 2025-26)
  13. Q3a. Discuss various storage classes used in C with examples. (7 marks, 2025-26)
  14. Q3b. Write an algorithm to find the greatest of three numbers. Also draw the flowchart for the algorithm. (7 marks, 2025-26)
  15. Q4a. Write a program to discuss the use of break in a switch case statement. (7 marks, 2025-26)
  16. Q4b. What do you mean by operator precedence and associativity in C. Explain with suitable example. (7 marks, 2025-26)
  17. Q5a. Write a program to print the following pattern in C: **** *** ** * (7 marks, 2025-26)
  18. Q5b. 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, 2025-26)
  19. Q6a. What is recursion? Write a program to find factorial of n numbers using recursion. (7 marks, 2025-26)
  20. Q6b. Write a program in C to implement selection sort. (7 marks, 2025-26)
  21. Q7a. Discuss dynamic memory allocation. Explain calloc(), malloc(), realloc() and free() functions with suitable example. (7 marks, 2025-26)
  22. Q7b. List out various file operations and modes in C. Write a 'C' program to copy the content from one file to another file. (7 marks, 2025-26)

AKTU paper codes: BCS101, BCS201, KCS101, KCS101T, KCS201, KCS201T

Programming for Problem Solving previous year papers

More Programming for Problem Solving resources

Browse all notes · Semester 1 notes