In a certain coding language, 'KANPUR' is coded as 'JBMQTS'. How will 'BOMBAY'…
2023
In a certain coding language, 'KANPUR' is coded as 'JBMQTS'. How will 'BOMBAY' be coded in that language?
Answer: B. APLCZZ — ConceptIn position-wise letter coding, compare each input letter with the output letter at the same position to identify the transformation. When the pattern…
- A.
ALPCZZ
- B.
APLCZZ
- C.
APCLZZ
- D.
APLZCZ
Attempted by 4 students.
Show answer & explanation
Correct answer: B
Concept
In position-wise letter coding, compare each input letter with the output letter at the same position to identify the transformation.
When the pattern alternates, one fixed shift applies to odd positions and another to even positions; shifts wrap around the alphabet when needed.
Application
Compare KANPUR with JBMQTS: K→J (−1), A→B (+1), N→M (−1), P→Q (+1), U→T (−1), and R→S (+1). Thus odd positions move one letter backward and even positions move one letter forward.
Apply the same position-wise rule to BOMBAY:
Position
Input
Shift
Output
1
B
−1
A
2
O
+1
P
3
M
−1
L
4
B
+1
C
5
A
−1 with wrap
Z
6
Y
+1
Z
Joining the transformed letters gives APLCZZ.
Cross-check
Reverse the shifts on APLCZZ: move odd-position letters one step forward and even-position letters one step backward. This returns BOMBAY, confirming the transformation.
Therefore, BOMBAY is coded as APLCZZ.