Question :
In a certain code language, ‘LAMP’ is coded as ‘IWJL’. What is the code for ‘LOGS’ in that code language ?
Options :
- IKDP
- LIDO
- IKEO
- IKDO
correct answer : d)
To decode “LAMP” → “IWJL”:
-
L (12) → I (9): Subtract 3 (odd position).
-
A (1) → W (23): Subtract 4 (even position; wraps around: 1 – 4 + 26 = 23).
-
M (13) → J (10): Subtract 3 (odd position).
-
P (16) → L (12): Subtract 4 (even position).
Apply to “LOGS”:
-
L (12) → 12 – 3 = 9 → I.
-
O (15) → 15 – 4 = 11 → K.
-
G (7) → 7 – 3 = 4 → D.
-
S (19) → 19 – 4 = 15 → O.
Code: IKDO (Option 4). ✔