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

In a certain code language, 'SHAT' is coded as '4956' and 'ASHY' is coded as '3645'. What is the code for 'Y' in the given code language?

The correct answer is
3

Understanding the Coding Pattern

We are given two coded words and need to find the code for a specific letter.

  • 'SHAT' is coded as '4956'
  • 'ASHY' is coded as '3645'

The goal is to determine the code for the letter 'Y'.

Analyzing Letter and Code Correspondences

Let's compare the letters and digits in the given examples:

Word 1: S H A T

Code 1: 4 9 5 6

Word 2: A S H Y

Code 2: 3 6 4 5

We identify the letters common to both words ('S', 'H', 'A') and the digits common to both codes ('4', '5', '6'). This suggests a direct substitution cipher where these common letters correspond to these common digits, though not necessarily in the same order.

Deducing the Code for 'Y'

Consider the word 'ASHY' and its code '3645'.

  • The letters are A, S, H, Y.
  • The digits are 3, 6, 4, 5.

From the comparison above, we know that the letters 'A', 'S', and 'H' must correspond to three of the digits '4', '5', and '6'.

Therefore, the letter 'Y', which is unique to 'ASHY' among the compared letters, must correspond to the digit that is unique to the code '3645' when considering the mapping of A, S, H to 4, 5, 6.

The digits in '3645' are {3, 6, 4, 5}.

The digits common to both codes are {4, 5, 6}.

The digit unique to '3645' in this context is '3'.

Thus, the code for 'Y' must be '3'.

We can also deduce the code for 'T' from 'SHAT' = '4956'. The letters {S, H, A} correspond to {4, 5, 6}. The remaining letter is 'T' and the remaining digit is '9'. So, T=9.

Checking consistency:

  • ASHY = 3645 implies Y = 3 and {A, S, H} = {6, 4, 5}
  • SHAT = 4956 implies T = 9 and {S, H, A} = {4, 5, 6}

Both conditions are met. The code for 'Y' is '3'.

Final Answer

The code for 'Y' is 3.

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