In a certain code language, 'CURD' is written as '342184' and 'BREAD' is written as '2181024'. How will 'BUTTER' be written in that language?
24220201018
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'.
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).
The word 'CURD' has 4 letters. The code is '342184', which has 6 digits. Let's write down the letters and their positions:
Given code for CURD: 342184
The word 'BREAD' has 5 letters. The code is '2181024', which has 7 digits. Let's write down the letters and their positions:
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:
Let's look for individual letter encodings that are consistent:
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):
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):
If we concatenate these codes (3, 42, 18, 4), we get 342184. This exactly matches the code for CURD.
So the rule is clear:
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
Our calculated code for BUTTER is 24220201018.
Let's compare this with the given options:
The third option, 24220201018, matches our calculated code exactly.
Based on the pattern observed in the given examples, the word 'BUTTER' is encoded as '24220201018' in that code language.
| 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$ |
Coding and decoding questions in competitive exams often follow various patterns. Understanding common types can help you solve them faster. Some common patterns include:
Practice with different types of coding questions helps in quickly identifying the pattern used.
In a certain code language, ‘CROW’ is coded as ‘64’ and ‘EAGLE’ is coded as ‘125’. How will ‘PARROT’ be coded in that language?
In a certain code language, ‘AROUND’ is coded as ‘52182412144’ and ‘FIX’ is coded as ‘63624’. How will ‘PLASTIC’ be coded in that language?
If POSTER is coded as 592314 and DARK is coded as 8647, then how will STROKE be coded as?
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?
In a certain code language, ‘ASK’ is written as ‘62’ and ‘BYE’ is written as ‘64’. How will ‘CRY’ be written in that language?