Questions: Graphs: Basic Concepts and Terminology

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An undirected graph has 5 vertices with degrees 2, 3, 3, 4, 4. How many edges does the graph have?

A16 edges
B8 edges
C5 edges
D14 edges
Question 2 Multiple Choice

In a directed graph, vertex v has in-degree 3 and out-degree 2. How many edges are incident to v in total?

A2 edges — only outgoing edges are 'incident' to a vertex in a directed graph
B3 edges — only incoming edges count because v is a destination
C5 edges — both incoming and outgoing edges are incident to v
D6 edges — in-degree and out-degree are multiplied
Question 3 True / False

In any undirected graph, the sum of all vertex degrees is always an even number.

TTrue
FFalse
Question 4 True / False

A path in a graph is a sequence of vertices where consecutive vertices are connected by edges; a vertex may appear more than once as long as no edge is repeated.

TTrue
FFalse
Question 5 Short Answer

State the handshaking lemma and explain why it holds. What is one useful consequence of the lemma?

Think about your answer, then reveal below.