CODING DECODING
Letter Substitution
Question: If "PENCIL" is written as "QFODJM," how will the word "BOOK" be written in the
same code?
Solution:
Let’s examine the shift pattern used in "PENCIL" → "QFODJM":
● P → Q (+1 shift)
● E → F (+1 shift)
● N → O (+1 shift)
● C → D (+1 shift)
● I → J (+1 shift)
● L → M (+1 shift)
So, the pattern is a +1 shift for each letter. Now, applying the same pattern to "BOOK":
● B → C (+1 shift)
● O → P (+1 shift)
● O → P (+1 shift)
● K → L (+1 shift)
Thus, "BOOK" will be written as "DPLL".
Answer: DPLL
2. Number to Letter Code
Question: In a code, each letter of the word "FIRE" is replaced by its corresponding number in
the alphabet. What is the code for the word "FIRE"?
Solution:
The position of each letter in the alphabet is as follows:
● F → 6
● I → 9
● R → 18
● E → 5
Thus, the code for "FIRE" is "6 9 18 5".
Answer: 6 9 18 5
3. Reverse Word Code
Question: If "PENCIL" is written as "LICNEP" in a code, what will be the code for the word
"RULER"?
Solution:
In the code "PENCIL" → "LICNEP," the pattern is simply reversing the letters of the word.
To apply the same pattern to "RULER":
● Reversing "RULER" gives "RELUR
Answer: RELUR
4. Shifting Cipher
Question: In a certain code, the letter "A" is replaced by "C", "B" is replaced by "D", "C" is
replaced by "E", and so on. If this pattern is used, how will the word "CLOUD" be written in the
same code?
Solution:
In this code, each letter is shifted by +2 in the alphabet:
● C → E (+2 shift)
● L → N (+2 shift)
● O → Q (+2 shift)
● U → W (+2 shift)
● D → F (+2 shift)
Thus, "CLOUD" will be written as "ENQWF".
Answer: ENQWF
5. Coding with Position Sum
Question: If "MATH" is written as 46, how will the word "SCIENCE" be written?
Solution:
To find the code for "MATH," we sum the position of each letter in the alphabet:
● M → 13
● A → 1
● T → 20
● H → 8
13 + 1 + 20 + 8 = 46
Now, applying the same process to "SCIENCE":
● S → 19
● C → 3
● I → 9
● E → 5
● N → 14
● C → 3
● E → 5
Now, sum these values:
19 + 3 + 9 + 5 + 14 + 3 + 5 = 58
Thus, "SCIENCE" will be written as 58.
Answer: 58