Coding-Decoding Reasoning

Coding-Decoding Tricks, Examples and Online Test

Coding-Decoding

In this segment of common sense reasoning, secret messages or words have to be decoded. They are coded as per a definite pattern/ rule which should be identified first. Then the same is applied to decode another coded word. This chapter makes you familiar with every type of problem based on coding-decoding.

Types of Coding-Decoding

Type 1: Letter Coding

In this type of question, the code of words is given in the form of letters of the alphabet.

Example 1. In a certain code, MEADOWS is written as RVNENFB. How will PRIESTS be written in that code?
  1. RSRFQSJ
  2. RSRDQSJ
  3. RRSFQSJ
  4. RSRFJSQ

Sol (1): As,

coding-decoding-s-h-10446.png

Similarly,

coding-decoding-s-h-10452.png

Example 2. ‘GANDHI WAS A GREAT LEADER OF INDIA’ is written as ‘RUFZOJ SUV U RDTUB QTUZTD EP JFZJU’ in the secret code language, then select the appropriate code from the given alternatives for each of the following words.

I. STRONG

  1. VBDERE
  2. VBDEER
  3. VBEDFR
  4. VBDEFR

II. ISLAND

  1. JVQUFZ
  2. ZFUQVJ
  3. QUFZJV
  4. FUZJVQ

Sol: Here each letter of the original sentence is represented by a different code as shown below:

SentenceGANDHIWASAGREATLEADEROFINDIA
CodeRUFZOJSUVURDTUBQTUZTDEPJFZJU

Hence the code for STRONG is VBDEFR and the code for ISLAND is JVQUFZ.

Example 3: The word RUN is coded as SVO. What should be the code letters of LAY?
  1. MBZ
  2. NBZ
  3. MCZ
  4. MBY

Solution (1): MBZ

AsSimilarly
R (+1) → SL (+1) → M
U (+1) → VA (+1) → B
N (+1) → OY (+1) → Z

∴ LAY should be MBZ.

Example 4: In a certain code COURAGE is written as UOCREGA. How will JOURNAL be written in that code?
  1. UOJKLAN
  2. UOJRMAN
  3. UOJRLBN
  4. UOJRLAM

Solution (1): UOJRLAN

Clearly, when COURAGE is coded, some letters are interchanged with respect to their positions, i.e., odd position are interchanged.

Position of 1 changes to 3 and 3 to 1. Position of 5 changes to 7 and 7 to 5.

Hence, JOURNAL can be coded as UOJRLAN.

Type 2: Number Coding

In this type of coding, either alphabetical code values are assigned to the numbers or numerical code values are assigned to words.

Example 5: If D = 4 and COVER = 63, then BASIS = ?
  1. 50
  2. 19
  3. 37
  4. 55

Solution (1):  50

Clearly, in the given code, A = 1, B = 2, C = 3, ….. so that.
COVER = 3 + 15 + 22 + 5 + 18 = 63
∴ BASIS = 2 + 1 + 19 + 9 + 19 = 50.

Example 6: In a given code SISTER is coded as 535301. UNCLE as 84670 and BOY as 129. How is RUSTIC written in that code?
  1. 633185
  2. 185336
  3. 363815
  4. 581363

Solution (2): 185336

In this code, the alphabets are coded as follows:

S I S T E RU N C L EB O Y
5 3 5 3 0 18 4 6 7 01 2 9

If we apply this method, RUSTIC is coded as 185336.

Type 3: Substitution Coding

In substitution coding, some particular objects are assigned as code names and then a question is asked that is to be answered in the code language.

Example 7: If wall is called window, window is called door, door is called floor, floor is called roof and roof is called ventilator, what will a person stand on?
  1. Door
  2. Ventilator
  3. Roof
  4. Floor

Solution: Since a person stands on the floor and in the given code language floor is called roof. Hence, roof will be the correct answer.

Type 4: Mixed Letter Coding

In this type of question, three or more sentences are given in the coded language and the code for a particular word is asked. To find the code for the particular word, pickup two sentences bearing a common word and the common code word will mean that word. Proceeding in a similar manner, we can be determined a particular code word for each word of given sentences.

Example 8: In a certain code language, ‘po ki top ma’ means ‘Usha is playing cards’. ‘kop ja ki ma’ means ‘Asha is playing tennis’, ‘ki top sop ho’ means ‘they are playing football’ and ‘po sur kop’ means ‘cards and tennis’. Which word in that language means ‘Asha’?
  1. ja
  2. ma
  3. kop
  4. top

Solution. (1): In that language ‘ja’ means ‘Asha’

po ki top maUsha is playing cards
kop ja ki maAsha is playing tennis
ki top sop hothey are playing football
po sur kopcards and tennis

Comparing relation in each of the statements, we get Asha is coded as ‘ja’.

Type 5: Condition-based coding

In this type of coding-based question, a set of letters and their codes are given. After that, some conditions are given based on the combination of numbers/symbols. You have to solve the questions using these conditions.

