Exam-style question
Try this first
What is a graph in computer science?.
- A.A data structure used to represent relationships between items
- B.A single value stored in a variable
- C.A list that must always be sorted
- D.A program used only to draw pictures
Model answer
What a good answer should say
- A data structure used to represent relationships between items
Explanation
Why this works
A graph is a data structure that represents relationships using vertices or nodes and edges or arcs.
Common mistake
No common mistake is linked to this question yet.
