CS FundamentalsVery hardProduct company interview · GATE level
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 many activities have zero total float, and what is the total float of F?
- A. 4 activities; F has 1 day
- B. 5 activities; F has 2 days
- C. 4 activities; F has 2 days
- D. 3 activities; F has 2 days
Correct answer: C. 4 activities; F has 2 days
Forward pass: A 0-3, B 3-8, C 3-7, D 7-9, E 8-14, F 7-12, G 9-13 (waits for D), H 14-17. Duration 17 days on A-B-E-H, so those 4 activities have zero float. Backward pass: H starts at 14 latest, so F's latest finish is 14 and its float is 14 - 12 = 2. G: latest finish 14, float 1; D: latest finish = G's latest start 10, float 1; C: latest finish = min(D's 8, F's 9) = 8, float 1. A slip of 2 days in F is absorbed; a third day delays the project.
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 (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…
- A class has fields a, b, c, d, e and methods m1 (uses a, b), m2 (uses b, c), m3 (uses d) and m4 (uses d, e). Using the Chidamber-Kemerer…