GATE 2025 CS (CS2) – Question 7
If IMAGE and FIELD are coded as FHBNJ and EMFJG respectively then, which one among the given options is the most appropriate code for BEACH ?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) IDBFC
Explanation
The code reverses the word and shifts each letter by +1: IMAGE → EGAMI → FHBNJ, and FIELD → DLEIF → EMFJG. BEACH → HCAEB → IDBFC.