From the question data, we know x is prime which is a very important piece of the puzzle. We have to find out if x = 7, essentially a Yes-No DS question.
From statement I alone, x=√n + 1. This only tells us that n has to be a perfect square; otherwise, √n and hence x will not be an integer and therefore violates the question data (primes are defined only for positive integers).
Since the information only tells us that n has to be a perfect square, it is insufficient to find out if x = 7.
For example, if n = 4, x = 5; but if n = 36, x = 7.
Statement I alone is insufficient to answer the question. Answer options A and D can be eliminated. Possible answer options are B, C or E.
From statement II alone, \(x^2\) – 11x + 28 = 0. The factors of 28 are -7 and -4, therefore, the roots of the given quadratic equation are 7 or 4.
However, the question tells us very clearly that x is prime, therefore, 4 cannot be the value of x. The only value that satisfies is x = 7.
Statement II alone is sufficient to answer the question with a YES. Answer option C and E can be eliminated.
The correct answer option is B.
Hope that helps!
Aravind B T