Skip to content
VUBuddy

CS301P Final Term MCQs by Miss Mehwish

Data Structures (Practical) PDF 1.9 MBUpdated 23 Oct 2026
Final term past paper CS301P Final Term MCQs by Miss Mehwish PDF 1.9 MB
vubuddy.com
Type
Final term past paper
Course
CS301P Data Structures (Practical)
Size
PDF 1.9 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.9 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 37. Download the file for all 37 pages.

CS301p · Final Term (Live Quiz) · Past Papers for Mids./Finals are also Available

  1. If the data is given in sorted order, the tree generated will be similar to __________. Queue

Stack [✔] Heap

  1. If you create a BST with data that is sorted in an ascending or descending order, it will be similar to:

Complete Binary Tree AVL tree Strictly Binary Tree

Q3. Which type of rotation can balance the following AVL tree?

(Tree: 15 -> 20 -> 18)

Q4. Which type of rotation can balance the following AVL tree?

(Tree: 11 -> 16 -> 12)

Q5. Which of the following function prototype is declaring the function as constant?

Q6. Which of the following function is returning a const value?

  1. Choose the correct option that why the following tree is not an AVL tree. (Tree: 2 -> 4 -> 8 -> 11 -> 13)
  2. In the given BST, the balance factor of the root node is:

-1

[✔] 1 -2

Q9. What will be the height of an empty AVL tree?

-1 [✔] 0

  1. The balance of a node in a binary search tree is defined as the __________.

[✔] height of its left subtree - height of its right subtree height of its right subtree - height of root node height of its left subtree - height of its leaf nodes height of its right subtree + height of its left subtree

  1. The balance of a node in a binary search tree is defined as the:

* height of its right subtree + height of its left subtree * height of its left subtree - height of its leaf nodes * height of its right subtree - height of root node * ✓ height of its left subtree - height of its right subtree

Q2. What will be the height of an empty AVL tree?

* ✓ -1 * 0 * 1

All CS301P files →
CS301P Data Structures (Practical) All CS301P handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.