logo

AQA A-Level Computer Science practice

Which representation uses a two-dimensional table in which rows and columns represent vertices?

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

At a glance

MCQ

Type

practice

Style

Topic

Graphs

Exam-style question

Try this first

Which representation uses a two-dimensional table in which rows and columns represent vertices?.

  1. A.An adjacency matrix
  2. B.An adjacency list
  3. C.A weighted vertex
  4. D.A directed node

Answer and explanation

Concise answer

An adjacency matrix

Why this is correct

An adjacency matrix uses rows and columns for vertices. An entry indicates whether a connection exists, and may hold a weight when appropriate.

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