You are on page 1of 22

Coding(Encryption)

Decoding(Decryption)
Types:-
Type1:LetterCoding.
Type2:NumberCoding.
Type3:Mixedcoding
Type4:Mixednumbercoding
Type5:Decoding
Type6:SymbolsCoding
1.Letter coding
Aparticularletterstandsforanotherletter.
Ex 1: IfCOURSEiscodedasFRXUVH,howisRACEcodedas?
(A) ABHF
(B) UDFH
(C)DUHF
(D)WQYF
Answer: B
Logic: Inthis,eachletterismovedthreelettersforward.
So,thecodeforthegivenwordRACEisUDFH.

Ex 2: Inacertaincode,MONKEYiswrittenasXDJMNL.HowisTIGERwritten
inthatcode?
(A) QDFHS
(B) FHSQD
(C)DQSFH
(D)STFDQ
Answer: A
Logic: Theletterofthewordarewritteninareverseorderandtheneach
letterismovedonestepbackwardtoobtainthecode.
Ex 3: IfBOMBAYiswrittenasMYMYMY,howwillTAMILNADUbewrittenin
thatcode?
(A) YMNYMNYMN
(B) ABHABHABH
(C)ABCDABCDA
(D)MNUMNUMNU
Answer: D
Logic: Thelettersatthethirdandsixthplacesarerepeatedthricetocode
BOMBAYasMYMYMY.Similarly,thelettersatthethird,sixthandninth
placesarerepeatedthricetocodeTAMILNADUasMNUMNUMNU.

Ex 4: Inacertaincode,TOGETHERiswrittenasRQEGRJCT.In
thesamecode,whatwillPAROLEbewrittenas?
(A) PQJGNC
(B) CNGJPQ
(C)NCPQJG
(D)NCJQPG
Answer: C
Logic: Thelettersatoddpositionsareeachmovedtwostepsbackward
andthoseatevenpositionsareeachmovedtwostepsforwardtoobtainthe
correspondinglettersofthecode.
Ex 5: Ifinacertainlanguage,COUNSELiscodedasBITIRAK,
howisGUIDANCEwritteninthatcode?
(A)OHYFZJBB
(B)OFHBJZYB
(C)BJZYBHFO
(D)FOHYZJBB
Answer: D
Logic:
Thelettersatoddpositionsareeachmovedonestepbackward,
whilethelettersatevenpositionsarerespectivelymovedsix,
five,four,three,twoandsoonstepsbackwardtoobtainthe
correspondinglettersofthecode.
2.Number coding
Inthis,eitherthenumeralsareassignedtothealphabetsofthegivencode
orthealphabetsareassignedtothenumerals.Thecandidatehastoobserve
thedirectionofsolvingtheproblem.
Ex 1: Ifinacertaincode,TWENTYiswrittenas863985andELEVENis
writtenas323039,howisTWELVEwritteninthatcode?
(A) 203863
(B) 368302
(C) 863203
(D)320368
Answer: C
Logic:Thealphabetsarecodedasshown:
TWENYLV
8639520
So,InTWELVE,Tiscodedas8,
Was6,
Eas3,
Las2,
Vas0.
Thus,thecodeforTWELVEis863203.

Ex 2: Inacertaincode,ifLOGICiscodedas1512201824,howis
PEARLcodedas?
(A)112226915
(B)113331596
(C)112226571
(D)113336734
Answer:A
Logic:Eachlettersreversealphabetnumber.So,PEARLiscoded
as112226915.

Ex 3: IfAPPLEiswrittenas24991320,howisLOVELYcodedas?
(A)13101310130
(B)13101320130
(C)13101350140
(D)13101340120
Answer:B
Logic: 2issubtractedfromthereversealphabetnumbersofthe
correspondingletters.Hence,LOVELYiscodedas13101320130.
Ex 4: IfENGLANDiswrittenas1234526andFRANCEiswritten
as785291,howisGREECEcoded?
(A)117186
(B)381191
(C)131871
(D)112235
Answer: B
Logic: Answeris381171.
Thealphabetsarecodedas,
ENGLADFRC
123456789
So,Giscodedas3,
Ras8,
Eas1and
Cas9.
Thus,GREECEiscodedas381191.
3. Mixed coding
Inthis,threeormorecompletemessagesaregiven.Theproceduretosolve
isanytwomessagesbearingthecommonwordarepickedup.Proceeding
similarly,allpossiblecombinationsoftwomessagesareanalyzed.

