If in a certain code 'RUN' is written as 'QRRVO'. How ...
Coding of FUN in a certain language
Given, RUN is written as QRRVO in a certain code.
To find: How FUN would be coded in that language?
Solution:
We need to understand the pattern used to code RUN, and then apply the same pattern to code FUN.
Pattern for coding RUN:
- The first letter R is replaced by the letter that comes before it in the English alphabet, which is Q.
- The next letter U is repeated twice, which gives us RR.
- The next letter N is replaced by the letter that comes before it in the English alphabet, which is M.
- The final letter is replaced by the letter that comes after it in the English alphabet, which is O.
Therefore, RUN is coded as QRRVO.
Now, let's apply the same pattern to code FUN:
- The first letter F is replaced by the letter that comes before it in the English alphabet, which is E.
- The next letter U is repeated twice, which gives us FF.
- The final letter N is replaced by the letter that comes after it in the English alphabet, which is O.
Therefore, FUN would be coded as EFFVO.
Thus, option (b) is the correct answer.
If in a certain code 'RUN' is written as 'QRRVO'. How ...
B