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

In a certain code language, ‘PEN’ is coded as ‘321028’ How will ‘TUB’ be coded as in that language?

This question was previously asked in
SSC CGL 2019 (Tier 2) GS Finance & Economics Previous Year Paper (17-Nov-2020)
The correct answer is

40424

Understanding Coding and Decoding Logic

This question asks us to decode a word based on a given example of coding. We are given that in a certain code language, the word 'PEN' is coded as '321028'. We need to find the code for the word 'TUB' using the same logic.

To solve this type of coding decoding problem, we first need to analyze the relationship between the original word 'PEN' and its code '321028'. This could involve the alphabetical positions of the letters, mathematical operations, or other patterns.

Analyzing the Coding Pattern for 'PEN'

Let's look at the letters in 'PEN' and their positions in the English alphabet:

  • P is the 16th letter.
  • E is the 5th letter.
  • N is the 14th letter.

The given code for 'PEN' is '321028'. Let's try to see if there is a mathematical relationship between the alphabetical positions (16, 5, 14) and the parts of the code (which appears to be split into groups of digits).

The code '321028' can potentially be broken down into segments corresponding to each letter:

  • For 'P' (16th letter), the code part seems to be '32'. Notice that $16 \times 2 = 32$.
  • For 'E' (5th letter), the code part seems to be '10'. Notice that $5 \times 2 = 10$.
  • For 'N' (14th letter), the code part seems to be '28'. Notice that $14 \times 2 = 28$.

It appears the logic is to find the alphabetical position of each letter, multiply it by 2, and then concatenate the resulting numbers to form the code word. Let's verify this logic with 'PEN'.

P → Position 16 → $16 \times 2 = 32$
E → Position 5 → $5 \times 2 = 10$
N → Position 14 → $14 \times 2 = 28$

Concatenating these results (32, 10, 28) gives '321028', which matches the given code for 'PEN'. So, this appears to be the correct coding logic.

Applying the Coding Logic to 'TUB'

Now, let's apply this same logic to find the code for the word 'TUB'. First, find the alphabetical position of each letter in 'TUB':

  • T is the 20th letter.
  • U is the 21st letter.
  • B is the 2nd letter.

Next, multiply each position number by 2:

  • T → Position 20 → $20 \times 2 = 40$
  • U → Position 21 → $21 \times 2 = 42$
  • B → Position 2 → $2 \times 2 = 4$

Finally, concatenate the resulting numbers (40, 42, 4) in order:

40 followed by 42 followed by 4 results in the code '40424'.

Comparing with Options

Let's compare our calculated code '40424' with the given options:

  • Option 1: 40424
  • Option 2: 42404
  • Option 3: 40422
  • Option 4: 44024

Our calculated code '40424' matches Option 1.

Step-by-Step Solution Summary

  1. Identify the original word ('PEN') and its code ('321028').
  2. Determine the alphabetical position of each letter in 'PEN' (P=16, E=5, N=14).
  3. Analyze the relationship between positions and the code. The pattern found is Position $\times$ 2.
  4. Verify the pattern: $16 \times 2 = 32$, $5 \times 2 = 10$, $14 \times 2 = 28$. Concatenating these (321028) matches the given code.
  5. Apply the same logic to the word 'TUB'.
  6. Find the alphabetical position of each letter in 'TUB' (T=20, U=21, B=2).
  7. Multiply each position by 2: $20 \times 2 = 40$, $21 \times 2 = 42$, $2 \times 2 = 4$.
  8. Concatenate the results (40, 42, 4) to get the code '40424'.
  9. Match the calculated code with the given options.

The code for 'TUB' is 40424.

Word Letter Alphabetical Position Calculation (Position $\times$ 2) Code Segment
PEN P 16 $16 \times 2$ 32
E 5 $5 \times 2$ 10
N 14 $14 \times 2$ 28
Concatenated Code for PEN: 321028
TUB T 20 $20 \times 2$ 40
U 21 $21 \times 2$ 42
B 2 $2 \times 2$ 4
Concatenated Code for TUB: 40424

Revision Table: Coding Decoding Basics

