What is mean by coding and decoding?
Hey dear students, today we are going to learn coding and decoding. Coding and decoding are an interesting topic to start studying for competitive tests with. It is simply a set of inquiries that are predicated on a few unspoken norms.
About Coding and decoding –
Simply put, encrypting a word or a string of numbers using a code or pattern that adheres to a predetermined set of principles is the act of coding.
Facts About Coding and Decoding –
It’s crucial to remember the places of each letter in the English alphabet because occasionally a word or sentence might be coded using the arrangement of the letters to create a certain pattern.
To Understand the Set and Position of Number And Letters –
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 |
Example – The code 1 stands for A, the code 2 for B, and so on.
Letters A through I
1, 2, 3, 4, 5, 6, 7, 8, and 9
The result is that the letters are given number codes to represent their positions in the English alphabet. i.e A = 1, B = 2…………, Z = 26.
Now let us see this with an example: –
1) CROW = 61
In this word first alphabet C is on the 3rd position in English alphabetical order. So, we will take C=3
Alphabet R is on 18th position in English alphabetical order. So, we will take R=18
Alphabet O is on 15th position in English alphabetical order. So, we will take O=15
Alphabet W is on 23rd position in English alphabetical order. So, we will take w=23
Now we will add all the numbers that is
3+18+15+23=59
But in the answer, we have 61, tomatch with answer we will add 2.
59+2=61
2) BIRD = 35
In this word first alphabet B is on the 2nd position in English alphabetical order. So, we will take B=2
Alphabet I is on 9th position in English alphabetical order. So, we will take I=9
Alphabet R is on 18th position in English alphabetical order. So, we will take R=18
Alphabet D is on 4th position in English alphabetical order. So, we will take D=4
Now we will add all the numbers that is
2+9+18+4=33
But in the answer we have 35 , to match with answer we will add 2.
33+2=35
3) NOSE = 55
Now like above twoexamples we will find out the code for NOSE
In this word first alphabet N is on the 14th position in English alphabetical order. So, we will take N=14
Alphabet O is on 15th position in English alphabetical order. So, we will take O=15
Alphabet S is on 19th position in English alphabetical order. So, we will take S=19
Alphabet E is on 5th position in English alphabetical order. So, we will take E=5
Now we will add all the numbers that is
14+15+19+5=53
But like above two examples, we will add 2.
53+2=55
Now here we find different type of coding
Two words are given with their code and we have to find out the code for third word by using some method from the given options
FISH = 36165
JUMP=7181013
GIRL=? Options a) 23284, b)46159 c)34491 d)52296
In this example first word FISH
F=3, I=6, S=16, H=5
But alphabet F is on 6th position in English alphabetical order.
So, to get the answer 3 we will subtract 3 from 6
6-3=3
Same way alphabet I is on 9TH position in English alphabetical order.
So, to get the answer 6 we will subtract 3 from 9
9-3=6
Again, alphabet S is on 19TH position in English alphabetical order.
So, to get the answer 16 we will subtract 3 from 19
19-3=16
Alphabet H is on 8TH position in English alphabetical order.
So, to get the answer 5 we will subtract 3 from 8
8-3=5
Now like above example we will find out the code for JUMP
Alphabet J is on 10th position in English alphabetical order.
So, we will subtract 3 from 10
10-3=7
Same way alphabet U is on 21ST position in English alphabetical order.
So, we will subtract 3 from 21
21-3=18
Again, alphabet M is on 13TH position in English alphabetical order.
So will subtract 3 from 13
13-3=10
Alphabet P is on 16TH position in English alphabetical order.
So, we will subtract 3 from 12
16-3=13
So, code will be 7181013
Same way like above example we will find out the code for GIRL
Alphabet G is on 7th position in English alphabetical order.
So, we will subtract 3 from 7
7-3=4
Same way alphabet I is on 9th position in English alphabetical order.
So, we will subtract 3 from 9
9-3=6
Again, alphabet R is on 13TH position in English alphabetical order.
So will subtract 3 from 18
18-3=15
Alphabet L is on 12TH position in English alphabetical order.
So, we will subtract 3 from 12
12-3=19
So, code will be 46159
So, in given answers option b) is the right answer