Coding & Decoding
Coding & Decoding
What is Coding-Decoding ?
Reverse of alphabets
TYPES OF
CODING
ARTIFICIAL
LETTER NUMBER SUBSTITUTION
LANGUAGE
CODING CODING CODING
CODING
Letter Coding
C A T
D B U
Example
V A R A N A S I
+1 +2 +3 +4 +5 +6 +7 +8 ↓
W C U E S G Z Q
K O L K A T A
+1 +2 +3 +4 +5 +6 +7 ↓
L Q O O F Z H
Example
Solution. (c)
Q P Q V M B S
-1 -1 -1 -1 -1 -1 -1
P O P U L A R
G B N P V T
-1 -1 -1 -1 -1 -1
F A M O U S
Number Coding
The principle of coding with numbers is similar to that
of coding with letters except the use of digits.
If in a certain language, E is coded as 2, H is coded as 1, N is
coded as 7, P is codec as 5, A is coded as 0, T is coded as 8 and
L is coded as 3, how is ELEPHANT coded in that language ?
(a) 23251078 (b) 32210587 (c) 23527801 (d) 22315078
Solution. (a) E = 2, L = 3, E = 2, P = 5, H = 1, A = 0, N = 7, T = 8
Hence, only (a) is valid.
In a certain language, 1 is coded as C, 6 is coded as E, 0 is
coded as L, 2 is coded as G and 3 is coded as O. How is
1300626 coded in that language ?
(a) OLCGELE (b) EGEOLEL (c) COLLGEE (d) COLLEGE
Solution. (d) 1 = C, 3 = 0, 0 = L 0 = L, 6 = E, 2 = G, 6 = E
Hence, only (d) is valid.
SUBSTITUTION CODING
Solution:
In the second and third statements, the common word is ‘gives’ and
the common code word is ‘wop’.
So,’wop’ means ‘gives’. Hence the answer is (d).
Ex. If ‘tee see pee’ means
‘ Drink fruit juice’,
Solution:
In the first and second statements, the common word is ‘hard’ and the
common code digit is ‘8’. So,’8’ means ‘hard’.
In the first and third statements, the common word is ‘study’ and the
common code digit is ‘6’. So, ‘6’ means ‘study’.
Thus using first statement,’7’ means ‘very’. Hence the answer is(c).
Ex. If in a certain code language,
Answer: B
Answer: C
LETTER CODING QUESTIONS
In a certain code, GAMESMAN is written as AGMEMSAN.
How would DISCLOSE be written in that code?
(A) IDSCOLSE (B) IDCSOLES (C) IDSCOLES (D) IDSCLOSE [Dec 2008]
Answer: A
First two characters interchange the position and Next two
characters same again
Next 2 characters interchange the position and Next 2 is same
again.
Therefore DI SC LO SE decode as ID SC OL SE
In a certain code, CLOCK is written as KCOLC. How would STEPS
be written in that code?
(A) SPEST (B) SPSET
(C) SPETS (D) SEPTS [June 2009]
Answer: C
Write Given Code in Reverse order
STEPS ---> SPETS.
LETTER CODING QUESTIONS
Answer: B
Answer: A [-2]
LETTER CODING QUESTIONS
Answer: A [+3]
If STREAMERS is coded as UVTGALDQR, then KNOWLEDGE will be
coded as
(A) MQPYLCDFD (B) MPQYLDCFD (C) PMYQLDFCD
(D) YMQPLDDFC [Dec 2014]
Answer: B
LETTER CODING QUESTIONS
Answer: C [-3]
Answer: A
LETTER CODING QUESTIONS
In certain coding method, the word QUESTION is encoded as
DOMESTIC. In this coding, what is the code word for the word
RESPONSE? [June 2014]
(A) OMESUCEM (B) OMESICSM (C) OMESICEM (D) OMESISCM
Answer: C
QUESTION
DOMESTIC
R ES P ON SE
O ME S IC EM
In a particular code, HOSPITALS is coded as HSOLSAPTI.
The code of BIOLOGICALS will be
(A) BLICOALIOSG (B) BOLGICAILOS
(C) SBLAOILOBCG (D) BSILOALCOIG [August 2016]
Answer: D
In a certain coding language, 'AEIOU' is written as 'TNHDZ'.
Using the same coding language, 'BFJPV' will be written as
A) AUOIEA B) BAEIOU C) CCGKQW D) DWQKGC [DEC 2019]
1. Character - 1
2. First position is replaced with last position.
ANSWER IS A
Number coding
Answer: B
From above codes, B=2, L=4, O=1, D=3, R=0, U=6, S=7,T=8
Answer: D
Number coding
Answer: B
According to the position number of alphabets
A =1, P=16, T=20
Hence, PAT=16+1+20 = 37.
Answer: A
Number coding
Answer: A
If A is coded as C, M as I, N as P, S as O, I as A, P as
N, E as M, O as E and C as S, then the code of
COMPANIES will be
(A) SPEINMOAC (B) NCPSEIOMA (C) SMOPIEACH
(D) SEINCPAMO [Jan 2017]
Answer: D
Number coding
Answer: D
A G A R T A L A is written in code as 1 4 1 6 8 1 7 1
Therefore A G R A = 1 4 6 1
SUBSTITUTION CODING
If water is called food, food is called tree, tree is called Earth
and Earth is called world, which of the following grows a fruit?
a) Water b) Tree c) Earth d) World [JUNE 2010]
If green means red, red means yellow, yellow means blue, blue
means orange and orange means green, what is the colour of
clear sky?
Answer: C
Answer: A
ARTIFICIAL LANGUAGE CODING
In a certain code, ‘nee tim see’ means ‘how are you’; ‘ble nee
see’ means ‘where are you’, what is the code for ‘where’?