Directions: Select the code of the given letter group in each question based on the following coding system and conditions.

coding-decoding-s-h-10485.png

Conditions:

  • (i) If the first letter is a consonant and the last letter is a vowel, the codes for the first and last letters are to be interchanged.
  • (ii) If the first and the last letter are vowels, both are to be coded as the code of the first letter.
  • (iii) If both the first and last letters are consonants, both are to be coded as ‘δ’.
Example 9: Which combination correctly represents the letter group ‘IDZQGY’?
  1. 6#25@7
  2. 7#25@6
  3. 62#5@7
  4. 6#25@6

Solution (1): 6#25@7

IDZQGY
6#25@7
Example 10: Which combination correctly represents the letter group ‘MZAEIK’?
  1. 32146$
  2. $21463
  3. δ2146δ
  4. 321463

Solution (3): δ2146δ

MZAEIK
δ2146δ

Condition (iii) is applied.

Example 11: Which combination correctly represents the letter group ‘GQEIFM’?
  1. @5463*
  2. δ5463*
  3. 3546*@
  4. none of these

Solution (4): δ546*δ

IDZQGY
δ546*δ

Condition (iii) is applied.

Example 12: Which combination correctly represents the letter group ‘UFEQYO’?
  1. ©*457%©
  2. ©*457©
  3. %*457%©
  4. %*457%

Solution (2): ©*457©

UFEQYO
©*457©

Condition (ii) is applied.

Example 13: Which combination correctly represents the letter group ‘NEMDYI’?
  1. 843#76
  2. 843#78
  3. δ43#7δ
  4. 643#78

Solution (4): 643#78

NEMDYI
643#78

Condition (i) is applied.

Type 6: Coded Letter of Word

These types of questions are based on code language which utilizes letters in the English alphabet.

Directions: In each question, there is a word written in capital letter, with one letter underlined. For each letter in that word, there is a code written in small letters. That code is denoted by 1, 2, 3, 4, and 5, not in the same order. You have to find out the exact code for the underlined letter in the word.

Example 14: QUITE
  1. hj
  2. su
  3. tv
  4. pr
  5. df

Solution. (4): Correct code for letter ‘Q’ is ‘pr’

Each letter in word QUITE is expressed as two letters, one behind and the other ahead of the given letter. Therefore, ‘A’ becomes ‘zb’, ‘B’ comes ‘ac’, and so on.

Example 15: PRISM
  1. R
  2. O
  3. H
  4. Q
  5. I

Solution. (4): Correct code for letter ‘R’ is ‘Q’

Each letter in the word PRISM is coded as one letter behind. Therefore, ‘A’ becomes ‘z’, ‘B’ comes ‘a’, and so on.

Example 16: BEAST
  1. e
  2. w
  3. d
  4. h
  5. v

Solution. (2):

Each letter in the word BEAST is coded as three letters ahead. Therefore, ‘A’ becomes ‘d’, ‘B’ comes ‘e’, and so on.

Solved Examples

Example 17: If EODGH is the code for BLADE, what is the code for CRICKET?
  1. FVLFNHW
  2. FULFNHW
  3. FUNFNHW
  4. FULFMHW

Solution (2): FULFNHW

As,

coding-decoding-s-9343.png

Similarly

coding-decoding-s-9349.png

Example 18: If EARTH is coded as 41590 and PALE as 2134, what is the code for PEARL?
  1. 23153
  2. 24154
  3. 24253
  4. 24153

Solution (4): 24153

codes for letters are: P=2, E=4, A=1, R=5 and L=3


Example 19: In a certain language, ‘put tir fin’ means ‘delicious juicy fruit’; ‘tie dip sig’ means ‘beautiful white lily’, and ‘sig lon fin’ means ‘lily and fruit’. What is the code for ‘and’?
  1. lon
  2. tir
  3. sig
  4. fin

Solution (1): ‘lon’

Common code from first and third statement for ‘fin’ is ‘fruit’. From second and third statement, ‘sig’ is ‘lily’. So ‘lon’ means ‘and’ in third statement.

coding-decoding-s-9356.png


Example 20: In a certain code, 15789 is written as XTZAL and 2346 is written as NPSU. How is 23549 written in the code?
  1. NPTQL
  2. NPTSL
  3. NQTSL
  4. NPTSM

Solution (2): NPTSL

coding-decoding-s-9406.png

and

coding-decoding-s-9412.png

So,

coding-decoding-s-9421.png

∴  23549 can be written in code as NPTSL.


Example 21: In a certain code DELHI is written as CDKGH. How is SUSPECT written in code?
  1. RURODBS
  2. RTRODBS
  3. RTQODBS
  4. RTROEBS

Solution (2): RTRODBS

Clearly, we can see that each letter of the word DELHI is moved one step backward to obtain the code. Similarly, SUSPECT will be coded as RTRODBS.

Reasoning, Tricks and Online Test»
GK/GS
Maths
English
Computer