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 a Directed Acyclic Graph (DAG).
Focus on the terms directed and acyclic.
What does 'in-degree' describe?
Think about the incoming connections to a node.
What is a key characteristic of a DAG?
Recall the definition of acyclic.
True or False: A task with in-degree of zero can be started immediately.
Think about task dependencies.
Given the tasks A, B, C, and D with the dependencies A -> B, A -> C, B -> D, C -> D, construct a DAG and describe the sequence of tasks.
Focus on the dependencies to form the correct order.
If a DAG has three vertices with in-degrees of 0, discuss how this could affect topological sorting.
Consider how having more starting points impacts task sequencing.
4 more questions in this section. Enroll free to practise them all.
Enroll free