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?

This question was previously asked in
RRB ALP 2025 CBT 2 Wiremen Question Paper (28-Jul-2026) (Shift 2)
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?

Similar Questions

  1. In this question, a group of numbers/symbols is coded using letter codes as per the codes given below and the conditions which follow. The correct combination of codes following the conditions is your answer. If none of the conditions follow, then the codes for the respective number/symbol are to be followed directly as given in the table.

    Number/symbol 61&3%8+4#7@52$
    CodeRVGDSCTLFWHUYN

    Conditions:

    (i) If the first element is a symbol and the last element is an odd number, the codes for these two (the first and the last elements) are to be interchanged.

    (ii) If the first element is an odd number and the last an even number, the first and last elements are to be coded as ©.

    (iii) If both the second and third elements are perfect squares, the third element is to be coded as the code for the second element.

    What will be the code for the following group?

    + 6 $ 2 7

  2. In a certain code language, 'KING' is coded as '9713' and 'ITCH' is coded as '2945'. What is the code for 'I' in the given code language?

  3. In a certain code language, ‘SOIL’ is coded as ‘1547’ and ‘COIL’ is coded as ‘7124’. What is the code for ‘C’ in the given code language?

  4. SANZ is related to YUTT in a certain way based on the English alphabetical order. In the same way, MTHM is related to SNNG. To which of the following is LJRE related to following the same logic?

  5. A group of numbers/symbols is coded using letter codes as per the codes given below and the conditions that follow. The correct combination of codes following the conditions is your answer.
    Note: If none of the conditions follow, then the codes for the respective number/symbol are to be followed directly as given in the table.
     

    Number/Symbol 3@84$&2%#1+975
    CodeUGBKMFXREQSCVT

    Conditions –
    (i) If the first element is a symbol and the last element an odd number, the codes for these two (the first and the last elements) are to be interchanged.
    (ii) If the first element is an odd number and the last an even number, the first and the last elements are to be coded as ©
    (iii) If both second and third elements are perfect squares, the third element is to be coded as the code for the second element.

    What will be the code for the following group?
    & 8 $ 9 5

  6. In a certain code language, 'HATS' is coded as '2743' and 'AHUS' is coded as '7483'. What is the code for 'U' in the given code language?
  7. In a certain code language, ‘HAST’ is coded as ‘3586’ and ‘DAHS’ is coded as ‘6357’. What is the code for ‘D’ in the given code language?
  8. AL8 is related to EQ40 in a certain way. In the same way, MF13 is related to QK65. To which of the given options is UO5 related, following the same logic?
  9. In a certain code language, ‘SONG’ is coded as ‘9785’ and ‘GONE’ is coded as ‘5867’. What is the code for ‘E’ in the given code language?
  10. In a certain code language, ‘CASH’ is coded as ‘1937’ and ‘EAHS’ is coded as ‘9163’. 

    What is the code for ‘E’ in the given code language?


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?
Upcoming Exams
RRB NTPC
September 27, 2026
Test Series
RRB ALP img
Railways
RRB ALP 2026 Mock Test series
1035 Tests 1 Tests Free
889 Attempts
4.3(235)
English, Hindi
More Questions from RRB ALP

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