CS FundamentalsModerateTCS NQT · HCL
A program has 240 executable statements and the current suite covers 180 of them. A new test executes 40 statements, 25 of which were previously uncovered. What is the new statement coverage?
- A. 91.7%
- B. 79.2%
- C. 85.4%
- D. 83.3%
Correct answer: C. 85.4%
Covered = 180 + 25 = 205 (the other 15 were already covered), and 205/240 ≈ 85.4%. 91.7% wrongly adds all 40 statements.
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 system is sized at 400 function points. The team's productivity is 8 function points per person-month and a person-month costs ₹1.5…
- Basic COCOMO for an organic project: Effort = 2.4 x KLOC^1.05 PM and Time = 2.5 x Effort^0.38 months. For 20 KLOC, roughly how many people…
- Using Weighted Shortest Job First (WSJF = cost of delay / job size), in what order should these be done? A: cost of delay 20, size 10. B…
- Midway through a project: planned value ₹150 lakh, earned value ₹120 lakh, actual cost ₹100 lakh. What is the project's status?
- Team A's velocity is 40 story points per sprint and team B's is 25. Both work on the same product with similar sprint lengths. What can…
- A release backlog has 200 story points. The team's velocity is a steady 25 points per sprint, but stakeholders add about 5 points of new…