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

In a certain code, the word 'TEACHER' is written as 'RCYAFCP'. The word 'SCHOOL' is written as 'QAFMMJ'. How is the word 'SUBJECT' written in the same code?

The correct answer is
QSZHCAR

Decoding the Word Transformation

The question asks us to find the coding pattern used to transform 'TEACHER' into 'RCYAFCP' and 'SCHOOL' into 'QAFMMJ', and then apply this pattern to code the word 'SUBJECT'.

Analyzing the Coding Pattern

Let's examine the transformation for 'TEACHER' to 'RCYAFCP'. We assign numerical values to letters (A=1, B=2, ..., Z=26).

  • T (20) -> R (18) : Shift = 18 - 20 = -2
  • E (5) -> C (3) : Shift = 3 - 5 = -2
  • A (1) -> Y (25) : Shift = 25 - 1 = +24 or -2 (wrapping around, $1 - 2 = -1 \equiv 25 \pmod{26}$)
  • C (3) -> A (1) : Shift = 1 - 3 = -2
  • H (8) -> F (6) : Shift = 6 - 8 = -2
  • E (5) -> C (3) : Shift = 3 - 5 = -2
  • R (18) -> P (16) : Shift = 16 - 18 = -2

The pattern observed is a consistent shift of -2 for each letter.

Let's verify this pattern with the second example: 'SCHOOL' to 'QAFMMJ'.

  • S (19) -> Q (17) : Shift = -2
  • C (3) -> A (1) : Shift = -2
  • H (8) -> F (6) : Shift = -2
  • O (15) -> M (13) : Shift = -2
  • O (15) -> M (13) : Shift = -2
  • L (12) -> J (10) : Shift = -2

The pattern of shifting each letter back by 2 positions is confirmed.

Applying the Pattern to 'SUBJECT'

Now, we apply the same -2 shift pattern to the word 'SUBJECT':

  • S (19) : $19 - 2 = 17$ -> Q
  • U (21) : $21 - 2 = 19$ -> S
  • B (2) : $2 - 2 = 0 \equiv 26 \pmod{26}$ -> Z (wrapping around from B to A to Z)
  • J (10) : $10 - 2 = 8$ -> H
  • E (5) : $5 - 2 = 3$ -> C
  • C (3) : $3 - 2 = 1$ -> A
  • T (20) : $20 - 2 = 18$ -> R

Therefore, the coded word for 'SUBJECT' is 'QSZHCAR'.

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