The correct answer is $\boxed{\frac{7}{8}}$.
The efficiency of a code is defined as the ratio of the entropy of the source to the average codeword length. The entropy of a source is a measure of the average number of bits needed to represent each symbol from the source.
In this case, the source produces 4 symbols with probabilities $\frac{1}{2},\frac{1}{4},\frac{1}{8}$, and $\frac{1}{8}$. The entropy of this source is therefore:
$$H = -\sum_{i=1}^4 p_i \log_2 p_i = -\frac{1}{2} \log_2 \frac{1}{2} - \frac{1}{4} \log_2 \frac{1}{4} - \frac{1}{8} \log_2 \frac{1}{8} - \frac{1}{8} \log_2 \frac{1}{8} = 1.0986122886681095$$
The average codeword length is given to be 2 bits/symbols. Therefore, the efficiency of the code is:
$$\eta = \frac{H}{L} = \frac{1.0986122886681095}{2} = \frac{7}{8}$$
Option A is incorrect because it is the entropy of the source, not the efficiency of the code. Option B is incorrect because it is the average codeword length, not the efficiency of the code. Option C is incorrect because it is the probability of the most likely symbol from the source, not the efficiency of the code. Option D is incorrect because it is the probability of the least likely symbol from the source, not the efficiency of the code.