In a code language, 'TUBE' is coded as XYFI and 'WIRE' is coded as AMVI. How will 'BULB' be coded in the same language?
- AFYQE
- BEYPZ
- CFYPF
- DFYPF
Solution & Step-by-step Explanation
Let's find the shift pattern for each letter from the word to its code:
First pair: TUBE → XYFI
T(20) + 4 = X(24)
U(21) + 4 = Y(25)
B(2) + 4 = F(6)
E(5) + 4 = I(9)
The pattern is a uniform shift of +4 for all letters.
Let's verify with the second pair: WIRE → AMVI
W(23) + 4 = 27 ≡ A(1)
I(9) + 4 = M(13)
R(18) + 4 = V(22)
E(5) + 4 = I(9)
The +4 pattern is verified.
Now, apply this logic to BULB:
B(2) + 4 = F(6)
U(21) + 4 = Y(25)
L(12) + 4 = P(16)
B(2) + 4 = F(6)
Thus, the code for BULB is FYPF.
First pair: TUBE → XYFI
T(20) + 4 = X(24)
U(21) + 4 = Y(25)
B(2) + 4 = F(6)
E(5) + 4 = I(9)
The pattern is a uniform shift of +4 for all letters.
Let's verify with the second pair: WIRE → AMVI
W(23) + 4 = 27 ≡ A(1)
I(9) + 4 = M(13)
R(18) + 4 = V(22)
E(5) + 4 = I(9)
The +4 pattern is verified.
Now, apply this logic to BULB:
B(2) + 4 = F(6)
U(21) + 4 = Y(25)
L(12) + 4 = P(16)
B(2) + 4 = F(6)
Thus, the code for BULB is FYPF.