In a certain code language, "RIVER" is written as "12351" and "RED" is written as "156". How is "DRIVER" written in that code language?
- A612311
- B612531
- C621351
- D612351
Solution & Step-by-step Explanation
Let's extract the direct letter-to-digit map from the given strings:
From RIVER → 12351:
R=1
I=2
V=3
E=5
R=1
From RED → 156:
R=1
E=5
D=6
Now, let's assemble the code for DRIVER by substituting the respective digit values:
D=6
R=1
I=2
V=3
E=5
R=1
Thus, DRIVER is encoded as 612351.
From RIVER → 12351:
R=1
I=2
V=3
E=5
R=1
From RED → 156:
R=1
E=5
D=6
Now, let's assemble the code for DRIVER by substituting the respective digit values:
D=6
R=1
I=2
V=3
E=5
R=1
Thus, DRIVER is encoded as 612351.