Paths and Circuits
This quiz is designed to assess your understanding of paths and circuits in graph theory.
Questions
In a graph, a path is a sequence of vertices such that each vertex is connected to the next by an edge. If the last vertex is connected to the first vertex, then the path is called a circuit.
- True
- False
Which of the following is a path in the graph below?
A -- B -- C -- D -- E
- A-B-C-D-E
- A-B-C-E
- A-B-D-E
- A-C-D-E
Which of the following is a circuit in the graph below?
A -- B -- C -- D -- E
F -- G -- H
- A-B-C-D-E-A
- F-G-H-F
- A-B-C-D-E-F-G-H-A
- B-C-D-E-F-G-H-B
A graph is called a connected graph if there is a path between every pair of vertices. Which of the following graphs is connected?
A -- B -- C
D -- E -- F
- Graph 1
- Graph 2
- Both
- Neither
A graph is called a tree if it is connected and has no cycles. Which of the following graphs is a tree?
A -- B -- C
D -- E -- F
- Graph 1
- Graph 2
- Both
- Neither
In a graph, a spanning tree is a tree that includes all the vertices of the graph. Which of the following graphs is a spanning tree of the graph below?
A -- B -- C
D -- E -- F
- Graph 1
- Graph 2
- Both
- Neither
In a graph, a Hamiltonian path is a path that visits every vertex exactly once. Which of the following graphs has a Hamiltonian path?
A -- B -- C
D -- E -- F
- Graph 1
- Graph 2
- Both
- Neither
In a graph, a Eulerian circuit is a circuit that visits every edge exactly once. Which of the following graphs has an Eulerian circuit?
A -- B -- C
D -- E -- F
- Graph 1
- Graph 2
- Both
- Neither
Which of the following statements is true about a graph with $n$ vertices and $m$ edges?
A. If $m > n$, then the graph must have a circuit.
B. If $m < n$, then the graph must be a tree.
C. If $m = n$, then the graph must be a connected graph.
- A only
- B only
- C only
- A and C
Which of the following statements is true about a tree with $n$ vertices?
A. A tree with $n$ vertices has $n-1$ edges.
B. A tree with $n$ vertices has $n+1$ edges.
C. A tree with $n$ vertices has $2n-2$ edges.
- A only
- B only
- C only
- A and C
Which of the following statements is true about a graph with $n$ vertices and $m$ edges?
A. If $m < n-1$, then the graph must be a tree.
B. If $m > n-1$, then the graph must have a circuit.
C. If $m = n-1$, then the graph must be a connected graph.
- A only
- B only
- C only
- A and C
Which of the following statements is true about a Hamiltonian path in a graph?
A. A Hamiltonian path must visit every vertex exactly once.
B. A Hamiltonian path must visit every edge exactly once.
C. A Hamiltonian path must start and end at the same vertex.
- A only
- B only
- C only
- A and C
Which of the following statements is true about an Eulerian circuit in a graph?
A. An Eulerian circuit must visit every vertex exactly once.
B. An Eulerian circuit must visit every edge exactly once.
C. An Eulerian circuit must start and end at the same vertex.
- A only
- B only
- C only
- A and C