CS FundamentalsVery hardAccenture · Capgemini technical pattern
Tasks and durations (days): A 3; B 4 (after A); C 2 (after A); D 5 (after B and C); E 1 (after C). What is the total slack (float) of task C?
- A. 0 days
- B. 6 days
- C. 2 days
- D. 1 day
Correct answer: C. 2 days
Paths: A–B–D = 12 (critical), A–C–D = 10, A–C–E = 6. Project length 12. D must start by day 7, so C must finish by 7 (its late finish); C can start at 3 at the earliest and finish by 5. Slack = 7 − 5 = 2. 6 days uses only path A–C–E and ignores that D waits for C.
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 form has 3 parameters — browser (3 options), OS (3 options) and language (3 options). Exhaustive testing needs 27 combinations. What is…
- A new app version is first served to 5% of users while error rates and latency are watched; if the metrics stay healthy, the share is…
- According to Semantic Versioning precedence rules, which list is in correct ascending order?
- Counting every simple condition of a compound boolean expression as a separate decision (each && / || adds one), what is the cyclomatic…
- What is the cyclomatic complexity of this fragment? Count each case label other than default as one decision and each simple condition…
- A loop body contains an if-else followed by an independent if (with no else), and nothing else that branches. The loop runs between 0 and…