In a tree, a node of degree _____ is called a terminal node or leaf node.

2018

In a tree, a node of degree _____ is called a terminal node or leaf node.

  1. A.

    0

  2. B.

    1

  3. C.

    2

  4. D.

    3

Attempted by 447 students.

Show answer & explanation

Correct answer: A

In tree data structures, the degree of a node represents the number of its immediate children. A terminal or leaf node is defined by having no children, meaning it has zero subtrees attached to it. Consequently, the degree of a leaf node is exactly zero.

Explore the full course: Up Lt Grade Assistant Teacher 2025