in a certain code language, 'FARM' is coded as HDTP and 'EGGS' is coded as GJIV. How will 'FOOD' be coded in the same language
If FARM is coded as HDTP
EGGS as GJIV ,then
FOOD will be coded as HRQG
from two given codes, first letter is obtained by adding +1
2nd letter is obtained by adding +2
3rd letter is obtained by +1
4th letter is obtained by +2
For FARM , F +1 = H
A +2 = D
R +1 =T
M +2= P
FARM = HDTP
similarly, FOOD = HRQG
Hello,
To decipher the code language used for the words FARM → HDTP and EGGS → GJIV, we need to look at the pattern of how each letter is transformed.
Let's break down the transformations:
-
FARM → HDTP
- F → H: The letter F is shifted +2 positions in the alphabet (F, G, H).
- A → D: The letter A is shifted +3 positions (A, B, C, D).
- R → T: The letter R is shifted +2 positions (R, S, T).
- M → P: The letter M is shifted +3 positions (M, N, O, P).
-
EGGS → GJIV
- E → G: E is shifted +2 positions (E, F, G).
- G → J: G is shifted +3 positions (G, H, I, J).
- G → I: G is shifted +2 positions (G, H, I).
- S → V: S is shifted +3 positions (S, T, U, V).
From this, we see the alternating pattern of shifts: +2, +3, +2, +3.
Now, applying this pattern to the word FOOD :
- F → H: F is shifted +2 positions.
- O → R: O is shifted +3 positions.
- O → Q: O is shifted +2 positions.
- D → G: D is shifted +3 positions.
Thus, FOOD will be coded as HRQG .
You can get more such question on careers360 Coding Decoding page