In a certain code language, ‘AND’ is written as ‘C-LP-F’ and ‘NOR’ is coded as ‘P-MQ-T’. How will ‘BUT’ be written in that language?
Show answer & explanation
Correct answer: A
Explanation
The correct answer is option 1 i.e. D-SW-V.
Coding for AND:
A(1) + 2 = C(3)
N(14) - 2 = L(12) and N(14) + 2 = P(16)
D(4) + 2 = F(6)
C-LP-F
Coding for NOR:
N(14) + 2 = P(16)
O(15) - 2 = M(13) and O(15) + 2 = Q(17)
R(18) + 2 = T(20)
P-MQ-T
Similarly, BUT will be coded as:
B(2) + 2 = D(4)
U(21) - 2 = S(19) and U(21) + 2 = W(23)
T(20) + 2 = V(22)
D-SW-V which is the correct answer.