Questions: Transitive Closure and Reachability

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Let R = {(1,2), (2,3), (3,4)} on the set {1,2,3,4}. Which set of new pairs must be added to R to form its transitive closure R⁺?

AOnly (1,3) — one level of transitivity is sufficient
BOnly (2,4) — only the last indirect pair is missing
C(1,3), (2,4), and (1,4) — all pairs reachable by a directed path
DNo new pairs — R is already transitive
Question 2 Multiple Choice

Which statement best describes what it means for (a, b) to be in the transitive closure R⁺?

A(a, b) is already in R
BThere exists a single intermediate element c such that (a,c) ∈ R and (c,b) ∈ R
CThere exists a directed path of one or more edges from a to b in the directed graph of R
DThere exists a directed path of exactly two edges from a to b in the directed graph of R
Question 3 True / False

If (a,b) ∈ R and (b,c) ∈ R and (c,d) ∈ R, then (a,d) is in the transitive closure R⁺.

TTrue
FFalse
Question 4 True / False

The transitive closure R⁺ of a relation R typically contains strictly more pairs than R itself.

TTrue
FFalse
Question 5 Short Answer

Explain why computing the transitive closure of a relation is equivalent to solving the reachability problem in a directed graph.

Think about your answer, then reveal below.