Vidyalelo
Data Structure · all questions

Trees in Data Structures
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

173

Questions

7/9

Page

Pick an option on a question to see the right answer and solution.

What is the depth of Node F in the given K-ary tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

Who invented k-d trees?

Select an option to see the answer and solution.

Who is the ancestor of Node H?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

What is the upper bound for maximum leaves in K-ary tree with height h?

Select an option to see the answer and solution.

What is the size of the given K-ary tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

Can child node be always called Leaf node in the ternary tree?

Select an option to see the answer and solution.

Which nodes are the siblings of Node B of given ternary tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

Insertion into a 2-d tree is a trivial extension of insertion into a binary search tree.

Select an option to see the answer and solution.

Is Node A sibling of Node D in the given ternary tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

Which of the following expression can be represented by the given syntax tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

Who is descendant of Node C?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.

What is the time taken for a range query for a perfectly balanced tree?

Select an option to see the answer and solution.

What is the total time spent for N-1 merges in a dynamic equivalence problem?

Select an option to see the answer and solution.

What is the time complexity for inserting a key or integer in Van Emde Boas data structure?

Select an option to see the answer and solution.

What is the use of the bin data structure?

Select an option to see the answer and solution.

Which type of tree does Van Emde Boas require to perform basic operations?

Select an option to see the answer and solution.

What is the worst case time complexity of delete operation(n is the no. of candidates)?

Select an option to see the answer and solution.

++a*bc*+defg is an?

Select an option to see the answer and solution.

How many extra nodes are there in Full ternary tree than a complete ternary tree?

Select an option to see the answer and solution.

What is the postfix expression for the following expression tree?
Trees in Data Structures mcq question image

Select an option to see the answer and solution.