Ex 1: Iftee see pee meansdrink fruit juice,


see kee lee meansjuice is sweet,
lee ree mee meanshe is intelligent,
thenwhichwordmeanssweet?
(A) See
(B) Pee
(C)Tee
(D)Kee
Answer: D
Logic: Comparingfirsttwo,seeiscommonandjuiceiscommon.So,see
standsforjuice.Comparingnexttwo,leestandsforis.So,sweetstands
forkee.
Ex 2: Ifwhiteiscalledblue,blueiscalledred,rediscalledyellow,yellowis
calledgreen,greeniscalledblack,blackiscalledvioletandvioletiscalled
orange,whatwouldbethecolorofhumanblood?
(A) Blue
(B) Yellow
(C)Black
(D)Violet
Answer: B
Logic: Thecolorofthehumanbloodis'red'butred'iscalled
'yellow'.So,thecolorofhumanbloodis'yellow'.

Ex 3: Iftheanimalswhichcanwalkarecalledswimmers,animalswhocrawl
arecalledflying,thoselivinginwaterarecalledsnakesandthosewhichfly
intheskyarecalledhunters,thenwhatwillalizardbecalled?
(A) Flying
(B) Swimmer
(C)Snakes
(D)Hunters
Answer:A
Logic: Clearly,alizardcrawlsandtheanimalsthatcrawlarecalled'flying'.
So,'lizard'iscalled'flying'.
Ex 4: Inacertaincodelanguage,'coltipmot'means'singingis
appreciable,'motbajmin'means'dancingisgood'and'tipnopbaj'means
'singinganddancing',then,whichofthefollowingmeans'good'inthat
codelanguage?
(A) Mot
(B) Bai
(C)Min
(D)Nop
Answer: C

Logic:
Inthefirstandsecondstatements,thecommoncodewordis'mot'andthe
commonwordis'is'.So,'mot'means'is'.
Inthesecondandthirdstatements,thecommoncodewordis'baj'andthe
commonwordis'dancing'.So,'baj'means'dancing'.
Thus,inthesecondstatements,'mint'means'good'.
4. Mixed number coding
Itisthesameasmixedcodingbutinsteadofalphabeticalcodes
numericalcodesaregiven.

Ex 1: Inacertaincodelanguage,'851'means'goodsweetfruit,'783
means'goodredrose'and'341'means'roseandfruit'.Whichofthe
followingdigitsstandsfor'sweet'inthatlanguage?
(A)2
(B)3
(C)4
(D)5
Answer: D
Logic:
Inthefirstandsecondstatements,thecommoncodedigitis'8'andthe
commonwordis'good'.So,'8'means'good'.
Inthefirstandthirdstatements,thecommoncodedigitis'1'andthe
commonwordis'fruit'.So,'1'means'fruit'.
Thus,inthefirststatement,'5'means'sweet'.

Ex 2: Inacertaincode,2iscodedasP,3asN,9asQ,5asR,4asA and
6asB.Howis599423codedinthatcode?
(A) QRQPAN
(B) RQQAPN
(C) AQPQRN
(D) QRANPA
Answer: B
Logic: Clearlyasgiven5iscodedasR,9asQ,4asA,2asP, 3asN.So,
599423iscodedasRQQAPN.
Ex 3: Inacertaincodelanguage,'123'means'hotfilteredcoffee','356
means'veryhotday'and'589'means'dayandnight'.Whichdigitstandsfor
'very'?
(A) 3
(B) 6
(C) 9
(D) 7
Answer: B
Logic: Inthefirstandsecondstatements,thecommoncodedigitis'3'andthe
commonwordis'hot'.So,'3'means'hot'.
Inthesecondandthirdstatements,thecommoncodedigit'5'andthe
commonwordis'day'.So,'5'means'day'.
Thus,inthesecondstatements,'6'means'very'.
Ex 4: Inacertaincode,'256'means'youaregood';'637'means'weare
bad'and'358'means'goodandbad'.Whichofthefollowingrepresents'and
inthatcode?
(A) 5
(B) 6
(C)7
(D)8
Answer: D

