In a certain code language, ‘BAIL’ is coded as ‘1856’ and ‘LAID’ is coded as…

2026

In a certain code language, ‘BAIL’ is coded as ‘1856’ and ‘LAID’ is coded as ‘8517’. What is the code for ‘D’ in that language?

Answer: D. 7Concept In coding-decoding problems, compare the sets of letters and code symbols in two expressions. Letters common to both expressions correspond to the…

  1. A.

    8

  2. B.

    6

  3. C.

    5

  4. D.

    7

Attempted by 166 students.

Show answer & explanation

Correct answer: D

Concept

In coding-decoding problems, compare the sets of letters and code symbols in two expressions.

Letters common to both expressions correspond to the common code-symbol set; the remaining letter corresponds to the remaining code symbol.

Application

  1. The words BAIL and LAID share the letters A, I, and L.

  2. The codes 1856 and 8517 share the digits 1, 5, and 8.

  3. After removing the shared letters, B remains only in BAIL and D remains only in LAID.

  4. After removing the shared digits, 6 remains only in 1856 and 7 remains only in 8517.

  5. Therefore, the unique letter D in LAID corresponds to the unique digit 7 in 8517.

Cross-check

The same comparison pairs the other unique letter B with the other unique digit 6, so the one-to-one elimination is consistent.

Hence, the code for D is 7.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…