CS FundamentalsVery hardProduct company interview · GATE level
Activities (duration in days; predecessors): A (4; -), B (6; -), C (3; A), D (5; A), E (4; B, C), F (7; B), G (3; D, E), H (2; F, G), I (6; D). The project ends when H and I are both done. What is the project duration, and what are the total float and free float of activity D?
- A. 16 days; D has total float 1 and free float 1
- B. 16 days; D has total float 1 and free float 0
- C. 15 days; D has total float 0 and free float 0
- D. 16 days; D has total float 2 and free float 0
Correct answer: B. 16 days; D has total float 1 and free float 0
Forward pass: A 0-4, B 0-6, C 4-7, D 4-9, E 7-11 (waits for C), F 6-13, G 11-14 (waits for E), H 14-16, I 9-15. Duration 16 days along A-C-E-G-H. Backward pass: G must finish by 14, so D's latest finish is min(G's latest start 11, I's latest start 10) = 10; total float = 10 - 9 = 1. Free float = earliest start of D's successors minus D's earliest finish = min(G at 11, I at 9) - 9 = 0, because I can start the moment D finishes. A 1-day slip in D eats into I's float without delaying the project; three other paths (A-D-I, B-E-G-H, B-F-H) are 15 days long.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Activities (duration in days; predecessors): A (3; -), B (5; A), C (4; A), D (2; C), E (6; B), F (5; C), G (4; B, D), H (3; E, F, G). How…
- Activities (normal days, crash limit days, crash cost per day saved; predecessors): A (5, 3, ₹400; -), B (7, 5, ₹300; -), C (4, 3, ₹250…
- A project's critical path has four activities with three-point estimates (optimistic, most likely, pessimistic) in weeks: (2, 4, 6), (3…
- A project has a budget at completion (BAC) of ₹400 lakh. At the end of month 5 the planned value is ₹180 lakh, the earned value ₹150 lakh…
- Under Musa's basic execution-time model, failure intensity falls linearly with failures experienced: λ(μ) = λ0 (1 - μ/ν0), and over…
- Defects injected: 40 during requirements, 60 during design and 100 during coding. A requirements review removes 50% of the defects present…