In a code language, CABLE is written as GAFPE. How will TRAIN be written in the same language?
Explanation:
The given code is $\text{CABLE}$ is written as $\text{GAFPE}$. We need to find the code for $\text{TRAIN}$. Let's analyze the letter-to-letter mapping based on their positional values (A=1, B=2, ... Z=26): $\text{C} (3) \rightarrow \text{G} (7)$, a shift of $+4$. $\text{A} (1) \rightarrow \text{A} (1)$, a shift of $+0$. $\text{B} (2) \rightarrow \text{F} (6)$, a shift of $+4$. $\text{L} (12) \rightarrow \text{P} (16)$, a shift of $+4$. $\text{E} (5) \rightarrow \text{E} (5)$, a shift of $+0$. The pattern observed is: consonants are shifted by $+4$ positions, and vowels remain unchanged (shifted by $+0$). Now, apply this rule to the word $\text{TRAIN}$: $\text{T}$ (consonant): $\text{T} (20) \xrightarrow{+4} \text{X} (24)$. $\text{R}$ (consonant): $\text{R} (18) \xrightarrow{+4} \text{V} (22)$. $\text{A}$ (vowel): $\text{A} (1) \xrightarrow{+0} \text{A} (1)$. $\text{I}$ (vowel): $\text{I} (9) \xrightarrow{+0} \text{I} (9)$. $\text{N}$ (consonant): $\text{N} (14) \xrightarrow{+4} \text{R} (18)$. Combining these, $\text{TRAIN}$ is coded as $\text{XVAIR}$. Option B matches this derived pattern. Other options contain incorrect letter transformations based on the vowel/consonant rule.