logo

Question detail

What is a graph in computer science?

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

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

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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.