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. The letters from A to Z are numbered from 1 to 26 respectively. If GHI = 1578 and DEF = 912, then what is ABC equal to?

  2. What is the missing term in the following? ACPQ : BESU:: MNGI: @

  3. what is the largest number among the following?

  4. What is the greatest length x such that 3 ½ m and 8 ¾ m are integral multiples of x?

  5. In a certain code, '256' means 'red colour chalk', '589' means 'green colour flower' and '254' means 'white colour chalk'. The digit in the code that indicates `white' is

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