logo

AQA A-Level Computer Science practice

What is a graph in computer science?

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

What is a graph in computer science?.

  1. A.A data structure used to represent relationships between items
  2. B.A single value stored in a variable
  3. C.A list that must always be sorted
  4. D.A program used only to draw pictures

Answer and explanation

Concise answer

A data structure used to represent relationships between items

Why this is correct

A graph is a data structure that represents relationships using vertices or nodes and edges or arcs.

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