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 a certain code language, ‘bright as day’ is coded as ‘cb mn ju’ and ‘day and night’ is coded as ‘mn fd rs’. How is ‘day’ coded in the given language?

  2. TRPMK is related to XVTQO in a certain way based on the English alphabetical order. In the same way, LJHEC is related to PNLIG. To which of the following options is KIGDB related, following the same logic?

  3. RGEL is related to VKAH in a certain way based on the English alphabetical order. In the same way, HWOV is related to LAKR. To which of the following options is TICJ related, following the same logic?

  4. In a certain code language, ‘RUIN' is coded as '3719' and 'RUNG' is coded as '7916'. What is the code for 'G' in the given code language?

  5. If each vowel in the word ELASTIC is changed to the letter following it in the English alphabetical order and each consonant is changed to the letter following it in the English alphabetical order, then which of the following letters will be fourth from the right in the group of letter thus formed?

  6. In a certain code language, ‘NICE’ is coded as ‘2468’ and ‘CARS’ is coded as ‘2357’, What is the code for 'C’ in the given code language?

  7. Ina certain code language, ‘tiger is the king’ is written as ‘ki ni hi li’, ‘king rules the kingdom’ is written as ‘di li ti ni’, and ‘the baby is sleeping’ is written as “gi ni si ki’. How is ‘tiger’ written in the given language?

  8. If each vowel in the word FRIENDLY is changed to the letter following it in the English alphabetical order and each consonant is changed to the letter preceding it in the English alphabetical order, then which letter will be in the second position from the right in the new group of letters thus formed?

  9. CYBS is related to GWFQ in a certain way based on the English alphabetical code. In the same way, KUJO is related to OSNM. To which of the following options is SQRK related, following the same logic?

  10. In a certain code language, 'lost in space' is coded as 'vp dc ez' and ‘never get lost' is coded as 'gb ez cy'. What is the code for 'lost' in the given code language?


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?
Upcoming Exams
RRB Technician
October 06, 2026
RRB JE
October 27, 2026
RRB ALP
November 03, 2026
Test Series
RRB ALP img
Railways
RRB ALP 2026 Mock Test series
1035 Tests 1 Tests Free
1086 Attempts
4.3(239)
English, Hindi

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