Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



In the context of software testing, which of the following statements is/are NOT correct?

$P$: A minimal test set that achieves $100%$ path coverage will also achieve $100%$ statement coverage.

$Q$: A minimal test set that achieves $100%$ path coverage will generally detect more faults than one that achieves $100%$ statement coverage.

$R$: A minimal test set that achieves $100%$ statement coverage will generally detect more faults than one that achieves $100%$ branch coverage.






Solution

Statement $P$ is correct.

If all paths are covered, then all statements will also be covered.

Statement $Q$ is correct.

Path coverage is stronger than statement coverage, so it generally detects more faults.

Statement $R$ is NOT correct.

Branch coverage is stronger than statement coverage, so statement coverage generally cannot detect more faults than branch coverage.

Therefore, only $R$ is not correct.



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...