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

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

AGroup A — Objective / Multiple Choice Questions

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

The purpose of mode r+ is to

a) open for only reading
b) open for only writing
c) open for both reading and writing
d) none of these.
1(ii)[1 Mark]

Pointer is

a) a variable containing the address of a variable
b) a value
c) a memory location
d) none of these.
1(iii)[1 Mark]

A function may contain

a) one return statement
b) two return statements
c) more than two return statements
d) none of these.
1(iv)[1 Mark]

Which of the following is not used as secondary storage ?

a) Semiconductor memory
b) Magnetic discs
c) Magnetic drums
d) Magnetic tapes.
1(v)[1 Mark]

The ALU of computer normally contains a number of high speed storage elements called

a) semiconductor memory
b) registers
c) hard disc
d) magnetic disc.
1(vi)[1 Mark]

The register which contains the instructions that are two execute is known as

a) Index register
b) Instruction register
c) Memory address register
d) Memory data register.
1(vii)[1 Mark]

A 32 bit microprocessor has the word length equal to

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

The union holds

a) one object at a time
b) multiple objects
c) both (a) and (b)
d) none of these.
1(ix)[1 Mark]

The minimum number of auxiliary variables required in a swap routine in C language to interchange two variables is

a) 0
b) 1
c) 2
d) indeterminate.
1(x)[1 Mark]

Language C uses

a) call by value
b) call by reference
c) call by name
d) none of these.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

If K bytes are required to store a number in hexadecimal number system, find how many bytes will be required to store the number in binary number system?

3[5 Marks]

If C1 and C2 are two computer languages, what do you mean by the statement "The level of language C1 is higher than that of C2." Is it possible to convert the language of a particular level into another language of other level? If so, how? If no, why?

4[5 Marks]

Write a program in C to compute the average of a few input quantities with minimum use of storage variables, where the number of inputs is not known beforehand.

5[5 Marks]

a) What is recursion? b) What do you mean by pointer arithmetic? Explain with example.

6[5 Marks]

a) Why do we use functions in programming? b) Write a function prototype which accepts an integer, a float pointer, a string and a structure pointer as parameters. c) How do you access a structure variable through a structure pointer? Explain with example.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

a) Explain two input Exclusive NOR gate using truth table. b) Why is NOR gate called universal gate? c) Simplify : (A + B̅)·(A·C̅) + (A·B̅ + A̅·C̅)·(A̅ + D̅) d) Convert the following: i) (2AD)₁₆ = ( )₂ ii) (11100111101)₂ = ( )₁₆ iii) (25·125)₁₀ = ( )₂.

8[15 Marks]

a) Draw a block diagram of a computer and briefly explain its various components. Is it possible to realize a digital computer without a primary memory? Justify. b) What is the significance of different levels of computer language? c) Distinguish between compiler and interpreter.

9[15 Marks]

a) Allocate a two-dimensional array dynamically using pointers in C language. b) What is the utility of break statement in loop? Give an example. How is break statement different from an exit () statement? c) Write a program in C to find all the prime numbers in the range 10 to 100.

10[15 Marks]

a) Write down the difference between malloc() and calloc(). b) What are auto, extern and static variables? Explain their uses with suitable example. c) Write a program to read a file and display its contents along with line number before each line.

11[15 Marks]

a) What are the differences between recursion and iterations? b) Write a C program to print the following pattern (till n rows, where n is taken as input) 1 2 2 3 3 3 4 4 4 4 c) Create a structure to specify data on students give below: Roll Number, Name, Department, Course, and Year of admission. Assume that there are not more than 450 students in collage. Write a program to print names of all students who joined in a particular year.

← 2010 Question Paper2012 Question Paper →