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

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

AGroup A — Objective / Multiple Choice Questions

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

'C' is often called a

a) Object oriented language
b) System software
c) High level language
d) None of these.
1(ii)[1 Mark]

ALU is a part of

a) memory
b) CPU
c) output device
d) input device.
1(iii)[1 Mark]

Which will be the output? void main() { int x = 7, y=5; X = y++ + x++; y = ++y + ++x; printf("%d%d", x, y); }

a) 12 14
b) 12 20
c) 97
d) 12 19.
1(iv)[1 Mark]

The << operator is used for

a) one return statement
b) two return statements
c) more than two return statements
d) Left shifting
1(v)[1 Mark]

Which one of the following is a Bitwise operator?

a) <
b) >=
c) &&
d) <<.
1(vi)[1 Mark]

The output of int fact = 1; for(i = 0; i < fact; i++) { fact = fact *i; printf("%d", fact); } is

a) 24
b) 5
c) infinite loop
d) none of these.
1(vii)[1 Mark]

which one is the correct output? char a[] = "computer"; printf("%d", strlen(a));

a) 9
b) 10
c) 8
d) 11
1(viii)[1 Mark]

'C' allows a three-way transfer of control with the help of

a) unary operator
b) comparison operator
c) relational operator
d) ternary operator
1(ix)[1 Mark]

The size of a printer to a float array of size 10 is:

a) 40 Byte
b) 4 Byte
c) 2 Byte
d) None of these.
1(x)[1 Mark]

The union holds

a) value of one member at a time
b) values of multiple members at a time.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

Explain precedence and associativity of operators with suitable examples.

3[5 Marks]

Discuss about basic data types used in C.

4[5 Marks]

Distinguish between structure and union.

5[5 Marks]

What is recursion? Explain with an example.

6[5 Marks]

Differentiate : (i) Compiler and Interpreter. (ii) Post increment and Pre increment operator.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

a) What is ternary operator? Explain with an example. b) Explain "Call by Value" and "Call by Reference" with example. c) Write a C function to swap two integer data and call the function from the main() function.

8[15 Marks]

a) Write a C program to generate n Fibonacci numbers using recursion function. b) Write a C program to complete the Trace of a user inputted matrix. c) What do you mean by algorithm? Explain with an example.

9[15 Marks]

a) Convert i) (427)₁₀ to octal ii) (110010.1011)₂ to hexadecimal iii) (12.32)₁₀ to Binary iv) (234)₈ to ( ? )₁₀ b) Subtract 10111 from 110011 using 2's complement method. c) Draw the logic diagram and truth table of NAND and XOR gate.

10[15 Marks]

a) Distinguish between Static Array and Dynamic array. b) Write a C program to copy the content of a text file "file1.txt" into another "file2.txt". c) Write a C program to find the GCD of two numbers.

11[15 Marks]

Write short notes on any three of the following: a) Dynamic memory allocation b) Pointer c) Storage Class d) Macro e) Two Dimensional Dynamic Array

← 2013 Question Paper2015 Question Paper →