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

Question 4(i)

2 marks

Computer ScienceISC 2022 Computer Science - Specimen paper (Semester 2), Paper 1Binary treeData structures

Answer the following questions from the binary tree.

State the degree of the nodes C and G. Also, state the level of these nodes when the root is at…

State the degree of the nodes C and G. Also, state the level of these nodes when the root is at level 0.

Answer

Answer

Node C: degree = 2 (children E and F), level = 1. Node G: degree = 0 (it is a leaf), level = 3.