CS FundamentalsHardProduct-company placement

Activities (days; predecessors): P 5 (-), Q 6 (-), R 5 (P), S 5 (Q), T 4 (R, S). The manager can shorten only one activity by 2 days. Which choice shortens the project the most?

  1. A. Shorten P by 2 days
  2. B. Shorten R by 2 days
  3. C. Shorten T by 2 days
  4. D. Shorten S by 2 days

Correct answer: C. Shorten T by 2 days

Paths: P-R-T = 14 and Q-S-T = 15, so the project takes 15. Cutting S leaves P-R-T at 14 (project 14), while cutting T, which lies on both paths, gives 13. Cutting P or R saves nothing because they are not critical.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic