Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
Define a Directed Acyclic Graph (DAG).
Think about the meaning of directed and acyclic.
What does it mean if a vertex has an indegree of zero?
Consider what would happen if all tasks depended on it.
What does DAG stand for?
Remember the definition of the structure.
True or False: Every vertex in a DAG must have a non-zero indegree.
Consider what happens during task sequencing.
You have six tasks: Get Visa, Buy Tickets, Get Passport, Buy Gifts, Get Insurance, Exchange Currency. Create a DAG and provide a topological sort that respects all dependencies.
Map your tasks with clear dependencies before sorting.
List a scenario in a class project where tasks might form a DAG, delineate high indegree tasks versus low indegree tasks, and express which tasks could begin the project.
Identify tasks that support others and those that start the process.
6 more questions in this section. Enroll free to practise them all.
Enroll free