Coding Decoding
Coding Decoding
Introduction
Types of Coding:
1) Letter Coding
A given set of letters is represented in a different set of letters.
Skipping letter in the forward or backward direction
Writing in reverse order – in part or in whole
Codes may be position of those letters in Alphabet
Ex – Word RUN is coded as SVO. How is LAY written ?
R+1+S
U+1=V
N+1=O
Ex – DELHI is written as CDKGH.. How is SUSPECT written ?
D–1=C
E – 1 = D and so on
Ex – COURAGE is written as UOCREGA. How will JOURNAL be written ?
When COURAGE is coded, letters are interchanged.
Closer look tell us the odd positions are interchanged.
Position 1 changes to 3 and vice versa
Position 5 changes to 7 and vice versa.
Introduction
Types of Coding:
2) Number Coding
Numerical code values are assigned to a word
Alphabetical code letters are assigned to the numbers.
Ex – If D =4 and COVER = 63, then BASIS = ?
Ex – If 15789 is written as XTZAL and 2346 is written as NPSU, how is 23549 written ?
3) Substitution Coding
Different Objects are assigned to code names.
Sample Questions
1. In a code A = 26…..Z =1 and DENT = 65. Find the Code for LOTUS
a) 87
b) 68
c) 57
d) 48
2. NOTE is written as OPUF. Similarly, TASK is written as UBTL. How will CORE be written ?
a) BNRE
b) PSFD
c) DSFP
d) DPSF
3. If ZIP = 198 and ZAP = 246, then how will you code VIP ?
i) 172
j) 222
k) 888
l) 990