Programming for Problem Solving PYQ 2021-22 AKTU (KCS101)

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2021-22 · PYQ

AKTU Programming for Problem Solving (KCS101) previous year question paper 2021-22 for B.Tech Semester 1/2. Covers Introduction to Computer System and C…

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 2021-22

  1. Q1a. Draw the Memory hierarchy representation. (2 marks, 2021-22)
  2. Q1b. Why is RAM called a Volatile memory? (2 marks, 2021-22)
  3. Q1c. Write down the output of following code. #include <stdio.h> int main() { int a=23; ; ;printf("%d",a); ; return 0; } (2 marks, 2021-22)
  4. Q1d. Write down the output of following code. #include<stdio.h> int main() { int a = 5; a = 1, 2, 3; printf("%d", a); return 0; } (2 marks, 2021-22)
  5. Q1e. Write the use of continue statement. (2 marks, 2021-22)
  6. Q1f. What is the difference between entry control loop and exit control loop? (2 marks, 2021-22)
  7. Q1g. How the size of the structure defined in c programming? (2 marks, 2021-22)
  8. Q1h. Why is sorting process required? (2 marks, 2021-22)
  9. Q1i. Write the advantages of using macro in C programming. (2 marks, 2021-22)
  10. Q1j. Draw the basic structure of Linked List and explain its node. (2 marks, 2021-22)
  11. Q2a. Differentiate between Compiler and Interpreter. Draw the flow chart of swapping of two numbers. (10 marks, 2021-22)
  12. Q2b. What do you mean by Operands? Discuss the operator precedence and associativity of all the operators. (10 marks, 2021-22)
  13. Q2c. Write the advantage of recursive function? Write a program to print the Fibonacci series up to n number with recursive function. (10 marks, 2021-22)
  14. Q2d. Write short note on array. Write the program for matrix multiplication of two matrix elements. (10 marks, 2021-22)
  15. Q2e. Explain the concept of pointer in self-referential structure with proper example. (10 marks, 2021-22)
  16. Q3a. Differentiate between High level and Low-Level Programming. Draw and explain the diagram of Digital computer. (10 marks, 2021-22)
  17. Q3b. Explain the different kind of storage classes used in C programming with proper syntax. (10 marks, 2021-22)
  18. Q4a. Write the use of Break statement in switch case. Write a program to find out the greatest number out of three numbers. (10 marks, 2021-22)
  19. Q4b. Explain different type of operators in C programming. Which concept makes the difference between operators when precedence is same? (10 marks, 2021-22)
  20. Q5a. Write a program to print the pattern 1 2 3 4 5 6 7 8 9 10 (10 marks, 2021-22)
  21. Q5b. Write a Program to find the entered number is Armstrong number or not. (10 marks, 2021-22)
  22. Q6a. Write a program to find out the odd place and even place numbers from the array elements and print the sum of these numbers respectively. (10 marks, 2021-22)
  23. Q6b. Write the program for bubble sorting and explain it with example list 5, 7, 2, 1, 3, 6. (10 marks, 2021-22)
  24. Q7a. Write the importance of free() function in Dynamic memory allocation. Explain dynamic memory allocation with the functions used in it. (10 marks, 2021-22)
  25. Q7b. Difference between read and write mode in file handling. Write a program to copy the content from file to another file and count the characters. (10 marks, 2021-22)

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