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/2023
ES-CS201Sem 2 • 2023 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Programming For Problem Solving 2023 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 2023 Question Paper PDFView All ES-CS201 Papers

AGroup A — Objective / Multiple Choice Questions

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

What is the use of continue loop?

1(ii)[1 Mark]

What is the string function used to reverse a string?

1(iii)[1 Mark]

What is the time complexity of Bubble sort?

1(iv)[1 Mark]

What are preprocessor?

1(v)[1 Mark]

Recursion uses which data structure?

1(vi)[1 Mark]

What header file is used for string operation?

1(vii)[1 Mark]

What is nested if-else?

1(viii)[1 Mark]

What is the use of goto statement?

1(ix)[1 Mark]

What is linear searching in an array?

1(x)[1 Mark]

What is Macro?

1(xi)[1 Mark]

What is the value of the following if a=2 ? printf("%d",--a);

a) 1
b) 2
c) 3
d) 0
1(xii)[1 Mark]

What is goto statement in C?

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

What is structure? What is array of structures? Show with an example.

3[5 Marks]

Write a program to find roots of a quadratic equation.

4[5 Marks]

Draw flowchart to evaluate factorial of a numbers.

5[5 Marks]

What is conditional operator?

6[5 Marks]

What will be output of the code below? #include <stdio.h> int main() { int a[5] = {1, 2, 3, 4, 5}; int i; for (i = 0; i < 5; i++) if ((char)a[i] == '5') printf("%d\n", a[i]); else printf("FAIL\n"); }

CGroup C — Long Answer Analytical & Numerical Questions

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

What is the difference between Array and Structure? Show with example.

7(b)[3 Marks]

What are the differences between Structure and Union? Show with example.

7(c)[8 Marks]

Write a program using structure to take 10 students name, roll, marks and print the records with average marks.

8(a)[5 Marks]

Write a program to check a number is even or odd.

8(b)[5 Marks]

Write a program to check a number is prime or not.

8(c)[5 Marks]

Add all even numbers from an array.

9(a)[4 Marks]

What is an Operating system?

9(b)[4 Marks]

What are the functions of operation system?

9(c)[3 Marks]

What is booting?

9(d)[4 Marks]

What are the differences between compiler and Interpreter?

10(a)[5 Marks]

Write a program to print diagonal matrix from 5 x 5 matrix.

10(b)[5 Marks]

Write a program to concatenate two strings without using strcat() function in C.

10(c)[5 Marks]

Write a program to sort n elements from an array.

11(a)[4 Marks]

Convert Binary to Decimal of (1101.01)₂

11(b)[4 Marks]

What is 2's Complement? Show by example.

11(c)[4 Marks]

Using 2's Complement do 10101₂ - 00111₂

11(d)[3 Marks]

Convert Decimal to Octal (5673)₁₀

← 2019 Question Paper2024 Question Paper →