What is the median of list Q?
Let Q = [w, x, y]; find x.
Statement 1=> The mean of list Q is 7.
$$Mean=\frac{sum\ of\ fx}{sum\ of\ f}=\frac{w+x+y}{3}=7$$
$$w+x+y=21$$
w and y are unknown, hence, median cannot be evaluated. Therefore, state,emt 1 is INSUFFICIENT.
Statement 2=> The mode of list Q is 5.
A mode is an element with the highest frequency. This means that 5 must occur in the list at least twice.
If list Q = [5, 5, 5], then 5 is the median
If list Q = [5, 5, y], then 5 is the median
If list Q = [w, 5, 5], then 5 is the median
Hence, statement 2 alone is SUFFICIENT.
Our answer, therefore, is option B.