Coding-Decoding
Category : 7th Class
Coding - Decoding
Learning Objectives
What is Coding - Decoding
A ‘code’ is a system of conveying a message through signals. It is method of sending a message between sender and the receiver in such a way that only the sender and the receiver can know its meaning. However ‘Coding’ is done according to a certain pattern in the mind of the sender Therefore, Its meaning can be deciphered by a third person, only if he carefully studies this pattern. This process is called ‘Decoding’. This capability is important in many fields of application.
Generally, letters are coded into numbers according to their position in alphabetical order in backward or forward sequence. The position of letters are shown, in the tables given below:
Positions of letters in forward order (Left to Right)
A 1 |
B 2 |
C 3 |
D 4 |
E 5 |
F 6 |
G 7 |
H 8 |
I 9 |
J 10 |
K 11 |
L 12 |
M 13 |
N 14 |
O 15 |
P 16 |
Q 17 |
R 18 |
S 19 |
T 20 |
U 21 |
V 22 |
W 23 |
X 24 |
Y 25 |
Z 26 |
Table 1
Positions of letters in a backward order (Right to Left)
Table 2
Z 1 |
Y 2 |
X 3 |
W 4 |
V 5 |
U 6 |
T 7 |
S 8 |
R 9 |
Q 10 |
P 11 |
O 12 |
N 13 |
M 14 |
L 15 |
K 16 |
J 17 |
I 18 |
H 19 |
G 20 |
F 21 |
E 22 |
D 23 |
C 24 |
B 25 |
A 26 |
Types of Problems
Various types of problems can be asked on coding-decoding.
Coding-Decoding in Forward Sequence
In such problems, letters are coded in forward alphabetical sequence.
Example
If ‘DEF’ is coded as ‘GHI’, then ‘LMN’ will definitely be coded as ‘OPQ’
Explanation: In this case, letters of the word ‘DEF’ shift three places forward in alphabetical sequence as shown below:
Similarly, by shifting the letters of ‘LMN’ three places forward in alphabetical order, the code obtained for ‘LMN’ is ‘OPQ’ as shown below:
Example
If ‘GOT’ is coded as ‘IQV’, then ‘TOP’ will definitely be coded as ‘VQR’.
Explanation: In this case, letters of the word ‘GOT’ shift two places forward in alphabetic sequence as shown below:
Similarly, by moving the letters of the word ‘TOP’ two places forward, the word ‘VQR’ is obtained.
Commonly Asked Questions
If ‘LMN’ is coded as ‘OPQ’ in a certain language, then find the code for ‘PQR’.
(a) STU (b) UTS
(c) TUS (d) UST
(e) None of these
Ans. (a)
Explanation: Option (a) is correct because in this case letters of the word ‘LMN’ are moved three places forward as shown below:
By following the similar pattern, we get
So, the code for ‘PQR’ is ‘STU’
If ‘WO’ is coded as ‘YQ’, then ‘NE’ will be coded as:
(a) WE (b) PG
(c) YP (d) GP
(e) None of these
Ans. (b)
Explanation: in this question, each letter of ‘WO’ moves forward by two steps shown below:
On applying the same pattern for the word ‘NE’, we get
So, the code for ‘NE’ is ‘PG’. Thus, option (b) is the correct choice.
Coding-Decoding in Backward Sequence
In such problems, letters are coded in backward alphabetical sequence.
Example
If ‘ROSE’ is coded as ‘PMQC’ then ‘NOSE’ will definitely be coded as:
(a) LMQC (b) LCQM
(d) MLQC (d) QLMC
(e) None of these
Ans. (a)
Explanation: In this question, letters of ‘ROSE’ are coded two places backward as shown below in the figure:
In the same manner, letters of ‘NOSE’ are also coded two places backward.
Thus, the code for ‘NOSE’ is ‘LMQC’.
In a certain language TAP is coded as SZO, then FREEZE will be coded as:
(a) EQDFYG (b) ESDFYF
(d) GQFDYF (d) EQDDYD
(e) None of these
Ans. (d)
Explanation: In this question, each letter of the word ‘TAP’ is moving one step backward.
Keeping in mind this rule FREEZE will be written as F - 1 = E, R - 1 = Q, E - 1 = D E - 1 = D, Z - 1 = Y and E - 1 = D, or to say FREEZE will be written as EQDDYD. Thus option (d) is .correct answer.
Commonly Asked Question
If code for ‘SOD’ is ‘QMB’, then what will be the code for ‘GHP’?
(a) MQN (b) FGN
(c) FEN (d) EFN
(e) None of these
Ans. (d)
Explanation: In this question, each letter of the word ‘SOD’ moved two steps backward as shown below:
By following the similar pattern, the code for ‘GHP’ is ‘EFN’ as shown in the diagram given below:
Thus, option (d) is the correct choice.
If ‘ZDIE’ is coded as ‘YCHD’, then ‘NETL’ will be coded as:
(a) MDSK (b) TENK
(c) UFOK (d) SDMK
(e) None of these
Ans. (a)
Explanation: In this case, each letter of the word ‘ZDIE’ moved one step backward.
By following the similar pattern, the code for ‘NETL’ is
So, the code for ‘NETL’ is ‘MDSK’. Thus, option (a) is the correct choice.
Coding-Decoding in Forward-Backward Sequence
In such pattern, letters are coded backward and forward order/forward and backward order alternately.
Example
If ‘NAME’ is coded as ‘MBLF’, then ‘GAME’ will definitely be coded as:
(a) EBMG (b) FBLF
(c) ECNF (d) FCLG
(e) None of these
Ans. (b)
Explanation: in this question, letters of ‘NAME’ are moved one place backward and one place forward alternately as shown below:
By applying the same rule/ code for the word ‘GAME’ is ‘FBLF’ as shown below.
So, option (b) is correct answer.
If in a certain code, SIKKIM is written as THUJL, then how is TRAINING written in that code?
(a) SQBHOHOH (b) UQBHOHOF
(c) UQBJOHHO (d) UQBJOHOH
(e) None of these
Ans. (b)
Explanation: The letters in the SIKKIM are moving alternately one step forward and one step backward.
By applying the same rule, we get
So, option (b) is correct answer.
Commonly Asked Questions
If ‘EFNE’ is coded as ‘CHLG’, then ‘LTNE’ will be coded as:
(a) TLLG (b) UMLG
(c) JVLG (d) VJ LG
(e) None of these
Ans. (c)
Explanation: Each letter of the word ‘EFNE’ is moving two places backward and forward alternatively as shown below:
So, by following the similar pattern, the code obtained for ‘LTNE’ is as follows:
So, the code for ‘LTNE’ is ‘JVLG’. Thus, option (c) is the correct.
In a certain coding language, the word ‘SHOWR’ is coded as ‘TGPVS’. How will ‘MINER’ be coded in that language?
(a) OHODS (b) DOHOS
(c) HOODS (d) DOOHS
(e) None of these
Ans. (a)
Explanation: In the mentioned coding language, each letter of the word ‘SHOWR’ has moved 1 place forward and one place backward alternately as shown in the figure given below:
So, by following the same pattern, the code obtained for ‘NINER’ is as follows:
So, the code for ‘NINER’ is ‘OHODS’. Thus, option (a) is the correct.
Coding-Decoding by Reversing Letters
In such problems, the 1st letter from right takes the 1st place from left, the 2nd letter from right takes the 2nd position from left, the 3rd letter from right takes the 3rd place from left and the process goes on till all the letters get arranged in this manner.
Example
If ‘ABCDE’ is coded as ‘EDCBA’, then ‘TGPMG’ will definitely be coded as ‘GMPGT’.
Explanation: ‘ABCDE’ is coded in reverse order as ‘EDCBA’
Similarly, ‘TGPMG’ will be coded by writing the letters in reverse order. Therefore, the code for ‘TGPMG’ will be ‘GMPGT’.
Example
KINDA’ is coded as ‘ADNIIC then ‘MINDL’ will definitely be coded as 'LDNIM'.
Explanation: KINDA’ is coded in reverse order as ‘ADNIK’.
In the same way, the code for ‘MINDL’ has been obtained by writing it in reverse order as ‘LDNIM’.
Commonly Asked Questions
If ‘NSCAIR’ is coded as ‘RIACSIST, then the code for ‘CREATE’ will be:
(a) AETERC (b) ETAERC
(c) ETAECR (d) TEAERC
(e) None of these
Ans. (b)
Explanation: Option (b) is correct because coding has been done by writing the letters of words in reverse order.
If ‘NOTA’ is coded as ‘ATON’, then ‘ROAST’ will be coded as………….
(a) TSARO (b) STAOR
(c) TSOAR (d) TSAOR
(e) None of these
Ans. (d)
Explanation: Option (d) is correct because here, the letters of given word ‘NOTA’ have been coded by writing them in reverse order. Following the same pattern, the code for ‘ROAST’ will be ‘TSAOR’.
If ‘POTI’ is coded as ‘ITOP’, then ‘LCAT’ is coded as:
(a) ACTL (b) CTAL
(c) ATCL (d) TACL
(e) None of these
Ans. (d)
Explanation: Option (d) is correct because here ‘POTI’ gets reversed as ‘ITOP’
Similarly, letters of ‘LCAT’ will get reversed as ‘TACL’.
Coding-Decoding Based on Numbers and Letters
In such problems, numerical code values are given to words and letter code values are given to numbers.
Example
If in a certain code language, ‘A’ is coded as ‘2’, ‘B’ is coded as ‘3’, ‘C’ is coded as ‘4s and so on, then code for ‘AECBGH’ will definitely be ‘264389’.
Explanation: In this case, letters are coded as shown below:
Now, by following the similar pattern, we get
Thus, the code for ‘AECBGH’ is ‘264389’.
Example
In a certain code, ‘3’ is coded as ‘P’, ‘4’ is coded as ‘R’, ‘5’ is coded as ‘D’, ‘6’ is coded as ‘T’ then the code for ‘3553643’ will definitely be ‘PDDPTRP’.
Explanation: Here, alphabetical code values are given for numbers. Therefore, the code for numbers will be as following:
Clearly, the code for ‘3553643’ is ‘PDDPTRP’.
Just see the following letter codes and find the code for ‘TRGPNZ’.
(a) 921687 (b) 453167
(c) 612527 (d) 126874
(e) None of these
Ans. (a)
Explanation: According to the given information,
So, the code for ‘TRGPNZ’ is ‘921687’. Thus, option (a) is the correct choice.
In a certain code language ‘2’ is coded as ‘L’ ‘4’ is coded as ‘D’, ‘6’ is coded as ‘W’, ‘5’ is coded as ‘N’. Then how will ‘LWNNDL be coded?
(a) 625542 (b) 545265
(c) 526542 (d) 265542
(e) None of these
Ans. (d)
Explanation: According to the given information,
So, the code for ‘LWNNDL’ is ‘265542’. Thus, option (d) is the correct choice.
Coding-Decoding Based on Letter Positions in Alphabet
In such problems, letters are coded on the basis of forward/backward alphabet sequence.
Example
If ‘AGB’ coded as ‘10’, then ‘DEE’ will definitely be coded as ‘14’
Explanation: The given code is the addition of the positions of letters in forward alphabetical sequence.
By following the same rule, the code for ‘DEE’ is 14 as shown below:
Example
If ‘B’ is coded as ‘25’, then ‘D’ will definitely be coded as ‘23’.
Explanation: Here, letters have been coded according to their positions in backward alphabetical order. In backward alphabetical order ‘B’ has ‘25’ position, in the same way ‘D’ has ‘23rd’ position.
If ‘HI’ is coded as ‘1’, then find the code for ‘DH’.
(a) 4 (b) 18
(c) 8 (d) 10
(e) None of these
Ans. (a)
Explanation: Option (a) is correct because the given code of ‘HI’ is the difference in the positions of ‘H’ and T in backward alphabetical sequence.
Let us see:
In the same manner, ‘DH’ will be coded as shown below:
So, the code for ‘DH’ is ‘4’. Thus option (A) is the correct choice.
If code for ‘FAG’ is ‘617’, then code for ‘CEA’:
(a) 351 (b) 361
(c) 135 (d) 316
(e) None of these
Ans. (a)
Explanation: Option (A) is correct because ‘F’, ‘A’ and ‘G’ have been replaced by their positions in forward alphabetical sequence.
Code for ‘FAG’: F A G
6 1 7
‘CEA’ will be coded in the same way.
Code for ‘CEA’: C E A
3 5 1
So, the code for ‘CEA’ is 351. Thus, option (a) is the correct choice.
Coding-Decoding Based on Words in a Chain
In such problems, more than one word make a sequence so that 1st word is the code of 2nd, 2nd word is the code of 3rd, 3rd word is the code of 4th and so on.
Example
If ‘Violet’ is called ‘Green’, ‘Green’ is called ‘Black’, ‘Black’ is called ‘White’, ‘White’ is called ‘Red’, then colour of grass will be ‘Black’
Explanation: Original colour ‘Grass’ = ‘Green’ = ‘Green’. In the given code ‘Green’ is called ‘Black’. Clearly, the colour of ‘Grass’ will be ‘Black’.
Example
If ‘Lion’ is called ‘Dog’, ‘Dog’ is called ‘Elephant’, ‘Elephant’ is called ‘Rat’, then ‘Rat’ will be heaviest among the given animals.
Explanation: As we know, that ‘Elephant’, is heavier than ‘Dog’ and ‘Lion’. Here, ‘Elephant’ is coded as ‘Rat’. Therefore, clearly, ‘Rat’ will be the heaviest.
Commonly Asked Questions
If ‘Chair’ is called ‘Table’, ‘Table’ is called ‘Pen’, ‘Pen’ is called ‘Sky’, then what do we sit on?
(a) Chair (b) Pen
(c) Sky (d) Table
(e) None of these
Ans. (d)
Explanation: Option (d) is correct because we ‘Sit’ on ‘Chair’ but here, ‘Chair’ is called ‘Table’ Therefore, clearly, we ‘Sit’ on ‘Table’.
If ‘Lion’ is called ‘Pen’, ‘Pen’ is called ‘Tiger’, ‘Tiger’, ‘Tiger’ is called ‘Book’, and ‘Book’ and ‘Book’ called ‘Rubber’ then we write with a ………..
(a) Book (b) Pen
(c) Lion (d) Tiger
(e) None of these
Ans. (d)
Explanation: Option (d) is correct because it is a well-known fact that we write with a ‘Pen’. But here ‘Pen’ is called ‘Tiger’. Therefore, clearly, in this case we write with a ‘Tiger’.
Summary
Coding can also be based on numbers.
You need to login to perform this action.
You will be redirected in
3 sec