Open In App

UGC-NET | UGC NET CS 2018 Dec – II | Question 86

Consider the following method :

int f(int m, int n, boolean x, boolean y) {
  int res = 0;
  if (m 

If P is the minimum number of tests to achieve full statement coverage for f() and Q is the minimum number of tests to achieve full branch coverage for f(), then (P,Q) =
(A) (3,4)
(B) (3,2)
(C) (2,3)
(D) (4,3)

Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :