What is a graph in the context of computer science?
2025
What is a graph in the context of computer science?
- A.
A data structure that consists of nodes connected by edges
- B.
A pictorial representation of statistical data
- C.
A mathematical function
- D.
None of the above
Attempted by 396 students.
Show answer & explanation
Correct answer: A
In the context of computer science, a graph is a data structure that is defined as a set of nodes (vertices) connected by edges.