Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 12(b)(ii)

1 mark

Computer ScienceISC 2017 Computer Science Paper 1Binary treeData structures

Answer the following questions from the binary tree.

State the level numbers of the nodes N and R if the root is at 0 (zero) level.

Answer

Answer

Level of N = 1 and level of R = 3. Root M is at level 0; N is a child of M (level 1); R is a child of Z, which is a child of G, a child of M (M 0, G 1, Z 2, R 3).