If in a certain code “made” is coded as 1234 and “ream” is coded as 5421, then…

2026

If in a certain code “made” is coded as 1234 and “ream” is coded as 5421, then “dream” is coded as

  1. A.

    35421

  2. B.

    34567

  3. C.

    78456

  4. D.

    34567

Attempted by 1447 students.

Show answer & explanation

Correct answer: A

Solution:

From 'made' → 1234, we get m = 1, a = 2, d = 3, e = 4.

From 'ream' → 5421, we get r = 5, e = 4, a = 2, m = 1.

Combining these gives the full mapping: m = 1, a = 2, d = 3, e = 4, r = 5.

Encode 'dream' in that order: d (3), r (5), e (4), a (2), m (1) → 35421.

Explore the full course: Tcs Preparation