logo

AQA A-Level Computer Science practice

Which statement correctly defines a 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

Which statement correctly defines a tree?.

  1. A.A connected, undirected graph with no cycles
  2. B.A directed graph in which every vertex has two children
  3. C.A graph containing exactly one cycle
  4. D.A graph in which every vertex has a parent

Answer and explanation

Concise answer

A connected, undirected graph with no cycles

Why this is correct

A tree is connected, undirected and contains no cycles. It does not have to have a root.

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