Saturday 10 May 2014

solve coding and decoding aptitude questions 2

Here Example No1
If MOBILE is coded as OQDKNG. How will you code TABLET.

Solution:

This question is similar to the previous one. Only the difference is that the alphabet is to two letters ahead.



M —–(N)——> O

O —–(P)——> Q

B —–(C)——> D

I —–(J)——> K

L —–(M)——> N

E —–(F)——> G



In the same way we have to code for TABLET



T —–(U)——> V

A —–(B)——> C

B —–(C)——> D

L —–(M)——> N

E —–(F)——> G

T —–(U)——> V



Thus TABLET should be coded as VCDNGV.


example 2
n certain code BRAIN is coded as CQBHO. How will you code TALENT?

Here the the question does not look simple. But when you write the letters in sequence it becomes simple one.

B —–>C

R<—– Q

A——>B

I<——H

N——>O

Here letters are shifted alternately one step forward and backward. Therefor in same code we can write code for talent as

T —–>U

A<—– Z

L——>M

E<——D

N——>O

T<——S

Thus we can code TALENT as UZMDOS


example no 3
If POOR is coded as ONNQ. How will you code RICH?

This question becomes simple to solve when you write the word and its code vertically in front of each other?

P <—–O

O<—– N

O<——N

R<——Q

We can easily decode the sequencing of alphabate in above code. Here each letter is shifted backward by one letter. Therefor in similar way we can write the code for RICH as follows

R <—–Q

I <—– H

C <——B

H<——G



Thus the code for RICH is QHBG.

0 comments:

Post a Comment