Programming For Problem Solving (KCS201T) - AKTU Question Paper 2021-22
B.Tech · Semester 2 · Free PDF Download
This is the official AKTU Programming For Problem Solving Previous Year Question Paper for B.Tech Semester 2, academic session 2021-22. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Course:B.Tech
Semester:Semester 2
Session:2021-22
University:AKTU / UPTU
Rate this paper
Questions Asked in 2021-22
Programming For Problem Solving (KCS201T) — complete question paper
Section AAttempt all q u e s t i o n s i n b r i e f . 2x10 = 20
- aDifferentiate between void and int datatypes. 1
- bDraw the Pyramid structure of memory hierarchy. 1
- cDescribe the syntax and working of Ternary operator. 2
- dWrite advantages of Switch statement. 2
- eFind the output:
#include <stdio.h> int main() { int a=100; printf("%d\n"+1, a); printf("Value is = %d"+3, a); return 0; } - fDefine function and its type. 3
- gFind the output:
#include<stdio.h> int main() { int arr[1]={10}; printf("%d\n", 0[arr]); return 0; } - hDefine time and space complexity. What is the complexity of bubble sort? 4
(i) Find the output: #include<stdio.h> int main() { printf("%d", sizeof(void *)); return 0; } (j) What is the requirement of FREE() function in Dynamic memor y allocation. 5
Section BAttempt any three o f t h e f o l l o w i n g : 1 0 x 3 = 3 0
- aDiscuss the various symbols used in flow chart and Draw the flow chart to find the reverse of a number
- bIllustrate the concept of t ype conversion and type casting with program. 2
- cWrite a program to print the pattern
- dExplain bubble sort concept and write the program. 4
- eDiscuss about the command line argument with example. 5
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 1 0 x 1 = 1 0
- aExplain the different kind of storage classes in C programming. 1
- bDraw the architecture of Digital computer System and explai n its all components
- aDefine Operator and Opera nds. Discuss about the different type of operators used in programming
- bWhat is use of break in switch case? Write a program to dev elop a calculator using case in character format
- aWrite a Program for pattern
- bWrite a program to print the Fibonacci series using recursi ve function. Take the limit from the user as input
- aWrite a program for the sel ection sort and explain it with example. 4
- bWrite a program to find the product of two 2-dimensional ar ray and print the output in separate array
- aWrite a program to allocate the memory with dynamic memory allocation concept. Take the input from the user and find the sum of all elements
- bDiscuss about the file handling concept and write a program t o c o p y t h e content of one file to another and print the count of these coping elements
Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.
Programming For Problem Solving — Other Year Papers
AKTU Programming For Problem Solving PYQs from other sessions
More B.Tech Semester 2 (2021-22) Papers
Other subjects from same semester and session
Engineering Mathematics Ii2021-22Emerging Domain In Electronics Engineering2021-22Engineering Chemistry2021-22Soft Skill Ii2021-22Emerging Technology For Engineering2021-22Fundamentals Of Mechanical Engineering Mechatronics2021-22Ai For Engineering2021-22Engineering Physics2021-22
View all B.Tech Semester 2 2021-22 papers →Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo