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

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

AKTU Programming for Problem Solving (KCS201T) 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. Differentiate between void and int datatypes. (2 marks, 2021-22)
  2. Q1b. Draw the Pyramid structure of memory hierarchy. (2 marks, 2021-22)
  3. Q1c. Describe the syntax and working of Ternary operator. (2 marks, 2021-22)
  4. Q1d. Write advantages of Switch statement. (2 marks, 2021-22)
  5. Q1e. Find the output: #include <stdio.h> int main() { int a=100; printf("%d\n"+1, a); printf("Value is = %d"+3, a); return 0; } (2 marks, 2021-22)
  6. Q1f. Define function and its type. (2 marks, 2021-22)
  7. Q1g. Find the output: #include<stdio.h> int main() { int arr[1]={10}; printf("%d\n", 0[arr]); return 0; } (2 marks, 2021-22)
  8. Q1h. Define time and space complexity. What is the complexity of bubble sort? (2 marks, 2021-22)
  9. Q1i. Find the output: #include<stdio.h> int main() { printf("%d", sizeof(void *)); return 0; } (2 marks, 2021-22)
  10. Q1j. What is the requirement of FREE() function in Dynamic memory allocation. (2 marks, 2021-22)
  11. Q2a. Discuss the various symbols used in flow chart and Draw the flow chart to find the reverse of a number. (10 marks, 2021-22)
  12. Q2b. Illustrate the concept of type conversion and type casting with program. (10 marks, 2021-22)
  13. Q2c. Write a program to print the pattern 1 12 123 1234 123 12 1 (10 marks, 2021-22)
  14. Q2d. Explain bubble sort concept and write the program. (10 marks, 2021-22)
  15. Q2e. Discuss about the command line argument with example. (10 marks, 2021-22)
  16. Q3a. Explain the different kind of storage classes in C programming. (10 marks, 2021-22)
  17. Q3b. Draw the architecture of Digital computer System and explain its all components. (10 marks, 2021-22)
  18. Q4a. Define Operator and Operands. Discuss about the different type of operators used in programming. (10 marks, 2021-22)
  19. Q4b. What is use of break in switch case? Write a program to develop a calculator using case in character format. (10 marks, 2021-22)
  20. Q5a. Write a Program for pattern ***** **** *** ** * ** *** **** ***** (10 marks, 2021-22)
  21. Q5b. Write a program to print the Fibonacci series using recursive function. Take the limit from the user as input. (10 marks, 2021-22)
  22. Q6a. Write a program for the selection sort and explain it with example. (10 marks, 2021-22)
  23. Q6b. Write a program to find the product of two 2-dimensional array and print the output in separate array. (10 marks, 2021-22)
  24. Q7a. Write a program to allocate the memory with dynamic memory allocation concept. Take the input from the user and find the sum of all elements. (10 marks, 2021-22)
  25. Q7b. Discuss about the file handling concept and write a program to copy the content of one file to another and print the count of these coping elements. (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 · Semester 2 notes · Programming for Problem Solving notes