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

In a certain code language, 'DANCE' is written as 'AECDN', 'MUSIC' is written as 'IUCMS', how will 'SONG' be written as in that language?

The correct answer is
OGNS

Coding Pattern Identification

The code transforms words by rearranging letters based on vowels and consonants.

  • Step 1: Separation Separate the letters into two groups: vowels (A, E, I, O, U) and consonants.
  • Step 2: Sorting Sort the letters within each group alphabetically.
  • Step 3: Combination Combine the sorted vowels followed by the sorted consonants.

Pattern Verification

Example 1: DANCE

  • Vowels: {A, E} -> Sorted: A, E
  • Consonants: {D, N, C} -> Sorted: C, D, N
  • Result: Concatenating sorted vowels (A, E) and sorted consonants (C, D, N) gives AECDN. (Matches)

Example 2: MUSIC

  • Vowels: {U, I} -> Sorted: I, U
  • Consonants: {M, S, C} -> Sorted: C, M, S
  • Result: Concatenating sorted vowels (I, U) and sorted consonants (C, M, S) gives IUCMS. (Matches)

Encoding SONG

Apply the identified pattern to the word SONG:

  • Vowels: {O} -> Sorted: O
  • Consonants: {S, N, G} -> Sorted: G, N, S
  • Combine sorted vowels and consonants: Concatenate 'O' and 'GNS' to get OGNS.

Thus, 'SONG' is coded as OGNS.

Was this answer helpful?

Important Questions from Coding decoding

  1. In a certain code language, 'cafe hotel room' is coded as 'aa bb ee', 'room kitchen hall' is coded as 'ff aa bb', and 'hall hotel garden' is coded as 'ee ff tt'. What is the code for 'garden' in the given code language?
  2. In a certain code language, 'FATE' is coded as '3257' and 'AIDS' is coded as '6142'. What is the code for 'A' in the given code language?
  3. SACU is related to ZHJB in a certain way based on the English alphabetical order. In the same way, UCEW is related to BJLD. To which of the following is PXZR related, following the same logic?
  4. In a certain code language, 'am with you' is coded as 'mp rk tp' and 'go with him' is coded as 'rk lo wt'. How is 'with' coded in the given language?
  5. In a certain code language, 'MAZE' is coded as '3527' and 'AIDS' is coded as '2416'. What is the code for 'A' in the given code 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