Thursday 19 March 2015

Coding Decoding

Solved Examples


Q1. If HARISH is coded as ITJSBI, then how would REEMA be coded?
ANS: In this case, the immediate next letter in the alphabet is taken and the code is written in the reverse order i.e. the code for the letter H is I and it is in the end, the code for A is B and it is second from the end, similarly the code for R is S and it is third from the end and so on. While coding the word REEMA, the code for R will be S and it would be written in the end, similarly the codes for E, E, M and A would be F, F, N and B respectively. And the final code would be BNFFS. This type is called as+1 and reverse order.


Q2. If CALENDAR = QZCMDKZB, then NEELAM = ?
ANS: This type is just a bit different from the previous type. This is called – 1 and reverse order. Now C – 1 = B and it is the last letter in the code, code for A, L, E are Z, K and D respectively and these are written as the second, third and fourth letter respectively from the end of the word in the code. Similarly the code for the word NEELAM would be LZKDDM.


Q3. If the code for the number 84219643 is 24139864,then what is the code for 97658256 ?
ANS: In this case, the eight-lettered number has been broken into two parts i.e. 84219643, the underlined part is 1st part starting with 2 and ending with 6,the second part is 4384, starting with 4 and ending with 4. So while making code 1 number from each part is taken. 2 is taken from part 1, then 4 is taken from part 2, 1 is taken from part 1, 3 is taken from part 2 and so on.


Q4. If SHIVANI = 574, then GANESH =  ?
ANS: in this case, EJOTY of all the words has been added,multiplied by the number of letters in that word. SHIVANI => S = 19, H = 8, I = 9, V = 22, A = 1, N = 14, I = 9 => 19 + 8 + 9 + 22 + 1 + 14 + 9 = 82 × 7 ( .: there are 7 letters in the word SHIVANI), Similarly while making code for GANESH => 7 + 1+ 14 + 5 + 19 + 8 = 54 × 6 ( .: there are six letters) = 324 would be the code.


Q5. If ACTIVITY = 24315137, Then ELEPHANT = ?
ANS: It involves the position of alphabet in the alphabetic order + 1. If it becomes a single digit number,  write it and if it is a two digit number then add it to get a single digit number as in question no. 13. Similarly ELEPHANT => E = 5 + 1 = 6, L = 12 +1 = 13 => 1 + 3 = 4, E = 5 + 1 =6, P = 16 + 1 = 17 => 1 + 7 = 8 and so on. The code will become 64689263.


Q6. If EVITCDNIV = HZNZJLWSG, then ABDICTION = ?
ANS: In this question, firstly + 2, then + 3, +4, +5, +6,+7 and so on. Similarly when the code for the word ABDICTION is made firstly+2, then +3, +4, +5, + 6 and so on. The code will finally become DFIOJBNYY.



Q7. If RELATION = 95312965, then MANAGEMENT = ?
ANS: In this case, the code for every letter is its position in the alphabetic order, represented as a single digit. If its position is already a single number, then it is simply assigned as the code,and if there are two digits in its position, then those digits are added to get the code for that letter. In this case R is the 18th letter so itscode would be 1 + 8 = 9, E is the 5th letter so its code is 5, L isthe 12th letter so its code is 1 + 2 = 3, A is 1 and so on.Similarly when the code for the word MANAGEMENT is made. M is 13, 1 + 3 = 4. A= 1, N is 14 1 + 4 = 5, A = 1, G = 7 and so on. The final code for the word MANAGEMENT would be 4151754552




Q8. If PERSON = THTWRP, then ENGINE = ?
ANS: Here P + 4 = T, E + 3 = H, R + 2 = T, Then S + 4 =W, O + 3 = R, N + 2 = R. The method for coding is +4, +3, +2. The code forENGINE will become E + 4 = I, N + 3 = Q, G + 2 = I, I + 4 = M, N + 3= Q and E +2 = G. Therefore the code is IQIMQG.



 Q9. If SILVER = HROEVI, then MEENAKSHI = ?
ANS : In this case, if the letter is at ‘nth’ position from the beginning then the letter at ‘nth’ position from the end is written. This can always be checked, whenever the sum of the number and its respective code is 27. Then the method applied for the coding would be this only. As in SILVER, S is 19 and its code H is 8 and the sum is 27. I is 9 and its code R is 18 and sum is 27. While coding MEENAKSHI, the same method coding will be applied. M is 13, so what should be added in 13 to make it 27 ( that is14), write the 14th letter which is N as the code for M. Similarly E is 5, find 22nd letter to make sum as 27 ( V is 22ndletter) and that is the code and so on. The code for the word MEENAKSHI will be NVVMZPSR.




Q10. If A = E, B = F, C = G and H = L, how will the word COME BACK be coded in this code?
ANS: Here in this case, it can be checked that 4thletter has been made the code for every letter, in the same way, you can the 4thletter as the code for every letter i.e. COME BACK would become as C + 4 = G, O will be S and the code would become – GSQI FEGO.

* Sometimes the complete pattern of numbers/letters codes are given for coding and based upon that you have to code the words/numbers.






No comments:

Post a Comment