logo

Question detail

Describe what makes a rooted tree a binary tree. State the maximum number of children a node can have and explain whether a node must have two children.

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

Question

Type

practice

Style

Topic

Trees

Exam-style question

Try this first

Describe what makes a rooted tree a binary tree. State the maximum number of children a node can have and explain whether a node must have two children.

Model answer

What a good answer should say

  • A binary tree is a rooted tree in which each node has at most two children.
  • Therefore, a node can have zero, one or two children, but it cannot have more than two.
  • It is not necessary for every node to have two children.

Explanation

Why this works

The phrase 'at most two' includes zero and one as well as two. Confusing 'at most two' with 'exactly two' would incorrectly exclude valid binary trees.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.