In a certain code language, “DICTATOR” is written as “DROTATCI” and “GLIMPSE” Is written as “GESPMIL”. How will “CONDEMN” be written in that language?
CNMEDNO
This question involves a coding-decoding puzzle where words are coded based on a specific pattern. We are given two examples: "DICTATOR" is coded as "DROTATCI", and "GLIMPSE" is coded as "GESPMIL". We need to find the pattern and apply it to code the word "CONDEMN".
Let's look at the positions of the letters in the original words and their corresponding positions in the coded words.
Original Word: D I C T A T O R
Positions: 1 2 3 4 5 6 7 8
Coded Word: D R O T A T C I
Positions: 1 2 3 4 5 6 7 8
Let's see which letter from the original position moves to which coded position:
So, the letter from original input position 'P' goes to coded output position 'Q'. The mapping (P → Q) for DICTATOR is:
| Original Position | Coded Position |
|---|---|
| 1 | 1 |
| 2 | 8 |
| 3 | 7 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 3 |
| 8 | 2 |
Original Word: G L I M P S E
Positions: 1 2 3 4 5 6 7
Coded Word: G E S P M I L
Positions: 1 2 3 4 5 6 7
Let's see which letter from the original position moves to which coded position:
The mapping (Original Position → Coded Position) for GLIMPSE is:
| Original Position | Coded Position |
|---|---|
| 1 | 1 |
| 2 | 7 |
| 3 | 6 |
| 4 | 5 |
| 5 | 4 |
| 6 | 3 |
| 7 | 2 |
Let's compare the patterns for the two words based on the mapping from original position to coded position. Let N be the length of the word.
For N=8 (DICTATOR): (1→1), (2→8), (3→7), (4→4), (5→5), (6→6), (7→3), (8→2)
For N=7 (GLIMPSE): (1→1), (2→7), (3→6), (4→5), (5→4), (6→3), (7→2)
Observe the patterns:
Let's re-frame the pattern by looking at which input position's letter goes to each output position.
Sequence of input positions that form the coded word:
For N=8 (DROTATCI from DICTATOR): The letters come from input positions 1, 8, 7, 4, 5, 6, 3, 2.
For N=7 (GESPMIL from GLIMPSE): The letters come from input positions 1, 7, 6, 5, 4, 3, 2.
Let's break down this sequence based on N:
Let's look at the middle sequence of input positions (after 1, N, N-1 and before 3, 2):
This suggests the middle part's arrangement depends on whether N is odd or even.
The complete sequence of input positions to form the coded word is:
$[1] + [N, N-1] + [\text{Positions } 4 \text{ to } N-2 \text{ (order depends on N)}] + [3, 2]$
The word "CONDEMN" has 7 letters. So, N=7. Since N=7 is odd, we apply the rule for odd length words.
Original Word: C O N D E M N
Positions: 1 2 3 4 5 6 7
The middle input positions are from 4 to N-2, which is 4 to 7-2 = 5. So the middle input positions are 4, 5.
Since N=7 is odd, we reverse the order of the middle input positions: 5, 4.
The sequence of input positions to form the coded word is:
$[1] + [N, N-1] + [\text{Middle Reversed}] + [3, 2]$
$[1] + [7, 6] + [5, 4] + [3, 2]$
The sequence of input positions is: 1, 7, 6, 5, 4, 3, 2.
Now, let's take the letters from "CONDEMN" at these positions:
Combining these letters in order gives the coded word: CNMEDNO.
Comparing this with the given options:
The coded word "CNMEDNO" matches the fourth option.
| Concept | Description | How it Applies Here |
|---|---|---|
| Positional Coding | Letters change positions according to a rule based on their original position. | The coding depends entirely on the original position of each letter and the total length of the word. |
| Pattern Identification | Analyzing examples to find the rule governing the coding. | Comparing DICTATOR → DROTATCI and GLIMPSE → GESPMIL revealed a pattern involving segments of the word and length parity (odd/even). |
| Rule Generalization | Formulating a rule that works for different word lengths based on the examples. | A specific sequence of input positions (1, N, N-1, middle block, 3, 2) was identified, with the middle block's order depending on whether the word length (N) is odd or even. |
Coding-decoding questions are common in logical reasoning sections of competitive exams. They test your ability to observe patterns and apply rules consistently. There are many types of coding patterns, including:
To solve coding-decoding problems:
In a certain code language, 'INERTIA' is written as 'RGVKGBZ'. How will 'FLOWER' be written in that language?
In a certain code language, ‘ADVANCE’ is written as ‘VDAAECN’ and ‘BABYSIT’ is written as ‘BABYTIS’. How will ‘AFFABLE’ be written in that language?
In a certain code language, ‘FROST’ is written as ‘156’ and ‘CANDLE’ is written as ‘78’. How will ‘SCREAM’ be written in that language?
In a certain code language, 'LABOUR' is written as 'XZSECM' and ‘GAINED’ is written as ‘JJRLCH’. How will 'EARNED' be written in that language?
In a certain code language, 'CAKES’ is written as 'FXNBV' and 'ABUSE' is written as 'DYXPH'. How will 'BARKS' be written in that language?
In a certain code language, 'PLANT' is written as 'NRDVP' and 'SCORE' is written as 'EURGT'. How will 'GRIND' be written in that language?
In a certain code language, 'SPIT' is coded as ‘USKW’ and 'COPY' is coded as ‘ERRB’. How will 'MOCK' be coded in that language?
Select the option that is related to the fifth letter-cluster in the same way as the second letter-cluster is related to the first letter-cluster and the fourth letter-cluster is related to the third letter cluster.
COMFORT : FMOCTRO :: DIGNITY : NGIDYTI :: FOREIGN : ?
In a certain code language, 'ENGINE' is written as ‘ENIGNE’ and 'TRAIN’ is written as 'NIART'. How will 'LEVEL' be written in that language?
In a certain code language, 'CERTAIN' is written as 'ECTRCGP', 'DIGITAL' is written as 'FGIGVYN'. How will 'FACTORY' be written in that language?
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?