Reasoning
Coding-Decoding: Practice Questions with Answers
88 practice questions on Coding-Decoding, with answers; most also have an explanation or a worked solution. Try each one before you open its answer.
Read the lesson on this topic →
Page 1 / 2 Next →
-
Q.1
In a certain code language, "pen is good" is written as "ab cd ef", and "good is costly" is written as "ef cd gh". What is the code for "costly" in this language?
Show answer
Answer: gh
Solution:
- "pen", "is", "good" code to "ab", "cd", "ef" (in order) in the first sentence; "good", "is", "costly" code to "ef", "cd", "gh" (in order) in the second.
- "is" and "good" are the words common to both sentences, and "cd" and "ef" are the codes common to both coded sentences — so together, {is, good} = {cd, ef}.
- "costly" is the only word in the second sentence that does not appear in the first, so its code must be the only code in the second sentence that does not appear among the first sentence’s codes.
- That code is "gh".
-
Q.2
In a certain code language, CAT is written as DBU. How will DOG be written in that language?
Show answer
Answer: EPH
Solution:
- Compare each letter: C→D, A→B, T→U — every letter has shifted forward by exactly 1 place in the alphabet.
- Apply the same +1 shift to D, O, G: D→E, O→P, G→H.
-
Q.3
In a code, each letter of a word is replaced by the letter that is the same distance from the end of the alphabet as the original letter is from the start (A↔Z, B↔Y, C↔X, and so on). How will FLOWER be coded?
Show answer
Answer: UOLDVI
Solution:
- Position from the start: F=6, L=12, O=15, W=23, E=5, R=18.
- Mirror position from the end: position p maps to (27 − p) — so F(6)→21=U, L(12)→15=O, O(15)→12=L, W(23)→4=D, E(5)→22=V, R(18)→9=I.
- Putting the coded letters together in order: U, O, L, D, V, I.
-
Q.4
In a certain code, ANT is written as BPW. Find the pattern (don't assume a constant shift — check every letter), then code DOG using the same pattern.
Show answer
Answer: EQJ
Solution:
- A→B is +1. N→P is +2. T→W is +3. The shift is NOT constant — it increases by 1 for each successive letter in the word (1st letter +1, 2nd +2, 3rd +3).
- Apply the same pattern to DOG: D (1st, +1) = E. O (2nd, +2) = Q. G (3rd, +3) = J.
-
Q.5
Using the rule from the first worked example (CAT→DBU, a +1 shift), verify the answer EPH for DOG by decoding it back with a −1 shift.
Show answer
Answer: DOG (confirms the rule)
Solution:
- Apply −1 to each letter of EPH: E→D, P→O, H→G.
- This gives back DOG exactly, confirming the +1 shift rule was applied correctly both ways.
-
Q.6
In a certain code, CAT is written as UBD. Find the rule, then code DOG using the same rule.
Show answer
Answer: HPE
Solution:
- A constant shift doesn't fit directly (C→U, A→B, T→D don't share one amount). Try reversing the letters first: CAT reversed is TAC.
- Now shift each letter of TAC by +1: T→U, A→B, C→D, giving UBD — this matches.
- Apply the same rule to DOG: reversed is GOD. Shift each by +1: G→H, O→P, D→E.
-
Q.7
In a code, each letter is replaced by its position number in the English alphabet (A=1, B=2, … Z=26), separated by hyphens. If WATER is coded as 23-1-20-5-18, how will EARTH be coded?
Show answer
Answer: 5-1-18-20-8
Solution:
- Position numbers: E=5, A=1, R=18, T=20, H=8.
- Writing these in order, separated by hyphens: 5-1-18-20-8.
-
Q.8
In a certain code, DOG is written as HPE (reverse the letters, then shift each by +1). Using the same rule, code CAT.
-
Q.9
Using the A=1, B=2, … Z=26 rule, how will the word MIND be coded?
-
Q.10
In a certain code, BIG is written as CKJ. Find the pattern (the shift increases by one for each letter), then code CAT using the same pattern.
-
Q.11
If PEN is coded as QFO (a +1 shift), verify this by decoding QFO back with a −1 shift.
-
Q.12
Using the A=1, B=2, … Z=26 rule, how will the word BOAT be coded?
-
Q.13
Using the mirror rule from the worked examples (A↔Z, B↔Y, C↔X…), how will the word BRAIN be coded?
-
Q.14
Using the rule A=1, B=2, C=3, ... Z=26, how is GOLDEN coded (letters separated by hyphens)?
- A 7-15-12-4-5-14
- B 8-16-13-5-6-15
- C 14-5-4-12-15-7
- D 7-15-12-4-5-15
Show answer
Correct answer: (A) 7-15-12-4-5-14
Each letter is replaced by its position in the alphabet: G=7, O=15, L=12, D=4, E=5, N=14, giving 7-15-12-4-5-14.
-
Q.15
In a certain code, JUNGLE is written as PATMRK. Using the same rule, how is VICTORY written?
- A BOIZUXE
- B CPJAVYF
- C BOIZUEX
- D ANHYTWD
Show answer
Correct answer: (A) BOIZUXE
Every letter in JUNGLE->PATMRK is shifted forward by 6 places. Applying the same +6 shift to VICTORY gives BOIZUXE.
-
Q.16
In a certain code, PLATFORM is written as TPEXJSVQ. Using the same rule, how is BUILDING written?
- A FYMPHMRK
- B GZNQINSL
- C FYMPHMKR
- D EXLOGLQJ
Show answer
Correct answer: (A) FYMPHMRK
Every letter in PLATFORM->TPEXJSVQ is shifted forward by 4 places. Applying the same +4 shift to BUILDING gives FYMPHMRK.
-
Q.17
In a certain code, CASTLE is written as GEWXPI. Using the same rule, how is VILLAGE written?
- A ZMPPEKI
- B ANQQFLJ
- C YLOODJH
- D EROOZTV
Show answer
Correct answer: (A) ZMPPEKI
Each letter shifts forward by 4 in the alphabet (C→G, ...). Applying the same +4 shift to VILLAGE gives ZMPPEKI.
-
Q.18
Using the rule A=1, B=2, C=3, ... Z=26, how is HONEY coded (letters separated by hyphens)?
- A 8-15-14-5-25
- B 9-16-15-6-26
- C 25-5-14-15-8
- D 7-14-13-4-24
Show answer
Correct answer: (A) 8-15-14-5-25
Replacing each letter with its position in the alphabet: H=8, O=15, N=14, E=5, Y=25, giving 8-15-14-5-25.
-
Q.19
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), how is MARKET coded?
- A NZIPVG
- B GVPIZN
- C NBSLFU
- D OAJQWH
Show answer
Correct answer: (A) NZIPVG
Each letter is replaced by its mirror partner from the opposite end of the alphabet (A<->Z, B<->Y, ...), giving MARKET -> NZIPVG.
-
Q.20
Using the rule A=1, B=2, C=3, ... Z=26, how is JOURNEY coded (letters separated by hyphens)?
- A 10-15-21-18-14-5-25
- B 11-16-22-19-15-6-26
- C 9-14-20-17-13-4-24
- D 25-5-14-18-21-15-10
Show answer
Correct answer: (A) 10-15-21-18-14-5-25
Replacing each letter with its position in the alphabet gives 10-15-21-18-14-5-25.
-
Q.21
In a certain code, COMET is written as DQNGU, where letters in odd positions (1st, 3rd, 5th...) shift forward by 1 and letters in even positions (2nd, 4th, 6th...) shift forward by 2. Using the same rule, how is NEBULA written?
- A OGCWMC
- B OGCWMD
- C OGCXMC
- D OHCWMC
Show answer
Correct answer: (A) OGCWMC
Odd positions shift by +1 and even positions shift by +2. Applying this to NEBULA gives OGCWMC.
-
Q.22
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), how is WINTER coded?
- A DRMGVI
- B IVGMRD
- C XJOUFS
- D ESNHWJ
Show answer
Correct answer: (A) DRMGVI
Each letter is replaced by its mirror partner from the opposite end of the alphabet (A<->Z, B<->Y, ...), giving WINTER -> DRMGVI.
-
Q.23
In a certain code, BOOK is written as DQQM. Using the same rule, how will PAGE be coded?
- A RCIG
- B RBHF
- C QCIG
- D RCHG
Show answer
Correct answer: (A) RCIG
Every letter shifts forward by 2 (B->D, O->Q, O->Q, K->M). Applying +2 to PAGE: R, C, I, G.
-
Q.24
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), EMERALD is coded as VNVIZOW. How is SAPPHIRE coded?
- A HZKKSRIV
- B HZKKSRIW
- C HZKKSRVI
- D HZKKRSIV
Show answer
Correct answer: (A) HZKKSRIV
Each letter is replaced by its mirror partner in the alphabet (A<->Z, B<->Y, ...). Applying this to SAPPHIRE gives HZKKSRIV.
-
Q.25
In a certain code, MARKET is written as OCTMGV. Using the same rule, how is TRAFFIC written?
- A VTCHHKE
- B WUDIILF
- C USBGGJD
- D GIZUURX
Show answer
Correct answer: (A) VTCHHKE
Each letter shifts forward by 2 in the alphabet (M→O, ...). Applying the same +2 shift to TRAFFIC gives VTCHHKE.
-
Q.26
Using the rule A=1, B=2, C=3, ... Z=26, how is QUICK coded (letters separated by hyphens)?
- A 17-21-9-3-11
- B 18-22-10-4-12
- C 11-3-9-21-17
- D 16-20-8-2-10
Show answer
Correct answer: (A) 17-21-9-3-11
Replacing each letter with its position in the alphabet: Q=17, U=21, I=9, C=3, K=11, giving 17-21-9-3-11.
-
Q.27
In a certain code, GRAPE is written as KVETI. Using the same rule, how is LEMON written?
- A PIQSR
- B QJRTS
- C RKSUT
- D SLTVU
Show answer
Correct answer: (A) PIQSR
Each letter shifts forward by 4 in the alphabet (G→K, ...). Applying the same +4 shift to LEMON gives PIQSR.
-
Q.28
Using the rule A=1, B=2, C=3, ... Z=26, how is THUNDER coded (letters separated by hyphens)?
- A 20-8-21-14-4-5-18
- B 20-8-21-14-4-5-19
- C 20-9-21-14-4-5-18
- D 21-8-21-14-4-5-18
Show answer
Correct answer: (A) 20-8-21-14-4-5-18
Each letter is replaced by its position in the alphabet: T=20, H=8, U=21, N=14, D=4, E=5, R=18, giving 20-8-21-14-4-5-18.
-
Q.29
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), how is METEOR coded?
- A NVGVLI
- B NVGVLJ
- C NVGWLI
- D NUGVLI
Show answer
Correct answer: (A) NVGVLI
Each letter is replaced by its mirror partner in the alphabet; applying this to METEOR gives NVGVLI.
-
Q.30
Using the rule A=1, B=2, C=3, ... Z=26, how is PEACE coded (letters separated by hyphens)?
- A 16-5-1-3-5
- B 17-6-2-4-6
- C 5-3-1-5-16
- D 15-4-0-2-4
Show answer
Correct answer: (A) 16-5-1-3-5
Replacing each letter with its position in the alphabet: P=16, E=5, A=1, C=3, E=5, giving 16-5-1-3-5.
-
Q.31
In a certain code, CHAIR is written as HMFNW. Using the same rule, how is CHALK written?
- A HMFQP
- B INGRQ
- C JOHSR
- D KPITS
Show answer
Correct answer: (A) HMFQP
Each letter shifts forward by 5 in the alphabet (C→H, ...). Applying the same +5 shift to CHALK gives HMFQP.
-
Q.32
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), JOURNEY is coded as QLFIMVB. How is JASMINE coded?
- A QZHNRMV
- B VMRNHZQ
- C QZHNRMW
- D KBTNJOF
Show answer
Correct answer: (A) QZHNRMV
Each letter is replaced by its mirror partner in the alphabet (A<->Z, B<->Y, ...). Applying this to JASMINE gives QZHNRMV.
-
Q.33
In a certain code, APPLE is written as ETTPI. Using the same rule, how is MANGO written?
- A QERKS
- B RFSLT
- C SGTMU
- D THUNV
Show answer
Correct answer: (A) QERKS
Each letter shifts forward by 4 in the alphabet (A→E, ...). Applying the same +4 shift to MANGO gives QERKS.
-
Q.34
In a certain code, TRAIN is written as YWFNS. Using the same rule, how is GHOST written?
- A LMTXY
- B MNUYZ
- C NOVZA
- D OPWAB
Show answer
Correct answer: (A) LMTXY
Each letter shifts forward by 5 in the alphabet (T→Y, ...). Applying the same +5 shift to GHOST gives LMTXY.
-
Q.35
In a certain code, WATER is written as XBUFS. Using the same rule, how is STONE written?
- A TUPOF
- B UVQPG
- C VWRQH
- D WXSRI
Show answer
Correct answer: (A) TUPOF
Each letter shifts forward by 1 in the alphabet (W→X, ...). Applying the same +1 shift to STONE gives TUPOF.
-
Q.36
In a certain code, PLANT is written as UQFSY. Using the same rule, how is QUEEN written?
- A VZJJS
- B WAKKT
- C XBLLU
- D YCMMV
Show answer
Correct answer: (A) VZJJS
Each letter shifts forward by 5 in the alphabet (P→U, ...). Applying the same +5 shift to QUEEN gives VZJJS.
-
Q.37
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), LANTERN is coded as OZMGVIM. How is CRYSTAL coded?
- A XIBHGZO
- B XIBHGZP
- C XIBGHZO
- D XJBHGZO
Show answer
Correct answer: (A) XIBHGZO
Each letter is replaced by its mirror partner in the alphabet (A<->Z, B<->Y, ...). Applying this to CRYSTAL gives XIBHGZO.
-
Q.38
Using the rule A=1, B=2, C=3, ... Z=26, how is BRAVE coded (letters separated by hyphens)?
- A 2-18-1-22-5
- B 3-19-2-23-6
- C 5-22-1-18-2
- D 1-17-0-21-4
Show answer
Correct answer: (A) 2-18-1-22-5
Replacing each letter with its position in the alphabet: B=2, R=18, A=1, V=22, E=5, giving 2-18-1-22-5.
-
Q.39
In a certain code, BRIDGE is written as DTKFIG. Using the same rule, how is FOREST written?
- A HQTGUV
- B IRUHVW
- C GPSFTU
- D ULIVHG
Show answer
Correct answer: (A) HQTGUV
Each letter shifts forward by 2 in the alphabet (B→D, ...). Applying the same +2 shift to FOREST gives HQTGUV.
-
Q.40
In a certain code, RIVER is written as TKXGT. Using the same rule, how is OCEAN written?
- A QEGCP
- B RFHDQ
- C SGIER
- D THJFS
Show answer
Correct answer: (A) QEGCP
Each letter shifts forward by 2 in the alphabet (R→T, ...). Applying the same +2 shift to OCEAN gives QEGCP.
-
Q.41
In a certain code, GEYSER is written as IGAUGT. Using the same rule, how is AVALANCHE written?
- A CXCNCPEJG
- B CXCNCPEJH
- C CXCNCQEJG
- D CYCNCPEJG
Show answer
Correct answer: (A) CXCNCPEJG
In GEYSER->IGAUGT, each letter shifts forward by 2 places. Applying the same +2 shift to AVALANCHE gives CXCNCPEJG.
-
Q.42
In a certain code, CABINET is written as IGHOTKZ. Using the same rule, how is FESTIVAL written?
- A LKYZOBGR
- B MLZAPCHS
- C KJXYNAFQ
- D UVHGREZO
Show answer
Correct answer: (A) LKYZOBGR
Each letter shifts forward by 6 in the alphabet (C→I, ...). Applying the same +6 shift to FESTIVAL gives LKYZOBGR.
-
Q.43
Using the mirror-alphabet rule (A<->Z, B<->Y, C<->X, and so on), how is KITCHEN coded?
- A PRGXSVM
- B LJUDIFO
- C JHSBGDM
- D MVSXGRP
Show answer
Correct answer: (A) PRGXSVM
Each letter is replaced by its mirror partner in the alphabet (A<->Z, B<->Y, ...), giving PRGXSVM.
-
Q.44
Using the rule A=1, B=2, C=3, ... Z=26, how is FALCON coded (letters separated by hyphens)?
- A 6-1-12-3-15-14
- B 6-1-12-3-15-13
- C 6-1-13-3-15-14
- D 5-1-12-3-15-14
Show answer
Correct answer: (A) 6-1-12-3-15-14
Each letter is replaced by its position in the alphabet: F=6, A=1, L=12, C=3, O=15, N=14, giving 6-1-12-3-15-14.
-
Q.45
In a certain code language, CAT is written as DBU. How will DOG be written?
- A EPH
- B EQI
- C FQI
- D DPH
Show answer
Correct answer: (A) EPH
Every letter in CAT->DBU shifted +1. Applying the same shift to D, O, G: E, P, H.
-
Q.46
In a certain code, TUNDRA is written as VVPETB, where letters in odd positions (1st, 3rd, 5th...) shift forward by 2 and letters in even positions (2nd, 4th, 6th...) shift forward by 1. Using the same rule, how is PLATEAU written?
- A RMCUGBW
- B RMCUGBV
- C RMBUGBW
- D RLCUGBW
Show answer
Correct answer: (A) RMCUGBW
Odd-position letters shift by +2 and even-position letters shift by +1. Applying this to PLATEAU gives RMCUGBW.
-
Q.47
Using the rule A=1, B=2, C=3, ... Z=26, how is SILENT coded (letters separated by hyphens)?
- A 19-9-12-5-14-20
- B 20-10-13-6-15-21
- C 20-14-5-12-9-19
- D 19-9-12-5-14-21
Show answer
Correct answer: (A) 19-9-12-5-14-20
Each letter is replaced by its position in the alphabet: S=19, I=9, L=12, E=5, N=14, T=20, giving 19-9-12-5-14-20.
-
Q.48
In a certain code, CHICKEN is written as JOPJRLU. Using the same rule, how is WHISTLE written?
- A DOPZASL
- B EPQABTM
- C DOPZALS
- D CNOYZRK
Show answer
Correct answer: (A) DOPZASL
Every letter in CHICKEN->JOPJRLU is shifted forward by 7 places. Applying the same +7 shift to WHISTLE gives DOPZASL.
-
Q.49
In a certain code, DAWN is written as FBYO, where letters in odd positions (1st, 3rd...) shift forward by 2 and letters in even positions (2nd, 4th...) shift forward by 1. Using the same rule, how is TWILIGHT written?
- A VXKMKHJU
- B VXKMKHJV
- C VXKMKHIU
- D VYKMKHJU
Show answer
Correct answer: (A) VXKMKHJU
Odd positions shift by +2 and even positions shift by +1. Applying this to TWILIGHT gives VXKMKHJU.
-
Q.50
Using a reverse-alphabet code (A<->Z, B<->Y, C<->X...), how is FLOWER coded?
- A UOLDVI
- B ULOVDI
- C VOLDUI
- D UOLVDI
Show answer
Correct answer: (A) UOLDVI
Each position p maps to (27−p): F(6)->U(21), L(12)->O(15), O(15)->L(12), W(23)->D(4), E(5)->V(22), R(18)->I(9).
Page 1 / 2 Next →
How these questions were made
Written by Mahesh Srivastava, Founder of Pariksha Saathi. Published: 2026-10-01.
Authored by an AI assistant (Claude) - not reviewed by a subject-matter expert.