If in a code language, COULD is written as BNTKC and MARGIN is written as…

2024

If in a code language, COULD is written as BNTKC and MARGIN is written as LZQFHM, how will MOULDING be written in that code?

  1. A.

    CHMFINTK

  2. B.

    LNKTCHMF

  3. C.

    NITKHCMF

  4. D.

    None of these

Attempted by 22 students.

Show answer & explanation

Correct answer: D

Concept

In a letter-shift code, every letter of the word is replaced by the letter a fixed number of positions away in the English alphabet, and the same shift is applied uniformly to all letters (wrapping from A back to Z when the shift goes past the start).

Finding the rule

  1. From COULD -> BNTKC: C->B, O->N, U->T, L->K, D->C. Every letter moves one step BACKWARD in the alphabet.

  2. From MARGIN -> LZQFHM: M->L, A->Z (the wrap-around), R->Q, G->F, I->H, N->M. This confirms the rule is a uniform shift of one step backward.

Encoding MOULDING

  1. M -> L

  2. O -> N

  3. U -> T

  4. L -> K

  5. D -> C

  6. I -> H

  7. N -> M

  8. G -> F

Reading the encoded letters in order gives the code LNTKCHMF.

Cross-check

Compare LNTKCHMF with the listed codes. The closest, LNKTCHMF, has its 3rd and 4th letters (K and T) in the wrong order, and the other two strings differ even more. Because the correctly encoded word LNTKCHMF does not appear among the listed codes, the answer is "None of these".

Explore the full course: Infosys Preparation