← Quiz: Closures and Warshall's Algorithm: all 10 questions
Quiz: Closures and Warshall's Algorithm · Question 2 of 10
On A = {1, 2, 3}, what is the symmetric closure of R = {(1, 2), (2, 3)}?
On A = {1, 2, 3}, what is the symmetric closure of R = {(1, 2), (2, 3)}?
- A.{(1, 2), (2, 3), (1, 3)}
- B.{(1, 1), (2, 2), (3, 3), (1, 2), (2, 3)}
- C.{(1, 2), (2, 1), (2, 3), (3, 2)}
- D.{(2, 1), (3, 2)}
Answer & explanation
Correct answer: {(1, 2), (2, 1), (2, 3), (3, 2)}
Add the reverse of every pair, and nothing else.
Can you get the rest right without peeking?
Take the timed Quiz: Closures and Warshall's Algorithm quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →