4.2.4 Graphs

 To meet this assessment criteria you should: 

Be aware of a graph as a data structure used to represent more complex relationships.

Be familiar with typical uses for graphs.

Be able to explain the terms:

Know how an adjacency matrix and an adjacency list may be used to represent a graph.

Be able to compare the use of adjacency matrices and adjacency lists.

Graphs worksheet #1

Homework task #1 

Data Structures T5 Graphs.pptx

Graphs

graphs_and_trees.pdf

Graphs and trees

(Reading)

Play around with this code, can you see what is going on?

Using classes and graphs