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 3/Data Structure Algorithms/2012
PCC-CS301Sem 3 • 2012 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Data Structure Algorithms 2012 Question Paper

Official theoretical question paper for Data Structure Algorithms (PCC-CS301) 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 Data Structure Algorithms 2012 Question Paper PDFView All PCC-CS301 Papers

AGroup A — Objective / Multiple Choice Questions

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

Reserve Polish notation is often known as

a) Infix
b) Prefix
c) Postfix
d) none of these.
1(ii)[1 Mark]

Which of the following algorithm should execute the slowest for large values of N?

a) O ( N )
b) O ( N ^ 2 )
c) Θ ( log 2 N )
d) None of these.
1(iii)[1 Mark]

The evaluation of the postfix expression 3, 5, 7, *, +, 12, % is

a) 2
b) 3
c) 0
d) 3·17.
1(iv)[1 Mark]

A machine needs a minimum of 100 sec to sort 1000 names by quick sort. The minimum time needed to sort 100 names will be approximately

a) 72·7 sec
b) 11·2 sec
c) 50·2 sec
d) 6·7 sec.
1(v)[1 Mark]

Linked list are not suitable for

a) Stack
b) Deque
c) AVL Tree
d) Binary search.
1(vi)[1 Mark]

What will be the time complexity for selection sort to sort an array of n elements?

a) O ( log n )
b) O ( n log n )
c) O ( n )
d) O ( n ^ 2 ).
1(vii)[1 Mark]

The depth of a complete binary tree with n nodes

a) log ( n + 1 ) - 1
b) log ( n )
c) log ( n - 1 ) + 1
d) log ( n ) + 1.
1(viii)[1 Mark]

In a binary search tree, if the number of nodes of a tree is 9, then the minimum height of the tree is

a) 9
b) 5
c) 4
d) none of these.
1(ix)[1 Mark]

Dynamic memory allocation use

a) Calloc
b) Malloc
c) Free
d) all of these.
1(x)[1 Mark]

A vertex with degree one in a graph is called

a) Leaf
b) Pendant vertex
c) End vertex
d) None of these.
1(xi)[1 Mark]

Adjacency matrix of a digraph is

a) Identity matrix
b) Symmetric matrix
c) Asymmetric matrix
d) None of these.
1(xii)[1 Mark]

Which method of traversal does not use stack to hold nodes that are waiting to be processed:

a) Breadth-first
b) Depth-first
c) D-search
d) None of these.

BGroup B — Short Answer Conceptual Questions

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

Define big O notations.

2(b)[5 Marks]

T ( n ) = 4n ^ 2 + 3n log n, express T ( n ) in Big ( O ) notations.

3(a)[5 Marks]

How the polynomial 4x^3 - 10x^2 + 3 can be represented using a linked list?

3(b)[5 Marks]

Compare and contrast between an array and a single linked list.

4(a)[5 Marks]

Consider the array int a [ 10 ] [ 10 ] and the base address 2000, then calculate the address of the array a [ 2 ] [ 3 ] in the row and column major ordering.

4(b)[5 Marks]

Write the advantage of circular queue over linear queue.

5[5 Marks]

What do you mean by recursion? Write down a C function to find out the GCD of two nos. using recursive technique.

6[5 Marks]

What is binary tree? Construct a binary tree using the inorder and postorder traversal of the node given below: Inorder: D B F E A G C L J H K Postorder: D F E B G L J K H C A

CGroup C — Long Answer Analytical & Numerical Questions

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

Draw a minimum heap tree from the below list : 12, 11, 7, 3, 10, -5, 0, 9, 2 Now do the heap sort operation over the heap tree which you have formed. Write the insertion sort algorithm.

7(b)[15 Marks]

What is a minimum spanning tree? Describe Huffman's Algorithm.

7(c)[15 Marks]

What are the differences between AVL Tree & Binary Search Tree?

8(a)[15 Marks]

Radix Sort the following list: 189, 205, 986, 421, 97, 192, 535, 839, 562, 674 Write the Radix sort algorithm.

8(b)[15 Marks]

Find the time complexity of Binary Search Algorithm.

8(c)[15 Marks]

What is hashing?

9(a)[15 Marks]

Construct an AVL tree using the below list. Show all the steps 12, 11, 13, 10, 09, 15, 14, 18, 7, 6, 5, 4.

9(b)[15 Marks]

What is a priority queue?

9(c)[15 Marks]

Write the recursive algorithm to find x^n.

9(d)[15 Marks]

Find the postfix notation of ( a + b * x ) \ ( a ! - d ) s - c ^ y [ show all steps ].

10(a)[15 Marks]

Write the advantage of circular queue over linear queue.

10(b)[15 Marks]

What is a self referential structure?

10(c)[15 Marks]

Describe a string reversal algorithm.

10(d)[15 Marks]

Write the difference between a[ ] and **a.

10(e)[15 Marks]

What is difference between Union & Structure?

11[15 Marks]

Write short notes on any three of the following: a) Abstract Data type b) BFS c) BTree d) Tail recursion e) Merge Sort.

← 2011 Question Paper2014 Question Paper →