CSC425 · 2078 · 5 marks
Draw precedence network diagram for the following and identify the critical path. | Activity | Duration (Weeks) | Precedence | |----------|------------------|-----------| | A | 5 | | | B | 3 | A | | C | 5 | A | | D | 10 | B, C |
Draw precedence network diagram for the following and identify the critical path.
| Activity | Duration (Weeks) | Precedence |
|---|---|---|
| A | 5 | |
| B | 3 | A |
| C | 5 | A |
| D | 10 | B, C |
[5]
Software Project ManagementChapter 3: Activity Planning and SchedulingNetwork planning modelNumerical: CPM network critical path
Precedence Network Diagram and Critical Path
Given
| Activity | Duration (Weeks) | Precedence |
|---|---|---|
| A | 5 | None (start) |
| B | 3 | A |
| C | 5 | A |
| D | 10 | B, C |
Solution
Precedence Network (Activity-on-Node)
+--------+
+-->| B: 3 |---+
| +--------+ |
+--------+ | v +--------+
| A: 5 |---+ +-->| D: 10 |---> Finish
+--------+ | ^ +--------+
| +--------+ |
+-->| C: 5 |---+
+--------+
- A has no predecessor (starts the project).
- B and C both follow A.
- D follows both B and C (both must complete before D starts).
Forward Pass (Earliest Start / Earliest Finish)
$EF = ES + \text{Duration}$
| Activity | ES | Duration | EF |
|---|---|---|---|
| A | 0 | 5 | 5 |
| B | 5 | 3 | 8 |
| C | 5 | 5 | 10 |
| D | $\max(8,10)=10$ | 10 | 20 |
Project Duration = 20 weeks
Backward Pass (Latest Finish / Latest Start)
$LS = LF - \text{Duration}$
| Activity | LF | Duration | LS |
|---|---|---|---|
| D | 20 | 10 | 10 |
| C | 10 | 5 | 5 |
| B | 10 | 3 | 7 |
| A | $\min(7,5)=5$ | 5 | 0 |
Total Float ($TF = LS - ES$)
| Activity | ES | LS | Total Float | Critical? |
|---|---|---|---|---|
| A | 0 | 0 | 0 | Yes |
| B | 5 | 7 | 2 | No |
| C | 5 | 5 | 0 | Yes |
| D | 10 | 10 | 0 | Yes |
Critical Path
Path enumeration:
- $A \to B \to D = 5 + 3 + 10 = 18$ weeks
- $A \to C \to D = 5 + 5 + 10 = 20$ weeks (longest)
$$\boxed{A \rightarrow C \rightarrow D, \quad \text{Duration} = 20 \text{ weeks}}$$
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.