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

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

AGroup A — Objective / Multiple Choice Questions

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

The number of swapping needed to sort numbers 8,22,7,9,31,19,5,13 in ascending order using bubble sort is

a) 11
b) 12
c) 13
d) 14
1(ii)[1 Mark]

Binary search uses

a) divide and reduce strategy
b) divide and conquer strategy
c) heuristic search
d) both (A) & (B)
1(iii)[1 Mark]

The following sequence of operations is performed on a stack: push(1), push(2), pop, push(1), 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(iv)[1 Mark]

The postfix expression for * + a b - c d is

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

Adjacency matrix for a digraph is

a) unit matrix
b) symmetric matrix
c) asymmetric matrix
d) none of these
1(vi)[1 Mark]

Which of the following is a hash function?

a) quadratic probing
b) chaining
c) open addressing
d) folding
1(vii)[1 Mark]

Linked list is not suitable data structure for which one of the following problems?

a) insertion sort
b) radix sort
c) binary search
d) polynomial addition
1(viii)[1 Mark]

Number of all possible binary trees with 4 nodes is

a) 13
b) 12
c) 14
d) 15
1(ix)[1 Mark]

If the inorder and preorder traversal of a binary tree are D,B,F,E,G,H,A,C and A,B,D,E,F,G,H,C respectively then, the postorder traversal of that tree is

a) D,F,H,G,E,B,C,A
b) F,H,D,G,E,B,C,A
c) C,G,H,F,E,D,B,A
d) D,F,H,G,E,B,C,A
1(x)[1 Mark]

The heap represented by an array) constructed from the list of numbers 30,10,80,60,15,55,17 is

a) 60,80,55,30,10,17,15
b) 80,55,60,15,10,30,17
c) 80,60,30,17,55,15,10
d) none of these
1(xi)[1 Mark]

In array representation of Binary tree, if the index number of a child node is 6 then the index number of it's parent node is

a) 2
b) 3
c) 4
d) 5
1(xii)[1 Mark]

BFS constructs

a) a minimal cost spanning tree of a graph
b) a depth first spanning tree of a graph
c) a breadth first spanning tree of a graph
d) none of these
1[1 Mark]

Define sorting.

2[1 Mark]

What is a stable sorting? What is In-Place sorting?

3[1 Mark]

Write the Pseudocode for Merge sort implementation. What is its time complexity?

4[1 Mark]

If the existing array is sorted and you want to insert a new element in the list without disrupting the sortedness then which sorting technique you should use? Why?

5[1 Mark]

What is Hashing?

6(a)[1 Mark]

Show the stages in growth of an order -4B- Tree when the following keys are inserted in the order given:- 84 82 29 97 61 10 45 28 49 70 86 68 19 55 22 11 55 77 16

6(b)[1 Mark]

How does an AVL tree differ from a binary search tree? Insert the following keys in the order given below to build an AVL tree:- 8 12 9 11 7 6 66 2 1 44

6(c)[1 Mark]

Clearly mention different rotation used and balance factor of each node.

7[1 Mark]

Write the Prim's algorithm for finding MST from a graph.

8[1 Mark]

Write short notes on any three of the following

8(a)[1 Mark]

Radix Sort.

8(b)[1 Mark]

Index sequential File Organization.

8(c)[1 Mark]

DFS in graph.

8(d)[1 Mark]

Threaded binary tree.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

Differentiate between Linear and Non Linear data structures? Give two examples of each.

3[5 Marks]

Write an algorithm to find the largest and smallest element in a single linear list.

4(a)[3 Marks]

Suppose one 2-D array is initialized as int a [5] [7]; Base address is 4000. Find the location of element a [2] [4] in row major form and column major form.

4(b)[2 Marks]

Define Sparse Matrix.

5(a)[3 Marks]

Prove that the maximum no. of nodes in a binary tree of depth k is 2^k - 1.

5(b)[2 Marks]

What are the characteristics of algorithm?

6[5 Marks]

Draw a minimum heap tree from the list below: 12,11,7,3,10,-5,0,9,2 Now do the heap sort operation over the heap tree.

CGroup C — Long Answer Analytical & Numerical Questions

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

Represent the given polynomial using a link list.

7(b)[4 Marks]

Write the pseudo code / C code for adding two polynomials (already given by user, no need to take input). Also comment on the complexity of your algorithm.

7(c)[4 Marks]

Write the Pseudocode or C code to implement Tower of Hanoi problem. Also find the complexity of your procedure.

8(a)[9 Marks]

Insert the following numbers into a binary search tree in the order that they are given and draw the resulting tree. 87;36;22;15;56;85;48;91;72;6. Delete 48 and draw the resulting tree.

8(b)[6 Marks]

Write an algorithm to insert an element into binary search tree.

9[15 Marks]

Write a program to implement the following operations on a singly linked list: (i) Insert a node at the beginning (ii) Insert a node at the end (iii) Insert a node after a given node (iv) Delete a node from the beginning (v) Delete a node from the end (vi) Delete a node after a given node (vii) Display the list (viii) Search for a given element. The program should be menu driven.

10[15 Marks]

Write a program to implement the following operations on a doubly linked list: (i) Insert a node at the beginning (ii) Insert a node at the end (iii) Insert a node after a given node (iv) Delete a node from the beginning (v) Delete a node from the end (vi) Delete a node after a given node (vii) Display the list (viii) Search for a given element. The program should be menu driven.

11[15 Marks]

Write a program to implement the following operations on a circular linked list: (i) Insert a node at the beginning (ii) Insert a node at the end (iii) Insert a node after a given node (iv) Delete a node from the beginning (v) Delete a node from the end (vi) Delete a node after a given node (vii) Display the list (viii) Search for a given element. The program should be menu driven.

← 2014 Question Paper2016 Question Paper →