logo

AQA A-Level Computer Science practice

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 first, then check the answer and practise the same topic again.

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.

Answer and explanation

Concise answer

A binary tree is a rooted tree in which each node has at most two children.

Why this is correct

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.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions