In a certain code, BEAN is written as ABNE and SALE is written as LSEA. How is NEWS written in that code?
WNSE
This is a classic coding-decoding question where a certain rule or pattern is applied to change a word into a coded form. We are given two examples of this pattern: BEAN is coded as ABNE, and SALE is coded as LSEA. We need to find the pattern and apply it to the word NEWS to find its coded form.
Let's look at the word BEAN and its coded form ABNE. The letters in the coded word are the same as in the original word, just rearranged. Let's assign positions to the letters in the original word:
B E A N
1 2 3 4
Now let's see where these letters appear in the coded word ABNE:
A (originally at position 3) is now at position 1.
B (originally at position 1) is now at position 2.
N (originally at position 4) is now at position 3.
E (originally at position 2) is now at position 4.
So, the letter from original position 3 moves to new position 1.
The letter from original position 1 moves to new position 2.
The letter from original position 4 moves to new position 3.
The letter from original position 2 moves to new position 4.
This can be represented as a position mapping: Input Position > Output Position
Let's check if the same position mapping applies to the second example, SALE to LSEA.
S A L E
1 2 3 4
Applying the mapping (1>2, 2>4, 3>1, 4>3):
Putting these together, we get LSEA. This matches the given coded word for SALE. So, the identified position mapping pattern is correct.
Now we apply the same position mapping (1>2, 2>4, 3>1, 4>3) to the word NEWS.
N E W S
1 2 3 4
Arranging the letters in their new positions:
The coded word for NEWS is WNSE.
Based on the consistent pattern observed in the examples, the word NEWS is coded as WNSE.
In a certain code, GARNISH is written as RGAINHS. How will GENIOUS be written in that code?
In a certain code language 'MATHEMATICS' is written as 'LBSIDNZUHDR'. How is 'CHEMISTRY' written in that code language?