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

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

AGroup A — Objective / Multiple Choice Questions

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

In hexadecimal number system, F is equivalent to the number in decimal

a) 10
b) 12
c) 16
d) 15
1(ii)[1 Mark]

Which operator operate upon integer and character but not upon float?

a) Logical Operator
b) Arithmetic Operator
c) Bitwise Operator
d) Conditional Operator
1(iii)[1 Mark]

ALU is part of a

a) Memory
b) CPU
c) Input device
d) Output device
1(iv)[1 Mark]

Operating System is a

a) System software
b) Application software
c) Firmware
d) None of these
1(v)[1 Mark]

In Octal number system, base is

a) 4
b) 8
c) 16
d) 10
1(vi)[1 Mark]

First generation computers used ______ as an output device

a) Printer
b) Monitor
c) Mouse
d) Punch-card
1(vii)[1 Mark]

The output of the following code is for (i=1;i<=5;i++) { if(i%2) continue; printf("%d",i); }

a) 1 2 3 4 5
b) 2 4
c) 2 4
d) None of these
1(viii)[1 Mark]

Which of the following is conditional operator?

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

The output of the following code is int i=6; clrscr(); printf("%d%d%d",i, i--, --i);

a) 8,8,7
b) 6,6,6
c) 7,8,8
d) 8,7,7
1(x)[1 Mark]

In the ______ code, each decimal digit is represented by a binary code of four bits

a) hexadecimal number
b) decimal number
c) binary coded decimal
d) octal number
1(xi)[1 Mark]

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

a) 9
b) 10
c) 8
d) 14

BGroup B — Short Answer Conceptual Questions

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

Write down the basic characteristics of an algorithm

2(b)[5 Marks]

Draw a flowchart to find the sum of all integers ranging from 100 to 500 which are divisible by 5

3(i)[5 Marks]

Write difference between (i) do-while and while statement

3(ii)[5 Marks]

Compiler and Interpreter

4[5 Marks]

Write a program to print the following Fibonacci series: 1 1 2 3 5 8 ........ What is function prototype?

5(a)[5 Marks]

What is macro? Write a C program to illustrate the function of macro. What is pointer arithmetic?

5(b)[5 Marks]

What are the advantages and disadvantages of machine level language?

6(a)[5 Marks]

Find out the errors of this program and write the correct program #include<stdio.h> main() { int t, int p; float s1; printf ("Enter the value of t,p,r:"); scanf("%D%D%f,&t&p&r"); s1=(p*t*r)/100; printf("value of s1=")

6(b)[5 Marks]

What is the difference between calloc() and malloc()? What is void pointer?

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

Write a program using procedures / functions to create a dynamic array of integers given its size, then fill it with random numbers in the range 100 - 10000, then print it and then check whether a given integer in the same range is there in the array

8[15 Marks]

Write a program to convert an integer in the range 1 - 1000 to Roman numerals where I=1, V=5, X=10, L=50, C=100, D=500 and M=1000 and print it

9(a)[15 Marks]

Write a program to convert a decimal number into binary using appropriate assumptions.

9(b)[15 Marks]

Write a program to check whether a number is prime with as few iterations as possible.

10[15 Marks]

Write a program to calculate sin (x) for x = 0, 15, 30, ..., 360 degrees with an accuracy of 10⁻⁶.

11[15 Marks]

Modeling complex number/variable as a structure, write a program to add and print the result of two complex variables.

12[15 Marks]

Write short notes on any three: (a) Firmware (b) Pre-processor (c) Operating system (d) Binary numbers (e) ROM

← 2017 Question Paper2019 Question Paper →