Data Structures Unit 4 Notes AKTU (BCS301)

AKTU · BTECH · Semester 3 · Data Structures · Unit 4 · Notes

Data Structures Unit 4 notes for AKTU BCS301, Semester 3. Revise tree traversals, BST, AVL and B-trees; practise unit-wise PYQs.

A preview is available. Sign in or check access options in the reader for the complete resource.

Unit 4: Trees – AKTU syllabus topics

  • Trees & Binary Trees: Tree Traversal (Inorder, Preorder, Postorder)
  • Binary Search Tree (BST)
  • Threaded Binary Trees
  • AVL, B-Trees & Binary Heaps
  • Huffman Coding

Most asked AKTU PYQ questions from Unit 4

  1. Q6b. Construct a Binary Search Tree (BST) using the following sequence of numbers: 50, 30, 70, 20, 40, 60, 80, 35, 45. Perform Inorder traversal of Tree. (7 marks, 2024-25)
  2. Q7a. Write Short notes of following (a) Extended Binary Trees (b) Complete Binary Tree (c) Threaded Binary Tree. (10 marks, 2020-21)
  3. Q2e. What is the difference between a binary search tree (BST) and heap? For a given sequence of numbers, construct a heap and a BST. 34, 23, 67, 45, 12, 54, 87, 43, 98, 75, 84, 93, 31 (10 marks, 2019-20)
  4. Q6a. Write Short notes of following (a) Binary Search Trees (b) Complete Binary Tree (c) Extended Binary Tree (7 marks, 2025-26)
  5. Q2e. The order of nodes of a binary tree in inorder and postorder traversal are as follows: In order : B, I, D, A, C, G, E, H, F. Post order: I, D, B, G, C, H, F, E, A. (i) Draw the corresponding binary tree. (ii) Write the pre order traversal of the same tree. (10 marks, 2022-23)
  6. Q7a. Discuss left skewed and right skewed binary tree. Construct an AVL tree by inserting the following elements in the order of their occurrence: 60, 2, 14, 22, 13, 111, 92, 86. (10 marks, 2022-23)
  7. Q7b. What is B-Tree? Write the various properties of B- Tree. Show the results of inserting the keys F, S, Q, K ,C, L, H, T, V, W, M, R, N, P, A, B in order into a empty B-Tree of order 5. (10 marks, 2022-23)
  8. Q2e. What is the significance of maintaining threads in Binary Search Tree? Write an algorithm to insert a node in thread binary tree. (10 marks, 2021-22)
  9. Q7a. (i) Why does time complexity of search operation in B-Tree is better than Binary Search Tree (BST)? (ii) Insert the following keys into an initially empty B-tree of order 5 a, g, f, b, k, d, h, m, j, e, s, i, r, x, c, l, n, t, u, p (iii) What will be the resultant B-Tree after deleting keys j, t… (10 marks, 2021-22)
  10. Q2e. If the in order of a binary tree is B,I,D,A,C,G,E,H,F and its post order is I,D,B,G,C H,F,E,A then draw a corresponding binary tree with neat and clear steps from above assumption. (10 marks, 2020-21)

AKTU paper codes: BCS301, KCS301, BCS301H, KCS301H

Other Data Structures units

Data Structures previous year papers

More Data Structures resources

More versions of this resource

Browse all notes · Semester 3 notes · Data Structures notes