Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
Define a Directed Acyclic Graph (DAG).
Remember the key property of a DAG.
What does in-degree and out-degree refer to?
Think of how edges point to or away from a task.
What is a Directed Acyclic Graph?
Think about the meaning of acyclic.
Is it possible to topologically sort a graph with cycles?
Consider if you can complete a task if it depends on itself.
Create a DAG for scheduling a software development project with the following tasks: Design, Code, Test, Deploy. Assume Design must be completed before Code, and Code must be completed before Test. How would you represent this graphically?
Draw the tasks and the dependencies between them.
Explain how the presence of a cycle affects the workflow in a project management scenario. What strategies can be employed to prevent cycles in task dependencies?
Consider what happens when one task relies on another that also depends back on the first.
5 more questions in this section. Enroll free to practise them all.
Enroll free