logo

Question detail

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

Try the question, check the answer, then read the explanation to understand the curriculum point.

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

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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.