CODING AND DECODING
WORKSHEET
Coding and decoding refer to the processes of transforming information or
messages from one form to another based on specific rules or algorithms. These
concepts are commonly used in computer programming, cryptography, and data
transmission.
The following are the important coding and decoding concepts:
1. Letter Coding
In letter coding, the letters in a word are replaced by other letters following a
specific pattern to form its code.
The pattern can involve various operations such as shifting the letters by a certain
number of positions, adding or subtracting a constant value, or following a
sequence of operations.
For Example:
In the given word 'FAUCET' coded as 'GBWEHW', we can observe the following
pattern:
F+1=G
A+1=B
U+2=W
C+2=E
E+3=H
T+3=W
Based on this pattern, we can apply the same operations to the word 'CODING' to
find its code:
C+1=D
O+1=P
D+2=F
I+2=K
N+3=Q
G+3=J
Therefore, the word 'CODING' will be coded as 'DPFKQJ'.
Opposite Letters
Reverse order=27- original order value
2. Number or Symbol Coding
Similar to letter coding, number or symbol coding involves replacing letters in a
word with numbers or symbols based on given codes. Each letter is assigned a
specific number or symbol, and the code for a word is derived by replacing its
letters accordingly.
For Example:
In the given word 'WORDS' coded as '3#51@' and 'SEAR' coded as '@9!5', we can
observe the following codes for individual letters:
W=3
O=#
R=5
D=1
S=@
E=9
A=!
Applying the same codes to the word 'DARE':
D=1
A=!
R=5
E=9
Therefore, the word 'DARE' will be coded as '1!59'.
3. Coding based on Substitution
In coding based on substitution, words in a sentence are replaced by other letters,
words, numbers, or symbols. Each word is substituted with a specific code or
pattern.
For Example:
Given the following codes:
"an endemic is disease" is coded as "pu bt ys ej"
"any disease is curable" is coded as "ar bt xw ej"
"any endemic is not epidemic" is coded as "ys ar mo bt hz"
To find the code for a specific word or decode a given code, we compare the given
sentences and identify common words and their corresponding codes.
For example:
"is" appears in all three sentences and its code is "bt".
"disease" appears in the first and second sentences with the code "ej".
"endemic" appears in the first and third sentences with the code "ys".
"any" appears in the second and third sentences with the code "ar".
Based on these comparisons, we can find the codes for other words:
"curable" appears only in the second sentence, so its code is "xw".
"epidemic" appears only in the third sentence, so its code is "mo".
Therefore, the answers to the given questions are:
The word "curable" is coded as "xw".
The word coded as "mo" is "epidemic".
QUESTIONS
Q1 If in a certain language, MADRAS is coded as NBESBT, how is BOMBAY
coded in that code?
A CPNCBX
B CPNCBZ
C CPOCBZ
D CQOCBZ
Q2 In certain language, CHAMPION is coded as HCMAIPNO, how is
NEGATIVE coded in that code?
A NEAGVEIT
B ENAGITEV
C MGAETVIE
D EGAITEVN
Q3. If EARTH is written as FCUXM in a certain code. How is MOON written in
that code?
Q4. If DELHI is written as EDMGJ in a certain code. How is NEPAL written in
that code?
Q5. If SYMBOL is written as NZTMPC is it a certain code? How is NUMBER
written in that code?
Q6. In a certain code, COMPUTER is written as PMOCRETU, how is DECIPHER
written in that code?
Q7. In a certain code, NEWYORK is written as 111, how is NEWJERSEY written
in that code?
Q8. In a certain code, HARYANA is written as 8197151, how is DELHI written in
that code?
Q9. In a certain code BOMB is written as 5745 and BAY is written as 529, how is
BOMBAY written in that code?
Q10 In certain code language,
‘Tom Kun Sud’ means “Dogs are barking’;
‘Kun Jo Mop’ means ‘Dogs and Horses’
‘Mut Tom Ko’ means ‘Donkeys are mad’.
Which word in that language means ‘barking’?
A Sud
B Kun
C Jo
D Tom
Q 11 In certain code language,
‘851’ means ‘good sweet fruit’;
‘783’ means ‘good red rose’
‘341’ means ‘rose and fruit’.
Which of the following digit stands for ‘sweet’ in that language?
A8
B5
C1
D3