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

MAKAUT Data Structure Algorithms 2017 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 2017 Question Paper PDFView All PCC-CS301 Papers

AGroup A — Objective / Multiple Choice Questions

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

The postfix equivalent of the prefix * + ab - cd is

a) ab + cd - *
b) abcd + - *
c) ab + cd * -
d) ab + - cd *
1(ii)[1 Mark]

If a binary tree is threaded for inorder traversal a right NULL link of any node it is replaced by the address of its

a) successor
b) predecessor
c) root
d) own.
1(iii)[1 Mark]

Adjacency matrix of a digraph is

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

Linked lists are not suitable for

a) Stack
b) Dequeue
c) AVL tree
d) Binary Search
1(v)[1 Mark]

The ratio of items present in a hash table to the total size is called

a) balance factor
b) load factor
c) item factor
d) weight factor.
1(vi)[1 Mark]

Maximum possible height of an AVL tree with 7 nodes is

a) 3
b) 4
c) 5
d) 6.
1(vii)[1 Mark]

The deque can be used

a) as a stack
b) as a queue
c) both as a stack and as a queue
d) none of these.
1(viii)[1 Mark]

Inserting a node after a given node in a doubly linked list requires

a) four pointer exchanges
b) two pointer exchanges
c) one pointer exchange
d) no pointer exchange.
1(ix)[1 Mark]

The minimum height of a binary tree of n nodes is

a) n
b) n/2
c) n/2 - 2
d) log₂(n + 1)
1(x)[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²).

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

Show that the function f(n) defined by f(n) = 1; n = 1 f(n) = f(n-1) + 1/n, n > 1 has complexity O(ln n).

3[5 Marks]

a) Does a B tree grow at its leave or at its root? Why? b) In deleting a key from a B tree, when is it necessary to combine nodes? c) For what purposes are B trees especially appropriate?

4[5 Marks]

The post-order and in-order traversal sequences of nodes in a binary tree are given below: Postorder : D G E B H I F C A inorder : D B G E A C H F I Construct the binary tree.

5[5 Marks]

Construct one B-Tree of order 4 with the following data. 34, 67, 89, 90, 100, 2, 36, 76, 53, 51, 12, 10, 77, 69.

6[5 Marks]

What is the default return type of malloc()? Why do we need to typecast it? Write an algorithm to append a new node after a specified node in single linked list.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

a) Why circular queue is better than simple queue? b) Evaluate the postfix expression using stack : 3. 16. 2. +. *. 12. 6. /.- c) Convert the infix expression into its equivalent prefix expression using stack : a + b * c + (d * e + f) * g.

8[15 Marks]

a) Write a non-recursive algorithm to traverse a binary tree in its inorder traversal. b) Write a C function to find out the maximum and the minimum elements in a binary search tree. c) Given the pre-order sequence and the post-order sequence, why cannot you reconstruct the tree?

9[15 Marks]

a) Construct a tree from the given postfix expression a b c * + d e * f + g * + b) Write a C function to sort positive integers that does not compose the array elements. c) Show how linked list can be used to add the following polynomials : 5x⁴ + 5x³ + 10x² + 8x + 3 3x³ + 2x² + 7x + 8.

10[15 Marks]

a) Describe BFS algorithm. b) Find out the DFS traversal of the following graph starting at node A. A -- B -- E -- F -- K | | | | D -- C -- G -- H -- I -- J c) Define Prim's algorithm for minimum cost spanning tree with example.

← 2016 Question Paper2023 Question Paper →