Exam-style question
Try this first
Which representation uses a two-dimensional table in which rows and columns represent vertices?.
- A.An adjacency matrix
- B.An adjacency list
- C.A weighted vertex
- D.A directed node
Model answer
What a good answer should say
- An adjacency matrix
Explanation
Why this works
An adjacency matrix uses rows and columns for vertices. An entry indicates whether a connection exists, and may hold a weight when appropriate.
Common mistake
No common mistake is linked to this question yet.
