In a certain code language, ‘GRASP’ is written as ‘11826920’, ‘MONT’ is…

2021

In a certain code language, ‘GRASP’ is written as ‘11826920’, ‘MONT’ is written as ‘7131214’. What is the code for ‘TRIPY’ in that code language?

  1. A.

    2111897

  2. B.

    2118197

  3. C.

    2118917

  4. D.

    21111897

Attempted by 60 students.

Show answer & explanation

Correct answer: A

Concept

These letter-to-number ciphers work by a fixed transformation applied to each letter, with the resulting numbers possibly re-ordered. The standard pair to test first is the OPPOSITE-letter rule: each letter X maps to its mirror in the alphabet (A<->Z, B<->Y, ...), i.e. position 27 minus the letter's position. Always confirm the rule on the GIVEN words before applying it to the target.

Deriving the rule

  1. Take the opposite letter of each letter and write its position. For GRASP: G->T(20), R->I(9), A->Z(26), S->H(8), P->K(11), giving 20, 9, 26, 8, 11.

  2. Write those numbers in REVERSE order: 11, 8, 26, 9, 20, and concatenate the digits: 11-8-26-9-20 = 11826920, which matches the given code for GRASP.

  3. Check the second word the same way. MONT: M->N(14), O->L(12), N->M(13), T->G(7) gives 14, 12, 13, 7; reversed it is 7, 13, 12, 14, concatenated 7131214, which matches the given code for MONT.

Applying to TRIPY

  1. Opposite letters and positions: T->G(7), R->I(9), I->R(18), P->K(11), Y->B(2), giving 7, 9, 18, 11, 2.

  2. Reverse the order: 2, 11, 18, 9, 7.

  3. Concatenate the digits: 2-11-18-9-7 = 2111897.

Cross-check

Reading 2111897 back as 2 | 11 | 18 | 9 | 7 recovers B, K, R, I, G, whose opposites are Y, P, I, R, T = TRIPY reversed, confirming the code 2111897.

Explore the full course: Rssb Senior Computer Instructor