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
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.
