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, ‘watch is disturb’ is written as ‘xr pa qn’ and ‘don’t watch him’ is written as ‘tu bg pa’. How is ‘watch’ written in the given language?

  2. In a certain code language, ‘call on him’ is coded as ‘ol ni vc’ and ‘awaiting your call’ is coded as ‘ni dx sb’. How is ‘call’ coded in that language?

  3. In a certain code language, 'talk to me' is coded as 'aq yt bl' and 'do not talk' is coded as 'yt me wc'. What is the code for 'talk' in that language?

  4. In a certain code language, 'can we play' is coded as 'ae tc nx' and 'play in school' is coded as 'tc rm ef'. How is 'play' coded in that language?

  5. In a certain code language, 'BOOK' is written as 'ZNNI' and 'SHOP' is written as 'QFNN'. How will 'NOTES' 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