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

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?

This question was previously asked in
RRB NTPC 2024 Undergraduate CBT 1 Question Paper (29-Aug-2025) (Shift 1)
The correct answer is

6

Coding Logic Explained

This problem involves deciphering a simple substitution code where letters are represented by numbers. We are given two examples of coded words and need to find the code for a specific letter.

Problem Statement

  • The word 'RUIN' is coded as '3719'.
  • The word 'RUNG' is coded as '7916'.
  • We need to find the code for the letter 'G'.

Letter-to-Code Mappings Analysis

To solve this, we need to compare the given words and their codes to identify patterns. Let's list the letters and their corresponding digits for each word:

Mapping for RUIN
Letter R U I N
Code Digits 3 7 1 9

Mapping for RUNG
Letter R U N G
Code Digits 7 9 1 6

Common and Unique Elements

Let's compare the letters present in both words and the digits used in their codes:

  • Common Letters: Both 'RUIN' and 'RUNG' contain the letters 'R', 'U', and 'N'.
  • Common Digits in Codes: The codes '3719' and '7916' share the digits '7', '9', and '1'. This suggests that the letters 'R', 'U', and 'N' are collectively represented by the digits '7', '9', and '1' in some order.

Code Deduction for 'G'

Now, let's look for unique elements:

  • In the word 'RUIN', the letters are R, U, I, N and the code is 3719. The set of digits is {3, 7, 1, 9}.
  • In the word 'RUNG', the letters are R, U, N, G and the code is 7916. The set of digits is {7, 9, 1, 6}.
  • We established that the common letters {R, U, N} correspond to the common digits {7, 9, 1}.
  • The letter unique to 'RUIN' is 'I'. The digit unique to the code '3719' (when compared to the digits in '7916') is '3'. Therefore, we can deduce that I = 3.
  • The letter unique to 'RUNG' is 'G'. The digit unique to the code '7916' (when compared to the digits in '3719') is '6'. Therefore, we can deduce that G = 6.

Code for G Answer

Based on the analysis, the letter 'G' corresponds to the digit '6' in this coding language. This is found by identifying the digit present in the code for 'RUNG' (7916) that is not present in the code for 'RUIN' (3719), and matching it with the letter unique to 'RUNG' that is not present in 'RUIN'.

The code for 'G' is 6.

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. 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?

  5. 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?

  6. 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?

  7. 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?

  8. 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?

  9. 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?

  10. Read the given statements and conclusions carefully. You have to take the given statements to be true even if they seem to be at variance from commonly known facts and decide which conclusion(s) logically follow(s) from the given statements.

    Statements:

    All bees are insects.

    All bees are hives.

    Conclusions:

    (I) Some hives are insects.

    (II) All hives are bees.


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
1059 Attempts
4.3(238)
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