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

Question 12(b)(ii)

1 mark

Computer ScienceISC 2020 Computer Science Paper 1Binary treeData structures

Answer the following questions from the binary tree.

State the degree of the Nodes E and H.

Answer

Answer

Degree of a node = number of its children. Node E is a leaf, so its degree is 0. Node H has two children (I and D), so its degree is 2.