Programming For Problem Solving (BCS201) - AKTU Question Paper 2023-24
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 2023-24. 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:2023-24
University:AKTU / UPTU
Rate this paper
Questions Asked in 2023-24
Programming For Problem Solving (BCS201) — complete question paper · 70 marks · 3 Hours
Section AAttempt all q u e s t i o n s i n b r i e f . 2 x 7 = 14
- a1Nibble =………..Bytes. 2 1
- bFind the value of variable ma x in the following code: -
int a=10, b=20; int max= (a>b)? a: b
- cDefine Explicit type conversi on with suitable example. 2 2
- dWrite a C program to print al l natural numbers from 10 to 100. 2 3
- eDefine Pointer to Pointer. 2 4
- fFind the output of following code: -
#include<stdio.h> #defien a 2*2+2 void main () { int b,c; b=2/a; c=b+4; printf(“Value of variable b and c are %d%d respectively ”, b,c); } - gDraw block diagram to represent doubly linked list. 2 5
Section BAttempt any three o f t h e f o l l o w i n g : 7 x 3 = 21
- aWhat is Flowchart what are th e properties of Flowchart? Draw a flowchart to check number is a buzz number or not. (A number is said to be Buzz if it ends with 7 or divisible by 7)
- bWhat is the importance of Prece dence order and associativity? Explain Bitwise and Ternary operators in detail
- cWrite a program in C language to multiply 2 matrices of orde r n*n each and print the resultant matrix al ong with the transpose of the resultant matrix
- dWrite a program in C language to implement Selection sort method. 7 4
- eWrite a program to delete the end of the file using function feof(). Display the file pointer position for detecting end of file
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 7 x 1 = 7
- aWhat is the different user de fined data types in C language? Write range, Format specifier, memory size of primitive data types
- bHow algorithm is different form flowchart. Write an algorithm to check number is a Prime number or not
- aWhy break statement is required? Write a C program in C lang uage to check character is a vowel or consonant
- bWrite a program in C language to calculate energy bill. Read the starting and ending meter readings. The charges are as follows: - No. of Units Consumed rates in Rs. 0<units<=200 Rs 5.50 per Unit 200<units<=400 Rs 700 + Rs 6.0 per unit excess of 200 400<units<= 600 Rs 1400 + Rs 7.50 per unit excess of 400 600<units Rs 1850+ Rs 9.0 per Unit excess of 600
- a(i) Write a program in C la nguage to print the following pattern: - (ii) Write a program in C language to print the sum of following series
- bWrite a program in C language using union to store name, mob ile number, year of birth, fees deposited, total marks in class 12th and print only name and marks of class 12th of those students who have deposited fees less that5000 and how born after year 2005
- aWrite a C program to find the presence of any particular ele ment in an array of n number of elements using Binary search method
- bWhat are the different types of functions in C programming? Write a C program to print the multiplication of all the digits of a numb er using recursion
- aWhat are the advantages of Dynamic memory allocation over st atic memory allocation? Write a progr am to display two numbers with malloc () and reallocate memory for displaying three numbers
- bDefine any 3 functions which are used for file handling in C language. Write a program in C language t o count total number vowels in a text file
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 (2023-24) Papers
Other subjects from same semester and session
Environment And Ecology2023-24Fundamentals Of Electrical Engineering2023-24Engineering Mathematics Ii2023-24Engineering Chemistry2023-24Fundamentals Mechanical Engineering2023-24Fundamentals Of Electronics Engineering2023-24Engineering Physics2023-24Soft Skills2023-24
View all B.Tech Semester 2 2023-24 papers →Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo