In a certain code language, the following sentences are coded as shown. Study…

2024

In a certain code language, the following sentences are coded as shown. Study them carefully and answer the question.

  1. Play the same game. is coded as us ud ut uk

  2. Seen in the play. is coded as uk ua ud um

  3. The jar is seen. is coded as ud ua uh uw

  4. The same game played is coded as ut ud ub us

What is the code of play?

  1. A.

    ud

  2. B.

    us

  3. C.

    uk

  4. D.

    ut

  5. E.

    um

Attempted by 2 students.

Show answer & explanation

Correct answer: C

Concept

In word-to-code (substitution) coding, each word maps to a fixed code group. To pin a word's code, compare statements that share that word: the code common to all statements containing the word, after removing codes that belong to other words those statements share, must be its code. A word that recurs in many statements with a single constant code is the strongest anchor and should be fixed first.

Application

  1. the appears in all four statements, and the only code present in all four groups is ud, so the = ud. Fix this anchor first.

  2. play appears in statement 1 (us ud ut uk) and statement 2 (uk ua ud um). The codes common to both groups are ud and uk; ud is already fixed as the, so the remaining common code gives play = uk.

  3. Resolve the rest the same way: seen (statements 2 and 3) shares ua and ud, and with ud taken, seen = ua; same and game (statements 1 and 4) share us and ut; played (only statement 4) = ub; in (only statement 2) = um.

Cross-check

Rebuild statement 2, Seen in the play, from the codes found: seen = ua, in = um, the = ud, play = uk, giving the set {ua, um, ud, uk}, which exactly matches the given group uk ua ud um. So the code of play is uk.

Explore the full course: Niacl Ao It Specialist