CS FundamentalsVery hardProduct company interview · GATE level
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), D (6, 4, ₹500; A), E (3, 2, ₹200; B, C), F (4, 2, ₹350; D). The normal duration is 15 days. What is the minimum extra cost to complete the project in 9 days?
- A. ₹3,000
- B. ₹2,500
- C. ₹2,000
- D. ₹2,700
Correct answer: D. ₹2,700
Paths: A-D-F = 15, A-C-E = 12, B-E = 10. A-D-F must lose 6 days, and its cheapest days are F (2 days at 350), then A (2 at 400), then D (2 at 500): 700 + 800 + 1000 = 2,500. But crashing A also shortens A-C-E only to 10, still above 9, so one more day must come off C or E; E at 200 is cheapest (it also shortens B-E, which needs nothing). Total 2,700. Watching only the original critical path gives 2,500; an exhaustive search over all crash combinations confirms 2,700 is the minimum.
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
- 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…
- main has commits A-B-C-D-E (E is main's tip). feature was created at C and got commits F and G; then main was merged into feature…