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

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

AGroup A — Objective / Multiple Choice Questions

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

The correct syntax to send an array "array" as a parameter to function "func" is

a) func (& array);
b) func ( array );
c) func ( * array );
d) Ifunc ( array [ size ] );
1(ii)[1 Mark]

What is the output of this C code ? #include <stdio.h> void main () { double k = 0; for ( k = 0.0; k < 3.0; k ++ ); printf ( "%f", k ); }

a) 2.000000
b) 4.000000
c) 3.000000
d) none of these.
1(iii)[1 Mark]

Number of bytes required to store a float variable is

a) 8 bytes
b) 4 bytes
c) 2 bytes
d) 6 bytes.
1(iv)[1 Mark]

The Hexadecimal equivalent of the number (101101010010)₂ is

a) A53
b) A52
c) B52
d) C62.
1(v)[1 Mark]

The value of EOF is

a) -1
b) 0
c) 1
d) 10.
1(vi)[1 Mark]

Which of the following are themselves a collection of different data types ?

a) String
b) Structure
c) Char
d) All of these.
1(vii)[1 Mark]

A 64 bit microprocessor has word length equal to

a) 1 byte
b) 8 bytes
c) 2 bytes
d) 4 bytes.
1(viii)[1 Mark]

Which one of the following is a ternary conditional operator ?

a) &&
b) if
c) <=
d) ?.
1(ix)[1 Mark]

Obtain the 2's complement for '1001' in twice.

a) 1000
b) 1011
c) 1001
d) 1111.
1(x)[1 Mark]

Find out the output : main () { int i = 1; printf ("\n % d % d % d", ++ i, i ++ ); }

a) 331
b) 133
c) 314
d) 111.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2(a)[3 Marks]

Write a flowchart to find the sum of the first n prime numbers, where n should be given by the user.

2(b)[2 Marks]

What is logical operator ?

3[3 Marks]

Write a program in C to print the sum of the following series (upto n terms where n should be given by the user) : 1 + 2²/2! + 3³/3! + ....

4[2 Marks]

Given two numbers write a program in C to find the HCF in recursive way.

5(a)[2 Marks]

What is type casting ?

5(b)[3 Marks]

Indicate the difference between a structure and union.

6(a)[1 Marks]

What are the advantages of 2's complement over 1's complement ?

6(b)[2 Marks]

Perform the subtraction with the following binary numbers using 2's complement and 1's complement respectively : i) 11010 - 1101 ii) 10010 - 10011.

CGroup C — Long Answer Analytical & Numerical Questions

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

Input two strings and pass them to a user defined function to compare them.

7(b)[8 Marks]

Write a program to input a n × n matrix and print the maximum element of the matrix.

8(a)[2 Marks]

Differentiate between Complier and Interpreter.

8(b)[6 Marks]

Convert the following numbers as indicated : i) Decimal 225.225 to binary. ii) Binary 11010111.1110 to octal. iii) Hexadecimal 2AC5.D to binary.

8(c)[3 Marks]

Why is NAND gate called Universal gate ? Explain with example.

8(d)[4 Marks]

What is bit-wise operator ?

9[11 Marks]

What is a function ? What are the advantages of using functions ? Write a C program to find out the number of vowels in a string. Explain call by value and call by reference with example.

10[12 Marks]

Write a C program to find the real roots of the quadratic equation using user define function quad(). What is array of pointers ? Explain with example. Why is a NOR gate called a universal gate ? Simplify (A + B̅) . (A . C) + (A . B̅ + A̅ . C) . (A + B̅)

11[15 Marks]

Write short notes on any three of the following : i) Relational Operators ii) Array of Pointers iii) Macro iv) Dynamic Memory Allocation v) XOR gate.

← 2012 Question Paper2014 Question Paper →