Binary Tree: GATE CS Previous Year Questions

Binary Tree · Data Structures

35 questions · asked in 17 of 27 years (2000–2026)

MCQ 27 · NAT 81-mark 26 · 2-mark 9

2000Questions per year2026

Questions 21–25 of 35

Q21GATE 20071 markMCQ−0.33 if wrong
The inorder and preorder traversal of a binary tree are d b e a f c g and a b d e c f g, respectively The postorder traversal of the binary tree is:

Q22GATE 20071 markMCQ−0.33 if wrong
The maximum number of binary trees that can be formed with three unlabeled nodes is:

Q23GATE 20071 markMCQ−0.33 if wrong
The height of a binary tree is the maximum number of edges in any root to leaf path. The maximum number of nodes in a binary tree of height h is:

Q24GATE 20061 markMCQ−0.33 if wrong
An array X of n distinct integers is interpreted as a complete binary tree. The index of the first element of the array is 0. If the root node is at level 0, the level of element X[i],i≠0X[i], i \neq 0, is

Q25GATE 20061 markMCQ−0.33 if wrong
An array X of n distinct integers is interpreted as a complete binary tree. The index of the first element of the array is 0. If only the root node does not satisfy the heap property, the algorithm to convert the complete binary tree into a heap has the best asymptotic time complexity of

Keep practising

Topics in Data Structures

All CS topics ›