logo

AQA A-Level Computer Science practice

What is the defining restriction on the number of children of each node in a binary tree?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Trees

Exam-style question

Try this first

What is the defining restriction on the number of children of each node in a binary tree?.

  1. A.Each node must have exactly one child
  2. B.Each node must have exactly two children
  3. C.Each node has at most two children
  4. D.Only the root may have children

Answer and explanation

Concise answer

Each node has at most two children

Why this is correct

A binary tree is a rooted tree in which each node has at most two children. A node may therefore have zero, one or two children.

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