In a certain code language "PRINCE" is written as "356987". In that code…

2024

In a certain code language "PRINCE" is written as "356987". In that code language, how will "NICE" be written?

  1. A.

    8765

  2. B.

    9687

  3. C.

    6987

  4. D.

    9678

Attempted by 104 students.

Show answer & explanation

Correct answer: B

In a letter-to-number coding puzzle, every letter of the source word is assigned exactly one fixed digit, and any new word built from those same letters must reuse each letter's digit, in the order the letters appear in the new word.

Letters

P

R

I

N

C

E

Codes

3

5

6

9

8

7

Applying this to NICE:

  1. N is coded as 9.

  2. I is coded as 6.

  3. C is coded as 8.

  4. E is coded as 7.

Reading the digits in the same order as the letters of NICE gives 9687.

Cross-check: the digits 9, 6, 8, and 7 map back to N, I, C, and E respectively in the key above, and none of these digits belongs to any other letter in PRINCE, confirming the coding is consistent.

So NICE is coded as 9687.

Explore the full course: Tcs Live Preparation

Loading lesson…