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

In a certain code language, 'CURD' is written as '342184' and 'BREAD' is written as '2181024'. How will 'BUTTER' be written in that language?

The correct answer is

24220201018

Decoding the Code Language

This question asks us to figure out a specific rule used in a code language based on two examples, and then apply that rule to a new word. The examples given are 'CURD' coded as '342184' and 'BREAD' coded as '2181024'. We need to find the code for 'BUTTER'.

Analyzing the Given Examples

Let's look closely at the given words and their codes to find a pattern. We can start by considering the position of each letter in the English alphabet (A=1, B=2, C=3, ..., Z=26).

Decoding 'CURD'

The word 'CURD' has 4 letters. The code is '342184', which has 6 digits. Let's write down the letters and their positions:

  • C is the 3rd letter.
  • U is the 21st letter.
  • R is the 18th letter.
  • D is the 4th letter.

Given code for CURD: 342184

Decoding 'BREAD'

The word 'BREAD' has 5 letters. The code is '2181024', which has 7 digits. Let's write down the letters and their positions:

  • B is the 2nd letter.
  • R is the 18th letter.
  • E is the 5th letter.
  • A is the 1st letter.
  • D is the 4th letter.

Given code for BREAD: 2181024

Comparing the letters, their positions, and the codes, we can try to find a rule for each letter or type of letter.

Notice that 'BREAD' starts with 'B' (position 2) and its code starts with '2'. 'R' (position 18) is followed by '18' in the code. 'D' (position 4) is at the end of both words. In 'CURD', the code ends with '84'. In 'BREAD', the code ends with '24'. This is a bit confusing, so let's look at other possibilities.

Let's reconsider the positions and the full codes:

  • CURD (3, 21, 18, 4) → 342184
  • BREAD (2, 18, 5, 1, 4) → 2181024

Let's look for individual letter encodings that are consistent:

  • From BREAD: B=2, R=18. This matches their positions. E=10, A=2, D=4? (If broken as 2 | 18 | 10 | 2 | 4).
  • Let's check this hypothesis with CURD: C=3, U=?, R=?, D=? Code is 342184. If C=3, it matches its position.

Let's try a rule: maybe consonants are encoded by their position, and vowels (A, E, I, O, U) have a different rule.

Applying this idea to BREAD (B, R, E, A, D):

  • B is a consonant, position 2 → Code '2'
  • R is a consonant, position 18 → Code '18'
  • E is a vowel, position 5 → Code '10'? (This is $5 \times 2$)
  • A is a vowel, position 1 → Code '2'? (This is $1 \times 2$)
  • D is a consonant, position 4 → Code '4'

If we concatenate these codes (2, 18, 10, 2, 4), we get 2181024. This exactly matches the code for BREAD.

Let's test this rule on CURD (C, U, R, D):

  • C is a consonant, position 3 → Code '3'
  • U is a vowel, position 21 → Code '42'? (This is $21 \times 2$)
  • R is a consonant, position 18 → Code '18'
  • D is a consonant, position 4 → Code '4'

If we concatenate these codes (3, 42, 18, 4), we get 342184. This exactly matches the code for CURD.

So the rule is clear:

  • Consonants are encoded by their alphabetical position.
  • Vowels (A, E, I, O, U) are encoded by double their alphabetical position.

Applying the Rule to 'BUTTER'

Now we apply this rule to the word 'BUTTER'.

Let's find the position of each letter in BUTTER and apply the rule:

Letter Position in Alphabet Type Rule Encoded Value
B 2 Consonant Position 2
U 21 Vowel Position $\times$ 2 $21 \times 2 = 42$
T 20 Consonant Position 20
T 20 Consonant Position 20
E 5 Vowel Position $\times$ 2 $5 \times 2 = 10$
R 18 Consonant Position 18

Now, concatenate the encoded values for each letter in order:

B (2) U (42) T (20) T (20) E (10) R (18)

Code: 24220201018

Comparing with the Options

Our calculated code for BUTTER is 24220201018.

Let's compare this with the given options:

  1. 421201018
  2. 442201018
  3. 24220201018
  4. 2212020518

The third option, 24220201018, matches our calculated code exactly.

Conclusion

Based on the pattern observed in the given examples, the word 'BUTTER' is encoded as '24220201018' in that code language.

Revision Table: Coding Language Rules

Letter Type Rule Example (Letter, Position) Encoded Value
Consonant Use the alphabetical position. B, 2 2
Vowel (A, E, I, O, U) Use double the alphabetical position. E, 5 $5 \times 2 = 10$

Additional Information: Types of Coding Questions

Coding and decoding questions in competitive exams often follow various patterns. Understanding common types can help you solve them faster. Some common patterns include:

  • Letter Shifting: Each letter is shifted a fixed number of positions forward or backward in the alphabet (e.g., A becomes C, B becomes D - shift by 2).
  • Reverse Alphabetical Order: A is coded as Z, B as Y, and so on.
  • Direct Letter to Letter Substitution: A specific letter is always replaced by another specific letter, based on a code table derived from examples.
  • Numerical Coding based on Position: Letters are coded using their alphabetical position, sometimes with simple arithmetic operations (like addition, subtraction, multiplication, division, squaring). This question is an example of this type, specifically using position-based rules differentiated by letter type (vowel/consonant).
  • Mixed Patterns: Combinations of the above rules, or different rules applied to different parts of the word or different types of letters.
  • Symbol Coding: Letters or words are represented by symbols.

Practice with different types of coding questions helps in quickly identifying the pattern used.

Was this answer helpful?

Important Questions from Coding Decoding Based on Numbers

  1. In a certain code language, ‘CROW’ is coded as ‘64’ and ‘EAGLE’ is coded as ‘125’. How will ‘PARROT’ be coded in that language?

  2. In a certain code language, ‘AROUND’ is coded as ‘52182412144’ and ‘FIX’ is coded as ‘63624’. How will ‘PLASTIC’ be coded in that language?

  3. If POSTER is coded as 592314 and DARK is coded as 8647, then how will STROKE be coded as?

  4. In a certain code language, ‘POUND’ is coded as ‘106’ and ‘CLEAN’ is coded as ‘41’. How will ‘MAKER’ be coded as in that language?

  5. In a certain code language, ‘ASK’ is written as ‘62’ and ‘BYE’ is written as ‘64’. How will ‘CRY’ 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