5-min deep dive

The critical path in depth: node times and dummy tasks

With two paths you can just add and compare, but exam diagrams are a bit more complex. Learn a method that solves any diagram with the same steps.

Reading time: about 5 min

← Start with the 1-min version

In the game, this was cooking dinnerPlay “When’s Dinner Ready?”

In the gameIn real IT
Cooking steps and minutesTasks and days
Cooking-step diagramArrow diagram
Time until dinnerShortest project duration
The longest chainCritical path
Dotted “just wait” arrowDummy activity

List every path

For a small diagram, the surest way is to list every path from start to goal and add up the days. Try “upper, then lower” at each fork in order, and you won’t miss any. When paths multiply, use the “node time” method below.

Earliest node time: add from the front

Starting with the start at day 0, write on each circle “the earliest day work can start from here.” This is the earliest node time.

When two or more arrows enter a circle, take the larger value, because you wait for all the tasks to finish. The earliest node time at the goal is the shortest schedule for the whole project.

Latest node time and slack

Next, work backward from the goal’s day count and write on each circle “the latest day you can start without delaying the whole project.” This is the latest node time; when two or more arrows leave a circle, take the smaller value.

A circle whose earliest and latest times are equal has no slack at all. The path that links those circles is the critical path. Where there’s a gap, work can slip by that many days without trouble.

Dotted lines are dummy tasks

A dotted arrow is a dummy task, and it takes 0 days. No work is done; it only shows an order: “that task can’t start until this one is done.” The circle at the tip of a dotted arrow also waits for the work leading up to its tail, so don’t forget it when calculating earliest node times.

To shorten the schedule

To finish the project sooner, shorten tasks on the critical path. Shortening tasks on other paths doesn’t change the overall schedule.

But as you shorten the critical path, another path may become longer, and the critical path can switch. After shortening, check the longest path again.

Field note: infrastructure builds have critical paths too

When building servers or networks, tasks you can only wait for — equipment lead times, line installation work, data-center access and rack arrangements — often set the whole schedule.

However fast you rush the configuration work, you can’t start until the equipment arrives. Ordering and applying for the longest-wait items first is the best way to stay on schedule.

Practice questions

Four-choice questions in the style of Japan’s IT Passport and Fundamental Information Technology Engineer exams. Tap below to see the answer.

Q1One path is task A (3 days) followed by task C (4 days); another is task B (5 days) followed by task D (3 days). A and B can start at the same time, and the project is complete when both C and D are done. What is the shortest number of days for the whole project?

  • A7 days
  • B8 days
  • C12 days
  • D15 days
Show the answer and explanation

Answer: BA→C is 3 + 4 = 7 days and B→D is 5 + 3 = 8 days. You wait for both to finish, so the longer one, 8 days, is the shortest total.

Q2A task on the critical path is 2 days late. If every other task is on schedule, what happens to the whole project?

  • AIt is not delayed
  • BIt is 1 day late
  • CIt is 2 days late
  • DIt is 4 days late
Show the answer and explanation

Answer: CThe critical path has no slack, so a task’s delay becomes the whole project’s delay.

Q3Which correctly describes a dummy task in an arrow diagram?

  • AA task with spare days built in
  • BSomething that takes 0 days and shows only the order between tasks
  • CA task that can be left out
  • DA task that appears only on the critical path
Show the answer and explanation

Answer: BA dummy task is drawn as a dotted line and takes 0 days. It shows only an ordering rule between tasks.

Summary
  • Earliest node times are added from the front; where paths merge, take the larger
  • The path linking circles whose earliest and latest times match is the critical path
  • A dummy task takes 0 days and shows only the order