All Exams Test series for 1 year @ ₹349 only
Question

In a certain code language, ‘BOTTLE’ is written as ‘YTGJQY’ and ‘PLATES’ is written as ‘FQUXJY’. How will ‘PICNIC’ be written in that language?

The correct answer is

HNUHNS

Solving Coding Decoding Questions

This question involves a type of coding and decoding where a word is transformed into a code word based on a specific rule or set of rules. We need to analyze the given examples to find this rule and then apply it to the word 'PICNIC'.

Analyzing the First Example: BOTTLE to YTGJQY

Let's look at the letters in BOTTLE and their corresponding letters in the code YTGJQY, noting their positions in the word and their alphabetical positions (A=1, B=2, ... Z=26).

Position Letter (BOTTLE) Alphabet Position Coded Letter (YTGJQY) Alphabet Position Observed Change
1 B 2 Y 25 Reverse (B to Y, 2nd from start/end)
2 O 15 T 20 +5 shift (15 + 5 = 20)
3 T 20 G 7 Reverse (T to G, 7th from start/end)
4 T 20 J 10 -10 shift (20 - 10 = 10)
5 L 12 Q 17 +5 shift (12 + 5 = 17)
6 E 5 Y 25 +20 shift (5 + 20 = 25)

Analyzing the Second Example: PLATES to FQUXJY

Now let's analyze the second example, PLATES coded as FQUXJY.

Position Letter (PLATES) Alphabet Position Coded Letter (FQUXJY) Alphabet Position Observed Change
1 P 16 F 6 -10 shift (16 - 10 = 6)
2 L 12 Q 17 +5 shift (12 + 5 = 17)
3 A 1 U 21 +20 shift (1 + 20 = 21)
4 T 20 X 24 +4 shift (20 + 4 = 24)
5 E 5 J 10 +5 shift (5 + 5 = 10)
6 S 19 Y 25 +6 shift (19 + 6 = 25)

Identifying the Consistent Coding Rule

Comparing the changes observed in both examples, we can see a consistent pattern:

  • The letter at Position 2 is always shifted forward by 5 positions in the alphabet ($+5$).
  • The letter at Position 5 is always shifted forward by 5 positions in the alphabet ($+5$).

The rules for positions 1, 3, 4, and 6 seem to vary between the two examples, involving different shifts or reverse mappings. However, the question states "In a certain code language", implying a consistent set of rules. Given the multiple choice options, the most reliable approach is to apply the consistent rule found (Position 2 and 5 are +5) and see which options match. Then, use the provided correct answer to deduce the likely rules for the remaining positions.

Applying the Consistent Rule to PICNIC

Let's apply the $+5$ shift rule to the 2nd and 5th letters of PICNIC.

  • The 2nd letter of PICNIC is I. The 5th letter forward from I is N ($I \xrightarrow{+5} N$).
  • The 5th letter of PICNIC is I. The 5th letter forward from I is N ($I \xrightarrow{+5} N$).

So, the coded word for PICNIC must have N at the 2nd and 5th positions. Let's check the options:

  • Option 1: H N V H M T (N at 2nd, M at 5th - Incorrect)
  • Option 2: H N U H N S (N at 2nd, N at 5th - Correct so far)
  • Option 3: H N V H N S (N at 2nd, N at 5th - Correct so far)
  • Option 4: H N U H N T (N at 2nd, N at 5th - Correct so far)

Options 2, 3, and 4 all follow the $+5$ rule for the 2nd and 5th positions.

Deducing Rules for Other Positions from the Correct Answer

Since the correct answer is Option 2 (HNUHNS), let's look at how the letters in positions 1, 3, 4, and 6 of PICNIC (P, C, N, C) are coded in HNUHNS (H, U, H, S).

  • Position 1: P is coded as H.
  • Position 3: C is coded as U.
  • Position 4: N is coded as H.
  • Position 6: C is coded as S.

The complete mapping for PICNIC to HNUHNS is:

Position Letter (PICNIC) Coded Letter (HNUHNS) Observed Mapping/Shift
1 P H P to H
2 I N I to N (+5 shift)
3 C U C to U
4 N H N to H
5 I N I to N (+5 shift)
6 C S C to S

While the rules for positions 1, 3, 4, and 6 are not simple universal shifts or reverses directly obvious from just the first two examples, by using the provided answer, we confirm the $+5$ rule for positions 2 and 5 and observe the specific letter-to-letter mappings for the remaining positions (P>H, C>U, N>H, C>S) that apply in this specific case to arrive at the correct code HNUHNS.

Therefore, based on the consistent patterns and the provided correct option, the code for PICNIC is HNUHNS.


Revision Table: Coding Decoding Concepts

Concept Description Example
Letter Shifting Each letter is replaced by a letter a fixed number of positions away in the alphabet. Can be forward (+) or backward (-). A $\xrightarrow{+3}$ D, Z $\xrightarrow{-2}$ X
Reverse Alphabet Each letter is replaced by the corresponding letter from the end of the alphabet (A=Z, B=Y, etc.). Sum of positions is usually 27 (1+26, 2+25, etc.). B $\leftrightarrow$ Y, T $\leftrightarrow$ G
Mixed Shifting/Rules Different positions in the word may follow different rules (e.g., 1st letter +2, 2nd letter -3, 3rd letter reverse). As seen in the example, position 2 is +5, position 5 is +5, other positions follow different patterns.
Letter Substitution Specific letters are always replaced by specific other letters, regardless of position (less common in pattern-based codes unless few letters are used). If A is always coded as X, regardless of where A appears. (Not the primary pattern here due to inconsistent mappings for T, E, etc.)
Positional Rule The rule applied depends specifically on the position of the letter in the word (1st, 2nd, 3rd, etc.). Position 2 rule is +5, Position 5 rule is +5.

Additional Information: Strategies for Coding Decoding

When tackling coding decoding problems, follow these steps:

  1. Write down the examples clearly: List the original word and its code word, perhaps vertically aligned.
  2. Check the length: See if the code word has the same number of letters as the original word. If not, it might be block coding or something more complex (not the case here).
  3. Compare letter by letter: Look at the letter at each position in the original word and its corresponding letter in the code word.
  4. Analyze differences/relationships:
    • Calculate the shift in alphabet positions (e.g., A to D is +3).
    • Check for reverse alphabet relationships (A-Z, B-Y).
    • Look for vowel/consonant patterns.
    • Look for patterns based on position (odd/even position, specific positions).
  5. Look for consistency: The rule must apply consistently across all given examples. A rule that only works for one example is likely incorrect.
  6. Apply the rule: Once a consistent rule is found, apply it to the word you need to code.
  7. Check the options: Compare your result with the given options. If a clear pattern isn't immediately obvious for all positions, use the partial pattern you found (like the +5 rule for positions 2 and 5 in this question) to eliminate options.
Was this answer helpful?

Important Questions from Coding and Decoding By Letter Shifting

  1. In a certain code language, 'INERTIA' is written as 'RGVKGBZ'. How will 'FLOWER' be written in that language?

  2. In a certain code language, ‘ADVANCE’ is written as ‘VDAAECN’ and ‘BABYSIT’ is written as ‘BABYTIS’. How will ‘AFFABLE’ be written in that language?

  3. In a certain language, CHHAPAK is coded as DJKEUGR. How will MALANGA be coded in that language?

  4. In a certain code language, ‘DURABLES’ is written as ‘BSVETFMC’. How will ‘FEASIBLE’ be written in that language?

  5. In a certain code language, 'FIXED' is written as 'XIFED' and 'MOUSE' is written as 'USOME'. How will 'GAMBIT' be written in that language?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App