Questions: Walks, Trails, Paths, and Cycles in Graphs

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

You want to design a tour of a city that crosses every bridge exactly once, possibly returning to intersections you've visited before. Which graph theory concept describes what you're looking for?

AA Hamiltonian path — visiting every vertex (intersection) exactly once
BAn Eulerian trail — traversing every edge (bridge) exactly once, with vertices possibly repeated
CA simple path — visiting every vertex and edge exactly once
DA walk — with no restrictions on repetition
Question 2 Multiple Choice

A graph has a simple algorithm to determine if an Eulerian trail exists (check vertex degrees). But determining if a Hamiltonian path exists is NP-complete in general. What explains this dramatic difference in difficulty?

AEulerian trails involve fewer vertices than Hamiltonian paths, making them easier to compute
BThe degree condition for Eulerian trails is a local property that can be checked at each vertex independently; Hamiltonian paths require a global constraint (every vertex visited once) with no simple local criterion
CEulerian trails always exist in connected graphs, so checking is trivial, while Hamiltonian paths often don't exist
DGraph edges are easier to count than graph vertices, making edge-based problems inherently simpler
Question 3 True / False

Every path is also a trail, but not every trail is a path.

TTrue
FFalse
Question 4 True / False

A cycle and a closed walk are interchangeable terms — both simply describe any sequence of vertices that returns to the starting vertex.

TTrue
FFalse
Question 5 Short Answer

Why do the distinctions between walks, trails, and paths matter beyond terminology? Give a concrete example where the distinction changes what theorem or algorithm applies.

Think about your answer, then reveal below.