In a certain code language, RINGS is written as IRNSG, and PURSE is written as UPRES. How will STORM be written in that language?
- ATSOMR
- BMROTS
- CUTPNS
- DORMGH
Solution & Step-by-step Explanation
Let's look at the arrangement logic:
For RINGS → IRNSG:
The letters are grouped or re-arranged in pairs/positions.
Positions: 1-2-3-4-5 → R-I-N-G-S
Swapping the first two letters: R I → I R
Swapping the next two letters: N G → G N (Wait, let's look closely at IRNSG)
Let's check indices:
1st letter (R)→2nd position
2nd letter (I)→1st position
3rd letter (N)→3rd position
4th letter (G)→5th position
5th letter (S)→4th position
Hence, (1,2,3,4,5)→(2,1,3,5,4)
Let's verify with PURSE → UPRES:
(1,2,3,4,5)→P, U, R, S, E
Rearranged to (2,1,3,5,4)→U, P, R, E, S
This matches perfectly.
Applying the same pattern to STORM:
Positions: 1=S,2=T,3=O,4=R,5=M
Rearranged positions (2,1,3,5,4)→T, S, O, M, R
Therefore, STORM becomes TSOMR.
For RINGS → IRNSG:
The letters are grouped or re-arranged in pairs/positions.
Positions: 1-2-3-4-5 → R-I-N-G-S
Swapping the first two letters: R I → I R
Swapping the next two letters: N G → G N (Wait, let's look closely at IRNSG)
Let's check indices:
1st letter (R)→2nd position
2nd letter (I)→1st position
3rd letter (N)→3rd position
4th letter (G)→5th position
5th letter (S)→4th position
Hence, (1,2,3,4,5)→(2,1,3,5,4)
Let's verify with PURSE → UPRES:
(1,2,3,4,5)→P, U, R, S, E
Rearranged to (2,1,3,5,4)→U, P, R, E, S
This matches perfectly.
Applying the same pattern to STORM:
Positions: 1=S,2=T,3=O,4=R,5=M
Rearranged positions (2,1,3,5,4)→T, S, O, M, R
Therefore, STORM becomes TSOMR.