Skip to content

Online Certification Guide

  • NPTEL
    • Data Structures
  • Certificate Exams
    • Hootsuite Certification
      • Hootsuite Platform
      • Hootsuite Social Marketing
    • SEMrush Certification
      • SEO
        • Semrush SEO Toolkit
        • SEO Toolkit Exam For Advanced SEMrush Users
        • SEMrush For Digital Agencies
        • SEMrush Competitive Analysis And Keyword Research
        • SEMrush Link Building Test
        • SEMrush Rank Tracking Test
        • SEMrush Mobile, International And Local SEO Test
        • SEMrush Social SEO Fundamentals Exam
        • SEMrush Management, Reporting And Collaboration Test
        • SEMrush Role Of Content Exam
      • Content Marketing
        • SEMrush Content Marketing Toolkit Exam
        • SEMrush Content Marketing Fundamentals Exam
      • PPC
        • SEMrush Advertising Toolkit
        • SEMrush PPC Fundamentals Exam
      • SMM
        • SEMrush Social Media Toolkit Exam
        • SEMrush SMM Fundamentals
      • Affiliate Program
        • SEMrush Affiliate Program Terms
      • Competitive Research
        • Competitor Analysis With SEMrush Exam
        • Advanced Competitive Research Exam
      • SEO Learning Path
        • SEMrush Keyword Research Exam
        • SEMrush Backlink Management Exam
        • SEMrush Mobile SEO Exam
        • SEMrush Local SEO Exam
      • Technical SEO Learning Path
        • SEMrush Site Audit Exam
        • SEMrush Technical SEO
        • SEMrush On Page And Technical SEO
      • Google Digital Garage
        • Google Digital Garage Quiz
    • GYMNASIUM
      • Coding For Designers
  • Coursera
  • Question Papers
    • BCA
  • Tools
    • HTML Editor
    • 2048 Game
    • Gradient Color Code Generator
    • WordPress Free Themes & Plugins
  • News
  • Blog

Data Structures

Items 7,3,11,9 and 13 are inserted into an AVL tree. What happens when 12 is inserted?

 a)  no rotation is needed. b)  a single rotation between some node and its left child is performed. c)  a single rotation between some node and its right child is performed. d)  a double rotation with a node,its left child, …
Read more →

In ______________ tree, the heights of two child sub tree of any node differ by at most one

 A.  Binary tree B.  Red black tree C.  Splay tree D.  AVL tree

AVL trees have a faster _______________

A.  Insertion B.  Deletion C.  Updation D. Retrival

In ______, the difference between the height of the left sub tree and height of the right tree, for each node, is almost one.

A)  Binary search tree B)  AVL – tree C)  Complete tree D)  Threaded binary tree

In BST operations-______ must not leave ‘a gap’ in the tree.

a) removal of node b) incement of node c)decrement of node d) none of these

To represent hierarchical relationship between elements, Which data structure is suitable?

 A) Dequeue B) Priority C) Tree D) Graph

In a full binary tree, every internal node has exactly two children. A full binary tree with 2n+1 nodes contains

a) n leaf node b) n internal nodes c) n-1 leaf nodes d) n-1 internal nodes

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 the node in the left sub-tree and right sub-tree of the root, respectively, is  a) (4, 7) b) (7, 4) c) (8, 3) d) (3, 8)

The maximum number of elements in a heap of height h is

a) 2h+1 -1 b) 2h c) 2h -1 d) 2h -1

When a binary tree is converted in to an extended binary tree, all the nodes of a binary tree in the external node becomes

a) Internal nodes b) External nodes c) Root nodes d) None

A binary search tree is formed from the sequence 6, 9, 1, 2, 7, 14, 12, 3, 8, 18. The minimum number of nodes required to be added in to this tree to form an extended binary tree is?

a) 3 b) 6 c) 8 d) 11

Which type of traversal of binary search tree outputs the value in sorted order?

 a) Pre-order b) In-order c) Post-order d) None

Suppose we have numbers between 1 and 1000 in a binary search tree and want to search for the number 363. Which of the following sequence could not be the sequence of the node examined?

 a) 2, 252, 401, 398, 330, 344, 397, 363 b) 924, 220, 911, 244, 898, 258, 362, 363 c) 925, 202, 911, 240, 912, 245, 258, 363 d) 2, 399, 387, 219, 266, 382, 381, 278, 363

The height of a BST is given as h. Consider the height of the tree as the no. of edges in the longest path from root to the leaf. The maximum no. of nodes possible in the tree is?

a) 2h-1 -1 b) 2h+1 -1 c) 2h +1 d) 2h-1 +1

The post order traversal of a binary tree is DEBFCA. Find out the pre order Traversal.

A. ABFCDE B. ADBFEC C. ABDECF D. ABDCEF

In linked representation of Binary trees LEFT[k] contains the _____ of at the node N, where k is the location.

 A. Data B. Location and left child C. Right child address D. Null value

Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … Page18 Next →

Explore Topics

  • NPTEL
  • Coursera
  • GYMNASIUM
  • Hootsuite
  • SEMrush
Online Certification Guide Logo

OnlineCertificationGuide here to help you out in your Journey in the study. So my friend share the site with your friends in case I am helpful to you.

Categories

  • → NPTEL
  • → Coursera
  • → GYMNASIUM
  • → Hootsuite
  • → SEMrush

Site Links

  • → About
  • → Contact
  • → Cookie Policy
  • → Privacy Policy
  • → Disclaimer
© 2025 Online Certification Guide • Made with ❤ India
  • NPTEL
    • Data Structures
  • Certificate Exams
    • Hootsuite Certification
      • Hootsuite Platform
      • Hootsuite Social Marketing
    • SEMrush Certification
      • SEO
        • Semrush SEO Toolkit
        • SEO Toolkit Exam For Advanced SEMrush Users
        • SEMrush For Digital Agencies
        • SEMrush Competitive Analysis And Keyword Research
        • SEMrush Link Building Test
        • SEMrush Rank Tracking Test
        • SEMrush Mobile, International And Local SEO Test
        • SEMrush Social SEO Fundamentals Exam
        • SEMrush Management, Reporting And Collaboration Test
        • SEMrush Role Of Content Exam
      • Content Marketing
        • SEMrush Content Marketing Toolkit Exam
        • SEMrush Content Marketing Fundamentals Exam
      • PPC
        • SEMrush Advertising Toolkit
        • SEMrush PPC Fundamentals Exam
      • SMM
        • SEMrush Social Media Toolkit Exam
        • SEMrush SMM Fundamentals
      • Affiliate Program
        • SEMrush Affiliate Program Terms
      • Competitive Research
        • Competitor Analysis With SEMrush Exam
        • Advanced Competitive Research Exam
      • SEO Learning Path
        • SEMrush Keyword Research Exam
        • SEMrush Backlink Management Exam
        • SEMrush Mobile SEO Exam
        • SEMrush Local SEO Exam
      • Technical SEO Learning Path
        • SEMrush Site Audit Exam
        • SEMrush Technical SEO
        • SEMrush On Page And Technical SEO
      • Google Digital Garage
        • Google Digital Garage Quiz
    • GYMNASIUM
      • Coding For Designers
  • Coursera
  • Question Papers
    • BCA
  • Tools
    • HTML Editor
    • 2048 Game
    • Gradient Color Code Generator
    • WordPress Free Themes & Plugins
  • News
  • Blog
Go to mobile version