Chapter 7
Chapter 7
1. What are the degrees of the vertices in the graphs displayed below?
2. Use adjacency list and adjacency matrix to represent the graphs given below.
a b c
e d
3. How many edges are there in a graph with 10 vertices, each having degree six?
8. Determine whether the graph has an Euler circuit. If no Euler circuit exists, determine whether the
graph has an Euler path.
9. Determine whether the graph has a Hamilton circuit. If no Hamilton circuit exists, give an argument
to show why no such circuit exists.
10. Find the length of a shortest path between these pairs of vertices in the weighted graph.
(a) a and z
(b) a and d
(c) c and b
11. Determine whether the given graph is planar. If so, draw it so that no edges cross.
(a) (b)
b c d
e f g h j k
i
l o p q r
m n
s t
15. In which order are the vertices of the ordered rooted tree visited using an
a) Preorder traversal
b) Inorder traversal
c) Postorder traversal
b c
d
e f g
i j k l
16. Find a spanning tree for the graph shown by removing edges in simple circuits.
(a) (b)