Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Home/PYQs/Sem 2/Programming For Problem Solving/2025
ES-CS201Sem 2 • 2025 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Programming For Problem Solving 2025 Question Paper

Official theoretical question paper for Programming For Problem Solving (ES-CS201) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.

Download MAKAUT Programming For Problem Solving 2025 Question Paper PDFView All ES-CS201 Papers

AGroup A — Objective / Multiple Choice Questions

10 × 1 = 10 Marks
1(i)[1 Mark]

Point out the difference between strcmp() and strncmp()

1(ii)[1 Mark]

What do you mean by pointer arithmetic in C?

1(iii)[1 Mark]

Write the main of the differences between Structure and Union?

1(iv)[1 Mark]

Find the correct output: #include<stdio.h> main() { for(int i=0; i<=5;i++) { printf("%d",i); } }

1(v)[1 Mark]

What is the main difference between call by value and call by address in C?

1(vi)[1 Mark]

Why is scope of variable necessary in function?

1(vii)[1 Mark]

What will be the output of the above code? #include main() { int i=3; i=i++; printf("%d",i); }

1(viii)[1 Mark]

Why do we use header files?

1(ix)[1 Mark]

Write the output of the following Code: #include int main() { char x; x = 'a'; printf("%d\n",x); }

1(x)[1 Mark]

Define recursion.

1(xi)[1 Mark]

Arrangement of playing cards is an example of which sorting technique?

1(xii)[1 Mark]

Explain Ackerman function.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

Differentiate between the switch and nested-if statement in C with proper example.

3[5 Marks]

Write a C program to count the number of even and odd numbers from an 1-D array.

4[5 Marks]

Write a program in C to find the area and circumference of a circle using function

5[5 Marks]

Write a C program to find the length of an array using pointer arithmetic.

6[5 Marks]

Write a C program to perform bit wise left shift operation on a number taken from the user. Write the output with an example.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7(a)[5 Marks]

Draw a flowchart to evaluate factorial of a number.

7(b)[5 Marks]

Write a C program to generate Fibonacci Series upto n-terms using loop.

7(c)[5 Marks]

Explain preprocessor directive with suitable example.

8(a)[8 Marks]

Define a recursive function to calculate factorial of a number and call this function to calculate $S = 1! + 2! + ... + n!$, where n is user input.

8(b)[7 Marks]

Write a C program to swap the content of two variables using Call by Value.

9(a)[8 Marks]

Write a C program to list all the prime numbers for a given range of numbers.

9(b)[7 Marks]

Write a C program to check the entered character is a consonant or vowel. If it is not an alphabet return 'wrong input'.

10(a)[5 Marks]

Describe string with example.

10(b)[4 Marks]

How strings are represented in memory?

10(c)[6 Marks]

Write a C program to check the entered string is a palindrome or not.

11(a)[5 Marks]

Create a recursive C function to find the GCD of two numbers.

11(b)[10 Marks]

Write a C program to sort names of students in a class.

← 2024 Question Paper