Trees Mcqs
Our collections of Multiple choice questions and answers focuses on study of ” Trees ” in Data Structures. These questions are chosen from a collection of most authoritative and best reference books on Data Structures. Our aim is to prepare an individual for competitive exams like NTS | GAT | ECAT | Data Warehouse jobs | Data Mining | DB administration jobs Software House and Computer Programmer jobs | University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate knowledge on Trees comprehensively.
2. The maximum number of nodes in a binary tree of depth 5 is ……………
31
16
32
15
3. …………………. Is a directed tree in which out degree of each node is less than or equal to two.
Unary tree
Binary tree
Trinary tree
Both B and C
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4. A B-tree of minimum degree t can maximum _____ pointers in a node.
T–1
2t–1
2t
T
5. A binary search tree whose left subtree and right subtree differ in height by at most 1 unit is called ……
AVL tree
Red-black tree
Lemma tree
None of the above
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6. A binary search tree, also known as_________.
Binary tree
Binary sorted tree
Sibling node
Heap trees
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7. A binary tree can be converted in to its mirror image by traversing it in …………..
In-order
Pre-order
Post-order
Any order
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8. A binary tree can easily be converted into a 2-tree
By replacing each empty sub tree by a new internal node
By inserting an internal nodes for non-empty node
By inserting an external nodes for non-empty node
By replacing each empty sub tree by a new external node
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9. A binary tree having n nodes and depth d will be about complete binary tree if
It contains log(d)+1 nodes
Any node nd at level less than d-1 has two sons
For any node nd in the tree with a right descendent at level d lt must have a left son
All of these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10. A binary tree in which every non-leaf node has non-empty left and right subtrees is called a strictly binary tree. Such a tree with 10 leaves
Has exactly 17 nodes
Has exactly 19 nodes
Cannot have more than 19 nodes
None of these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11. A binary tree in which if all its levels except possibly the last, have the maximum number of nodes and all the nodes at the last level appear as far left as possible, is called
Threaded tree
Full binary tree
Binary Search Tree
Complete binary tree
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12. A binary tree in which if all its levels except possibly the last, have the maximum number of nodes and all the nodes at the last level appear as far left as possible, is known as
Full binary tree
AVL tree
Threaded tree
Complete binary tree
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13. A binary tree is a special type of tree, which can either be empty or have a finite set of nodes, such that, one of the nodes is designated as the root node and the remaining nodes are partitioned into sub trees of the root nodes known as__________.
Left sub tree
Right sub tree
Both (a) and (b)
Heap tree
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14. A binary tree is a ________data structure; each node belongs to a particular level number.
Dual level
Multilevel
Tri level
Single level
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15. A binary 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 nodes in the left of the root respectively is
(3,6)
(4,7)
(6,3)
(7,4)