Questions: Hamiltonian Paths, Cycles, and NP-Completeness

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A graph has exactly two vertices of odd degree. A student concludes it must have a Hamiltonian path. What is wrong with this reasoning?

ANothing is wrong — two odd-degree vertices guarantee a Hamiltonian path
BTwo odd-degree vertices guarantee an Eulerian path, not a Hamiltonian path — these are different problems with different criteria
CThe student should check whether it has zero odd-degree vertices, which would guarantee a Hamiltonian cycle
DDegree conditions can only rule out Hamiltonian paths, never guarantee them
Question 2 Multiple Choice

What does it mean practically that the Hamiltonian cycle problem is NP-complete?

ANo algorithm can solve it — it is mathematically undecidable
BIt can be solved in polynomial time only for graphs with special structure, but no known polynomial-time algorithm works for all graphs
CThe problem is harder than any problem in NP, making it the most difficult class of problems
DIt requires exponential space to store the graph, making it infeasible for large inputs
Question 3 True / False

Any graph satisfying Dirac's condition (every vertex has degree ≥ n/2) is guaranteed to contain a Hamiltonian cycle.

TTrue
FFalse
Question 4 True / False

If a graph contains an Eulerian circuit, it should also contain a Hamiltonian cycle.

TTrue
FFalse
Question 5 Short Answer

Explain why the Eulerian path problem is 'easy' (polynomial time) while the Hamiltonian path problem is 'hard' (NP-complete), even though both involve traversing graphs.

Think about your answer, then reveal below.