Concept Description Example
Letter Position Each letter has a specific position in the standard English alphabet (A=1, B=2, ..., Z=26). C=3, X=24
Coding Transforming a word, number, or phrase into a secret or alternative form based on a specific rule. CAT coded as 243 (if logic is Position $\times$ 1 backwards: C=24, A=26, T=7... wait, reverse alphabet positions are 26-pos+1. C=3 -> 24, A=1 -> 26, T=20 -> 7. Concatenated 24267. This example was just to illustrate. Use a simpler example). Let's use the logic from the problem: CAT coded as 6240 (C=3 -> 6, A=1 -> 2, T=20 -> 40. Concatenated 6240)
Decoding Reversing the coding process to retrieve the original information from the coded form. Given 6240 is the code for CAT, find the original word for 826 (if logic is Position $\times$ 2: 8 is $4 \times 2$ -> D, 2 is $1 \times 2$ -> A, 6 is $3 \times 2$ -> C. Word is DAC)
Pattern Identification The key step in coding-decoding is to find the hidden rule or pattern used for transformation. Could be letter shifts, number assignments based on position, mathematical operations, etc.

Additional Information: Types of Coding Decoding

Coding and decoding questions are common in competitive exams and test logical reasoning. There are several types of coding patterns you might encounter:

  • Letter Coding: Letters are coded using other letters. This can involve shifting positions (e.g., A → C), reversing alphabetical order, or other patterns.
  • Number/Symbol Coding: Words or letters are coded using numbers or symbols, as seen in this problem. The code might be based on alphabetical position, numerical value of letters, or assigned values.
  • Mixed Coding: Words are coded using a mix of letters and numbers/symbols.
  • Substitution Coding: One word is substituted for another (e.g., 'Red is called Blue', 'Blue is called Green').
  • Sentence Coding: A full sentence or phrase is coded, usually by assigning codes to individual words within the sentence.

Solving these problems requires careful observation, pattern recognition, and systematic application of the discovered rule.

Was this answer helpful?

Similar Questions

  1. In a certain code language ‘BOTTLE’ is written as ‘148’, ‘SIPPER’ is written as ‘166’. How will ‘BUMPER’ be written in that language?
  2. In a certain code language, ‘PAINT’ is written as ‘80’ and ‘DROP’ is written as ‘59’. How will ‘MARKET’ be written in that language?

  3. In a certain language the word CLOCK is written as 4 – 13 – 17 – 4 – 12. How will PHONE be written in that language?

  4. In a certain code language, ‘MOST’ is written as ‘134’ and ‘FUR’ is written as ‘90’. How will ‘SUCCESS’ be written in that language?

  5. In a certain code language, 'CAKE' is written as '6874', 'EASY' is written as '4882'. How will 'MAKE' be written in that language?

  6. Ina code language, if LAMINATE is coded as 121139141205, then how will SYSTEMIC be coded in the same language?

  7. If each letter of the English alphabet is assigned an odd numerical value in increasing order, such as A = 1, B = 3 and so on then what will be the code of HONEY?

  8. In a certain code language, ‘GUM’ is coded as ‘49441169’. How will ‘WAX’ be coded as in that language?

  9. In a certain code language, STRAIGHT is written as TSARGITH. How will THURSDAY be written as in that language?

  10. In a certain code language, LARVAE is coded as 15-1-9-5-1-2. How will INSECT be coded as in that language?


Important Questions from Operations on Place Value

  1. In a certain code language, TOGETHER is coded as 119 and MASTER is coded as 87. How will REVERSE be coded in that language?

  2. In a certain code, if BRDKE is written as AQCJD, then SLEEP will be written in that code as:

  3. In a certain code language, ‘BULB’ is written as ‘190’, ‘CALM’ is written as ‘150’. What is the code for ‘DOES’ in that code language

  4. In a certain code language, RAMP is coded as 3611332. How will DELL be coded in that language?

  5. In a code language, 'SPACE' is written as '5-91' and 'ROTTEN' is written as '6-70'. How will 'MEAN' be written in that language?

Need Expert Advice?
Upcoming Exams
SSC CGL
September 30, 2026
UPSSSC PET
October 23, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
5182 Attempts
4.2(860)
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