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

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

AGroup A — Objective / Multiple Choice Questions

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

A graph G with n nodes bipartite if it contains

a) n edges
b) a cycle of odd length
c) no cycle of odd length
d) n² edges.
1(ii)[1 Mark]

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

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

A sort which compares adjacent elements in a list and switches where necessary is

a) insertion sort
b) heap sort
c) quick sort
d) bubble sort.
1(iv)[1 Mark]

The following sequence of operations is performed on a stack : push (1), push (2), pop, push (1), push (2), pop, pop, pop, push (2), pop. The sequence of popped out values are

a) 2, 2, 1, 1, 2
b) 2, 2, 1, 2, 2
c) 2, 1, 2, 2, 1
d) 2, 1, 2, 2, 2.
1(v)[1 Mark]

The initial configuration of queue is a, b, c, d ('a' is at the front). To get the configuration d, c, b, a one needs a minimum of

a) 2 deletions and 3 additions
b) 3 deletions and 2 additions
c) 3 deletions and 3 additions
d) 3 deletions and 4 additions.
1(vi)[1 Mark]

Which of the following sorting techniques requires extra space, than the data to be stored ?

a) Selection sort
b) Bubble sort
c) Heap sort
d) None of these.
1(vii)[1 Mark]

Which of the following methods has the best average case complexity for searching ?

a) Hashing
b) Sequential
c) Random
d) Binary.
1(viii)[1 Mark]

A binary search tree is generated by inserting in order the following integers : 50, 15, 62, 5, 20, 58, 91, 3, 8, 37, 60, 24. The number of nodes in the left subtree and right subtree of the root respectively is

a) (4, 7)
b) (7, 4)
c) (8, 3)
d) (3, 8).
1(ix)[1 Mark]

The technique of linear probing for Collision Resolution can lead to

a) clustering
b) efficient storage utilization
c) overflow
d) underflow.
1(x)[1 Mark]

Inserting a new node after a given node in a doubly Linked list requires

a) four pointer exchanges
b) two pointer exchanges
c) one pointer exchanges
d) no pointer exchanges.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

Prove that for any non-empty binary true T, if n₀ is the number of leaves and n₂ be the number of nodes having degree 2, then n₀ = n₂ + 1.

3[5 Marks]

Write an algorithm for inorder traversal of a threaded binary tree.

4[5 Marks]

a) How can a polynomial such as 6x⁶ + 4x³ - 2x + 10 be represented by a linked list ? b) Suggest an algorithm to reverse the direction of all the links of a singly linked list.

5[5 Marks]

a) Explain f(n) = O (g(n)). b) What is the advantage of binary search over linear search ?

6[5 Marks]

Compare linked list with array in respect of both advantages and disadvantages.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

a) Define a directed graph. Provide an example. b) Discuss about the following terminology i) Indegree ii) Sink iii) Cycle iv) Network. c) Define adjacency matrix corresponding to a digraph. d) Draw the graph corresponding to the following bit matrix : A = | 0 | 0 | 0 | 1 | |---|---|---|---| | 1 | 0 | 1 | 1 | | 1 | 0 | 0 | 1 | | 0 | 0 | 1 | 0 | e) What is path matrix ? f) Count the total number of nodes of a binary tree having depth n.

8[15 Marks]

a) Let a & b denotes positive integers. Suppose a function Q is defined as follows : Q(a, b) = { Q(a - b, b) + 1 if b <= a } { 0 if a < b } Find the value of Q(2, 3) and Q(14, 3). b) Transform the following expression to the expression in Postfix notation : A * (B + D) / E - F * (G + H / K) c) Why is the Queue Data Structure called FIFO ? d) Construct the following Queue of characters where Queue is a circular array which is allocated six memory cells. FRONT = 2 REAR = 4 QUEUE : _, A, C, D, _, _ Describe the Queue as the following operations take place : i) F is added to the Queue. ii) Two letters are from the Queue. iii) K, L, M are added to the Queue. iv) Two letters are deleted from the Queue. v) R is added to the Queue. vi) One letter is deleted from the Queue.

9[15 Marks]

a) The inorder & preorder traversal sequence of nodes in a binary tree are given below : Inorder : D G B A H E I C F Preorder : A B D G C E H I F. Draw the binary tree. State briefly the logic used to construct the tree. b) Insert the following keys in the order given below to build them into an AVL tree. g, h, s, l, e, m, t, u. Clearly mention different rotations used and balance factor of each node. c) What is 2-way threading ?

10[15 Marks]

a) What is BST ? b) For the following Graph Find i) BFS Traversal ii) DFS Traversal. c) Explain with a suitable example the principles of operation of Heap sort. d) Find the Time Complexity of the above algorithm.

11[15 Marks]

Write short notes on any three of the following : a) AVL Tree b) Tail Recursion c) Collision Resolution using chaining d) Dequeue — operation & application e) Warshall's Algorithm.

2007 Question Paper →