Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Define transitive closure in your own words.
Think about how elements connect through others.
What does a Boolean matrix represent?
Recall the binary nature of relationships.
The transitive closure R* of a relation R includes:
Recall the definitions of transitivity and reachability.
True or False: You need to compute all powers of R to find R*.
Consider the distinct nodes and path lengths.
Design a directed graph with 5 nodes and 10 edges; calculate its transitive closure using the connectivity relation.
Start with direct connections, then look for paths that connect indirectly.
Given a Boolean matrix representing R, develop an algorithm to compute its R* with minimal computational effort and justify your approach.
Consider calculating powers of the matrix and their significance.
4 more questions in this section. Enroll free to practise them all.
Enroll free