Use the given letter→digit table to encode the string VGIXRM. Mapping: X→8, C→4, Y→1, O→6, M→2, G→0, I→9, R→3, Q→5, V→7

Difficulty: Easy

Correct Answer: 709832

Explanation:


Introduction / Context:
This is a direct substitution coding problem. Each letter maps to a specific digit. The task is to apply the table consistently from left to right.


Given Data / Assumptions:

  • Mapping: V→7, G→0, I→9, X→8, R→3, M→2.
  • Target string: VGIXRM (exact order must be preserved).


Concept / Approach:
For a one-to-one table, simply replace each letter with its corresponding digit, taking care not to transpose adjacent positions.


Step-by-Step Solution:

V → 7G → 0I → 9X → 8R → 3M → 2Result: 709832


Verification / Alternative check:
Re-read the mapping in reverse: 7→V, 0→G, 9→I, 8→X, 3→R, 2→M to recover the original string.


Why Other Options Are Wrong:

  • 709823, 709835, 708635: Each has at least one digit that does not match the provided letter mapping (e.g., the positions for X, R, or M become incorrect).


Common Pitfalls:
Swapping the last two digits (R and M) or mistaking X for 0 instead of 8.


Final Answer:
709832

More Questions from Coding Decoding

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion