Aspire Faculty ID #19271 · Topic: UGC NET Computer Science June 2019 (Paper II) · Just now
UGC NET Computer Science June 2019 (Paper II)

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.

Previous 10 Questions — UGC NET Computer Science June 2019 (Paper II)

Nearest first
1
The $M$ components in MVC are responsible for:
Topic: UGC NET Computer Science June 2019 (Paper II)
2
Which of the following statements is/are true? $P$: In software engineering, defects that are discovered earlier are mo…
Topic: UGC NET Computer Science June 2019 (Paper II)
3
Which of the following UNIX/Linux pipes will count the number of lines in all the files having $.c$ and $.h$ as their e…
Topic: UGC NET Computer Science June 2019 (Paper II)
4
A processor can support a maximum memory of $4GB$ where memory is word addressable and a word is $2$ bytes. What will b…
Topic: UGC NET Computer Science June 2019 (Paper II)
5
A computer has six tape drives with $n$ processes competing for them. Each process may need two drives. What is the max…
Topic: UGC NET Computer Science June 2019 (Paper II)
6
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determ…
Topic: UGC NET Computer Science June 2019 (Paper II)
7
At a particular time of computation, the value of a counting semaphore is $7$. Then $20$ $P$ wait operations and $15$ $…
Topic: UGC NET Computer Science June 2019 (Paper II)
8
Consider three CPU intensive processes, which require $10,20$ and $30$ units of time and arrive at times $0,2$ and $6$ …
Topic: UGC NET Computer Science June 2019 (Paper II)
9
Consider that a process has been allocated $3$ frames and has a sequence of page referencing as $1,2,1,3,7,4,5,6,3,1$. …
Topic: UGC NET Computer Science June 2019 (Paper II)
10
Which of the following are NOT shared by the threads of the same process? $(a)$ Stack $(b)$ Registers $(c)$ Address spa…
Topic: UGC NET Computer Science June 2019 (Paper II)

Next 10 Questions — UGC NET Computer Science June 2019 (Paper II)

Ascending by ID
Ask Your Question or Put Your Review.

loading...