Definition: In this type of test secret messages or words have to be deciphered or decoded. They are coded according to a definite pattern or rule which should be identified first. Then the same rule be applied to decipher another coded word or message.
Types of Coding-Decoding
- Letter coding
- Coding by Analogy
- Coding in Fictitious Language
- Coding by substitution
- Coding by shifting words
- Coding based on conditions
- Mathematical operation Based coding
1. LETTER CODING
(i) Coding by shifting letters
Example: In a certain code language the word METAL is coded as LDSZK. How will the word ZINC be written in that language?
M -1 = L
E -1 = D
T -1 = S
A -1 = Z
L – 1 = K
Z – 1 = Y
I -1 = H
N – 1= M
C -1 = B
(ii) Coding by rearranging letters
Example: In a certain code language the word NUMERICAL is written as LMUIREACN. How will the word PUBLISHED be written in that language?
N 1 L 9
U 2 M 3
M 3 U 2
E 4 I 6
R 5 R 5
I 6 E 4
C 7 A 8
A 8 C 7
L 9 N 1
P 1 D9
U 2 B3
B 3 U2
L 4 S6
S 6 L4
H 7 E8
E 8 H7
D 9 P1
2. Coding by Analogy
(i) Coding by shifting letters
Example: In a certain code language PEAR is written as RCCP and AUNT is written as CSPR. How is LAND written in that code?
Example: In a certain code BROTHER is written as $%53#4% and DREAM is written as 9%47*. How is THREAD written in that code?
3. CODING IN FICTITIOUS CANGUAGE
Example: In a certain code ‘nik ma de’ means ‘he was come’, ‘de lit pa’ means ‘come here fast’ and ‘ma la se’ means ‘she has gone’. What is the code for ‘he’ ?
Solution: We have,
nik ma de = he has come
de lit pa = come here fast
ma la se = she has gone
He code is ‘nik
CODING BY SUBSTITUTION
Example: White means black, black means red, red means blue, blue means yellow and yellow means grey, then which of the following represents the colour of clear sky?
Solution: Clearly, we know that, the actual colour of sky is blue, and as given blue means yellow. Hence, the colour of sky is yellow.
CODING BASED ON CONDITIONS
Example:Directions (1-3): Digits in the number given in each of the following questions are to be coded based on the codes and the condition given below:
(i) If both the first and the last digits of a number are odd numbers, they should be coded as ‘Z’.
(ii) If both the first and the last digits of a number are even numbers, they should be coded as ‘A’
Questions and Solutions:
Q.(1) 9 3 8 7 5 2
MATHEMATICAL OPERATION BASED CODING
Example: If the alphabets are assigned values such as A = 3, D = 6, G = 8, I = 2, L = 4, and T = 5 then what is the sum of values of all the alphabets in the word DIGITAL?
FAQs- Coding and Decoding
- Which Book is the best book to study Reasoning?
Ans. Students can study General Intelligence and Reasoning from SSC Reasoning
Book or SSC Reasoning eBook
2. What all exams does it cover?
Ans. Aspirants can prepare for all the SSC exams like CGL, CHSL, CPO and other
3. How to buy these books?
Ans. To buy these books or any other study material. Follow these simple steps
- Visit the adda247 store at store.adda247.com
- Choose the product you want to buy at the best price.
- Add the product to your cart by logging in.
- Proceed to checkout and make the payment.