Have you got knowledge about the binary trees in data structure? To test your knowledge, take this tree data structure quiz. We have got simple as well as complex questions for your practice. You can take up the quiz and pick the maximum correct answers to get a good score. Don't feel bad even if you miss out on some questions, as you will get the correct one there and then. This quiz will not only test your knowledge but enhance it too. All the best!
Yes
No
Rate this question:
O(n*n*logn)
O(n*logn)
O(n*n)
O(n *logn *logn)
Rate this question:
Just build the tree with the given input
Find the median of the set of elements given, make it a root
Use trial and error
Use dynamic programming to build the tree
Rate this question:
Root
Last level
Second level
Anywhere in heap
Rate this question:
8
4
11
12
Rate this question:
Left child of the node labeled 6
Right child of the node labeled 14
Right child of the node labeled 6
Left child of the node labeled 9
Rate this question:
Build function of max heap
Build function of min heap
Build function of any heap
Search element in any heap
Rate this question:
18
20
30
15
Rate this question:
13 nodes
6 nodes
9 nodes
11 nodes
Rate this question:
A1[ ] = {8, 3, 6, 1, 4, 7, 10, 14, 13} A2[ ] = {8, 10, 14, 3, 6, 4, 1, 7, 13}
B1[ ]= {15, 10, 25, 23, 20, 42, 35, 39, 30} B2[ ] ={15, 20, 10, 23, 25, 42, 35, 39, 30}
C1[ ]={7, 5, 1, 8, 3, 6, 9, 4, 2} C2[ ]={ 9,7, 5, 1, 8, 3, 2,6, 4}
D1[ ]={15, 10, 25, 23, 20, 42, 35, 39, 30} D2[ ]={ 15,35,39,10,25,20,23,42,30}
Rate this question:
2
3
4
5
Rate this question:
4,4
3,3
3,4
4,3
Rate this question:
D,H,E,I,B,F,G,C,A
A,C,G,F,B,I,E,H,D
D,H,I,E, B,F,G,C ,A
D,H,I,E,G,F,B,C,A
Rate this question:
4
5
2
3
Rate this question:
5,3,4
5,3,12
3,5,12
3,5,36
Rate this question:
Descending order
Ascending order
Level-wise order
No specific order
Rate this question:
10, 20, 15, 23, 25, 35, 42, 39, 30
15, 10, 25, 23, 20, 42, 35, 39, 30
15, 20, 10, 23, 25, 42, 35, 39, 30
15, 10, 23, 25, 20, 35, 42, 39, 30
Rate this question:
8
7,8
7
6,7
Rate this question:
11
16
14
10
Rate this question:
(4, 7)
(7,4)
(8, 3)
(3,8)
Rate this question:
Yes
No
Both I and II
None of these
Rate this question:
14,13,8,12,10
14,12,13,10,8
14,13,12,8,10
14,13,12,10,8
Rate this question:
Rate this question:
Only A
A and C
A, B, and C
Only B
Rate this question:
It is required to balance Node A
It is required to balance the Right child of A
It is required to balance the Parent of node A
Balancing may or may not be required for A
Rate this question:
O(n)
O(logn)
O(1)
O(n logn)
Rate this question:
2
7
3
15
Rate this question:
The smallest element in a max-heap is always at a leaf node.
The second largest element in a max-heap is always a child of the root node.
A max-heap can be constructed from a binary search tree in Θ(n) time.
A binary search tree can be constructed from a max-heap in Θ(n) time.
Rate this question:
Quiz Review Timeline (Updated): Jun 28, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
How Special Do You Think Woods Are?
The trees are the source of the wood around us. So, to see how well you know what you probably live in, we compiled these questions for your to answer.
Questions:
10 |
Attempts:
192 |
Last updated:
Mar 21, 2023
|
What Do You Know About Trees?
Trees are plants seen all around us.They play an important role in our ecosystem i.e. keeping us alive. What do you know about the tree? Take this quiz too.
Questions:
10 |
Attempts:
117 |
Last updated:
Mar 20, 2023
|
What Tree Are You? Quiz
Embark on a captivating journey of self-discovery with our "What Tree Are You?" quiz! Answer thought-provoking questions designed to unveil the essence of your...
Questions:
10 |
Attempts:
953 |
Last updated:
May 07, 2024
|
Amazing Trivia On Trees
Do you like a challenge? Well, you've got one now. Think you know are oxygen producers that well? Test your knowledge and find out more about them. Go ahead. Take the Quiz!!
Questions:
15 |
Attempts:
493 |
Last updated:
Mar 21, 2023
|
Trees Trivia Question
How much do you know about plants? Find out with our fun plant quiz for kids. Find questions and answers related to a range of topics
Questions:
15 |
Attempts:
472 |
Last updated:
Mar 20, 2023
|
Ontario Tree ID Quiz
A reasonably difficult multiple-choice tree identification quiz of species found in Ontario
Questions:
17 |
Attempts:
4985 |
Last updated:
Feb 19, 2024
|
Wait!
Here's an interesting quiz for you.