CS FundamentalsVery hardAccenture · Capgemini · Cognizant
Running a regression suite manually takes 40 hours per cycle. Automating it costs 300 hours up front; afterwards each cycle needs 2 hours to run and 5 hours of script maintenance. From which cycle onward is automation cheaper in total?
- A. From the 10th cycle
- B. From the 8th cycle
- C. From the 9th cycle
- D. From the 43rd cycle
Correct answer: A. From the 10th cycle
Each cycle saves 40 - (2 + 5) = 33 hours, so the 300-hour investment is recovered after 300/33 ≈ 9.1 cycles - i.e. during the 10th. Ignoring maintenance gives 300/38 ≈ 7.9, which suggests the 8th.
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
- In standard terminology, a programmer misreads the specification (1), which leads to a wrong comparison operator in the code (2), which…
- Which set of exit criteria is most appropriate for ending a system-test cycle?
- Before go-live, the operations team checks that backups restore correctly, failover works, monitoring alerts fire and the system can be…
- In session-based exploratory testing, what defines a session?
- Which statement about integration-testing strategies is correct?
- Defect data from the last three releases shows that 80% of all defects came from 2 of the system's 12 modules. Which principle should…