Logic: Inthefirstandthirdstatements,thecommoncodedigitis'5'and
thecommonwordis'good.So,'5'means'good'.
Inthesecondandthirdstatements,thecommoncodedigitis'3'andthe
commonwordis'bad'.So,'3'means'bad'.
Thus,inthirdstatement,'8'means'and'.
5. Decoding
Conversionofthecodednumbersoralphabetstotheoriginaltext.The
proceduretodecodeisthesameascoding.Thatis,findthepatternthatis
followedinthegivenseries.

Ex 1: IfinacertainlanguageNZTUJGZiscodedasMYSTIFY,howis
OFNFTJTcodedinthatlanguage?

(A) REGULAR

(B) MORNING

(C)MINDFUL

(D)NEMESIS

Answer: D

Logic: EachletterinthewordNZTUJGZismovedonestepbackwardto
obtainthecorrespondingletterofthecode.

So,inFNFTJT,FwillbecodedasN,NasE,FasMandsoon.Thus,thecode
becomesNEMESIS.
Ex 2: Inacertaincode,SQHOOKDiswrittenasTRIPPLE.
HowCHRONRDiswritteninthatcode?
(A)GLITTER

(B)TROUSER

(C)JANUARY

(D)DISPOSE

ANSWER: D
Logic:
Eachletterinthewordismovedonestepforwardtoobtain
thecorrespondingletterofthecode.
Ex 3: IfHUMJTKiscodedasFRIEND,howisEDRIRLwritteninthat
code?
(A)SUNDAY

(B)MONDAY

(C)BEAUTY

(D)CANDLE

ANSWER: D

Logic:
Thefirst,second,third,fourth,fifthandsixthlettersofthewordare
respectivelymovedtwo,three,four,five,sixandsevensteps
backwardtoobtainthecorrespondinglettersofthecode.
Ex 4: InacertaincodelanguageTUTDNESiswrittenasSTUDENT.
HowwillSUORECSbewritteninthatcodelanguage?
(A)BATTERY
(B)FASHION
(C)SOURCES
(D)LIMITED

Answer: C

Logic:
Thereare7lettersintheword.
Themiddleletterhasbeenrightintact.
Thefirstandthelastlettersofthewordhaveinterchangedtheir
position.
Similarly,thesecondandthethirdlettersandthefifthandsixth
lettershaveinterchangedtheirposition.
Ex 2: ZA5,Y4B,XC6,W3D,_____
(A)E7V

(B)V2E

(C)VE5

(D)VE7

Answer: D

Logic: Therearethreeseriestolookforhere.Thefirstlettersare
alphabeticalinreverse:Z,Y,X,W,V.Thesecondlettersarein
alphabeticalorder,beginningwithA.Thenumberseriesisas
follows:5,4,6,3,7.
6.SYMBOLS CODING
Inthistypeofcoding,symbolslike!,@,#andsoonwillbeused
forcodingthenumbersoralphabets.
Ex 1: InacertaincodeTOMEiswrittenas@$*?andAREis
writtenas?HowcanREMOTEbewritteninthatcode?

(A)?*$@?

(B)*$@??

(C)?*$@?

(D)*$?@?

Answer: C
Logic: FromthedatawehaveT@,O$,M*,E?andA,R,E?

Hence,REMOTEiscodedas?*$@?
Ex 3: DEF,DEF2,DE2F2,_____,D2E2F3

(A)DEF3
(B)D3EF3
(C)D2E3F
(D)D2E2F2

Answer: D

Logic: Inthisseries,thelettersremainthesameasDEF.
Thesubscriptnumbersfollowthisseriesas,
111,112,122,222,223,233,333,...
Ex 4: InacertaincodePALMiscodedas!@?$andARMis
writtenas@*$,howcanALARMbewritteninthatcode?

A. @!@?$
B. @$?!@
C. ?@@!$
D. NONEOFTHESE

Answer: D

Logic: Thecorrespondingsymbolsforthelettersinthegiven
questionisnotmatching.

You might also like