Coding-Decoding

Letter, number and word codes.

45 solved questions · 15 easy · 20 medium · 10 hard

Take a 10-question quiz on Coding-Decoding, no login

Shortcuts & formulas

  • Letter shift codes: find the shift from the first letter of the example (compare positions, wrapping Z to A).
  • Opposite letter of the letter at position n is at 27 - n (A-Z, B-Y, ..., M-N).
  • Learn positions: A=1, E=5, J=10, O=15, T=20, Z=26; these anchors make counting quick.
  • If shifts differ position by position, write the shift for every letter before applying it.
  • Sentence codes: the code common to two statements stands for the word common to them.
  • Operator substitution: rewrite with the real operators first, then apply BODMAS.
  • For decoding, apply the reverse of the rule (undo the shift; undo steps in opposite order).

Solved examples

Try each one first, then open the answer and the step-by-step solution.

Easy questions

Q1.

In a certain code language, STONE is written as TUPOF. How will TABLE be written in that code?

  1. AUBCMF
  2. BSZAKD
  3. CVCDNG
  4. DWDEOH
Show answer & solution

Answer: A. UBCMF

Solution

S -> T: each letter moves 1 place(s) forward. Apply to TABLE: T->U, A->B, B->C, L->M, E->F Answer: UBCMF

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q2.

In a certain code language, SUGAR is written as UWICT. How will RIVER be written in that code?

  1. APGTCP
  2. BULYHU
  3. CSJWFS
  4. DTKXGT
Show answer & solution

Answer: D. TKXGT

Solution

S -> U: each letter moves 2 place(s) forward. Apply to RIVER: R->T, I->K, V->X, E->G, R->T Answer: TKXGT

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q3.

In a certain code language, LIGHT is written as OLJKW. How will MANGO be written in that code?

  1. AJXKDL
  2. BQERKS
  3. CPDQJR
  4. DOCPIQ
Show answer & solution

Answer: C. PDQJR

Solution

L -> O: each letter moves 3 place(s) forward. Apply to MANGO: M->P, A->D, N->Q, G->J, O->R Answer: PDQJR

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q4.

In a certain code language, CLOUD is written as BKNTC. How will WORLD be written in that code?

  1. AXPSME
  2. BVNQKC
  3. CWORLD
  4. DUMPJB
Show answer & solution

Answer: B. VNQKC

Solution

C -> B: each letter moves 1 place(s) backward. Apply to WORLD: W->V, O->N, R->Q, L->K, D->C Answer: VNQKC

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q5.

In a certain code language, MONEY is written as KMLCW. How will FLAME be written in that code?

  1. AHNCOG
  2. BDJYKC
  3. CEKZLD
  4. DCIXJB
Show answer & solution

Answer: B. DJYKC

Solution

M -> K: each letter moves 2 place(s) backward. Apply to FLAME: F->D, L->J, A->Y, M->K, E->C Answer: DJYKC

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q6.

In a certain code language, QUEEN is written as UYIIR. How will BRAIN be written in that code?

  1. AFVEMR
  2. BXNWEJ
  3. CGWFNS
  4. DEUDLQ
Show answer & solution

Answer: A. FVEMR

Solution

Q -> U: each letter moves 4 place(s) forward. Apply to BRAIN: B->F, R->V, A->E, I->M, N->R Answer: FVEMR

Shortcut: Compare only the first letter of the example to find the shift, then apply it.

Q7.

If each letter of the word is replaced by its opposite letter in the English alphabet (A<->Z, B<->Y, ...), how will PHONE be written?

  1. ACUBAR
  2. BVMLSK
  3. CQIPOF
  4. DKSLMV
Show answer & solution

Answer: D. KSLMV

Solution

Opposite letter = 27 - position (A=1 ... Z=26). P(16)->K(11), H(8)->S(19), O(15)->L(12), N(14)->M(13), E(5)->V(22) Answer: KSLMV

Shortcut: Pairs add up to 27: A-Z, B-Y, C-X, ... M-N.

Q8.

If each letter of the word is replaced by its opposite letter in the English alphabet (A<->Z, B<->Y, ...), how will TIGER be written?

  1. AGVTRE
  2. BIVTRG
  3. CGRTVI
  4. DUJHFS
Show answer & solution

Answer: C. GRTVI

Solution

Opposite letter = 27 - position (A=1 ... Z=26). T(20)->G(7), I(9)->R(18), G(7)->T(20), E(5)->V(22), R(18)->I(9) Answer: GRTVI

Shortcut: Pairs add up to 27: A-Z, B-Y, C-X, ... M-N.

Q9.

If A=1, B=2, C=3, ..., Z=26, what is the sum of the values of the letters in the word BAD?

  1. A7
  2. B8
  3. C5
  4. D10
Show answer & solution

Answer: A. 7

Solution

B=2, A=1, D=4 Sum = 2+1+4 = 7 Answer: 7

Q10.

If A=1, B=2, C=3, ..., Z=26, what is the sum of the values of the letters in the word FACE?

  1. A16
  2. B13
  3. C18
  4. D15
Show answer & solution

Answer: D. 15

Solution

F=6, A=1, C=3, E=5 Sum = 6+1+3+5 = 15 Answer: 15

Q11.

If A=1, B=2, ..., Z=26 and each letter is written as its number (one after another), how is BEAD written?

  1. A4152
  2. B3625
  3. C2514
  4. D1403
Show answer & solution

Answer: C. 2514

Solution

B=2, E=5, A=1, D=4 Write them together: 2514 Answer: 2514

Q12.

If A=1, B=2, ..., Z=26 and each letter is written as its number (one after another), how is CAGE written?

  1. A5713
  2. B3175
  3. C4286
  4. D2064
Show answer & solution

Answer: B. 3175

Solution

C=3, A=1, G=7, E=5 Write them together: 3175 Answer: 3175

Q13.

If A=1, B=2, ..., Z=26 and each letter is written as its number (one after another), how is DEAF written?

  1. A6154
  2. B4516
  3. C5627
  4. D3405
Show answer & solution

Answer: B. 4516

Solution

D=4, E=5, A=1, F=6 Write them together: 4516 Answer: 4516

Q14.

In a certain code, SMART is written as TNBSU. Which word is written as IPVTF in that code?

  1. AHOUSE
  2. BJQWUG
  3. CIPVTF
  4. DGNTRD
Show answer & solution

Answer: A. HOUSE

Solution

S -> T: shift of +1. To decode IPVTF, apply -1 to each letter: I->H, P->O, V->U, T->S, F->E Answer: HOUSE

Q15.

In a certain code, TIGER is written as RGECP. Which word is written as PGTCP in that code?

  1. ANERAN
  2. BPGTCP
  3. CSJWFS
  4. DRIVER
Show answer & solution

Answer: D. RIVER

Solution

T -> R: shift of -2. To decode PGTCP, apply +2 to each letter: P->R, G->I, T->V, C->E, P->R Answer: RIVER

Medium questions

Q16.

If each letter of the word is replaced by its opposite letter in the English alphabet (A<->Z, B<->Y, ...), how will PLANT be written?

  1. ACYNAG
  2. BGMZOK
  3. CKOZMG
  4. DQMBOU
Show answer & solution

Answer: C. KOZMG

Solution

Opposite letter = 27 - position (A=1 ... Z=26). P(16)->K(11), L(12)->O(15), A(1)->Z(26), N(14)->M(13), T(20)->G(7) Answer: KOZMG

Shortcut: Pairs add up to 27: A-Z, B-Y, C-X, ... M-N.

Q17.

If each letter of the word is replaced by its opposite letter in the English alphabet (A<->Z, B<->Y, ...), how will NORTH be written?

  1. AABEGU
  2. BMLIGS
  3. CSGILM
  4. DOPSUI
Show answer & solution

Answer: B. MLIGS

Solution

Opposite letter = 27 - position (A=1 ... Z=26). N(14)->M(13), O(15)->L(12), R(18)->I(9), T(20)->G(7), H(8)->S(19) Answer: MLIGS

Shortcut: Pairs add up to 27: A-Z, B-Y, C-X, ... M-N.

Q18.

If A=1, B=2, C=3, ..., Z=26, what is the sum of the values of the letters in the word CHAIR?

  1. A40
  2. B37
  3. C42
  4. D39
Show answer & solution

Answer: D. 39

Solution

C=3, H=8, A=1, I=9, R=18 Sum = 3+8+1+9+18 = 39 Answer: 39

Q19.

If A=1, B=2, C=3, ..., Z=26, what is the sum of the values of the letters in the word TRAIN?

  1. A63
  2. B60
  3. C62
  4. D65
Show answer & solution

Answer: C. 62

Solution

T=20, R=18, A=1, I=9, N=14 Sum = 20+18+1+9+14 = 62 Answer: 62

Q20.

In a certain code, the letters of a word are first written in reverse order and then each letter is moved 1 place(s) forward in the alphabet. How is OCEAN coded?

  1. APDFBO
  2. BOBFDP
  3. CNAECO
  4. DMZDBN
Show answer & solution

Answer: B. OBFDP

Solution

Reverse OCEAN: NAECO Shift each letter by +1: OBFDP Answer: OBFDP

Q21.

In a certain code, the letters of a word are first written in reverse order and then each letter is moved 2 place(s) forward in the alphabet. How is PAPER coded?

  1. ATGRCR
  2. BRCRGT
  3. CREPAP
  4. DPCNYN
Show answer & solution

Answer: A. TGRCR

Solution

Reverse PAPER: REPAP Shift each letter by +2: TGRCR Answer: TGRCR

Q22.

In a certain code, the letters of a word are first written in reverse order and then each letter is moved 1 place(s) backward in the alphabet. How is CHAIR coded?

  1. AQHZGB
  2. BBGZHQ
  3. CRIAHC
  4. DSJBID
Show answer & solution

Answer: A. QHZGB

Solution

Reverse CHAIR: RIAHC Shift each letter by -1: QHZGB Answer: QHZGB

Q23.

In a certain code, the letters of a word are first written in reverse order and then each letter is moved 3 place(s) forward in the alphabet. How is BREAD coded?

  1. AEUHDG
  2. BDAERB
  3. CAXBOY
  4. DGDHUE
Show answer & solution

Answer: D. GDHUE

Solution

Reverse BREAD: DAERB Shift each letter by +3: GDHUE Answer: GDHUE

Q24.

In a certain code, the 1st, 3rd, 5th ... letters of a word move 1 place(s) forward and the 2nd, 4th ... letters move 1 place(s) backward. How is HOUSE coded?

  1. AINVRF
  2. BGPTTD
  3. CIPVTF
  4. DGNTRD
Show answer & solution

Answer: A. INVRF

Solution

Odd positions +1, even positions -1: H->I, O->N, U->V, S->R, E->F Answer: INVRF

Q25.

In a certain code, the 1st, 3rd, 5th ... letters of a word move 2 place(s) forward and the 2nd, 4th ... letters move 1 place(s) backward. How is SMART coded?

  1. AROZTS
  2. BUOCTV
  3. CRLZQS
  4. DULCQV
Show answer & solution

Answer: D. ULCQV

Solution

Odd positions +2, even positions -1: S->U, M->L, A->C, R->Q, T->V Answer: ULCQV

Q26.

In a certain code, the 1st, 3rd, 5th ... letters of a word move 1 place(s) forward and the 2nd, 4th ... letters move 2 place(s) backward. How is TRAIN coded?

  1. ARSYJL
  2. BUSBJO
  3. CUPBGO
  4. DRPYGL
Show answer & solution

Answer: C. UPBGO

Solution

Odd positions +1, even positions -2: T->U, R->P, A->B, I->G, N->O Answer: UPBGO

Q27.

In a certain code, the 1st, 3rd, 5th ... letters of a word move 3 place(s) forward and the 2nd, 4th ... letters move 2 place(s) backward. How is GRAPE coded?

  1. AEUYSC
  2. BJUDSH
  3. CJPDNH
  4. DEPYNC
Show answer & solution

Answer: C. JPDNH

Solution

Odd positions +3, even positions -2: G->J, R->P, A->D, P->N, E->H Answer: JPDNH

Q28.

In a certain code language: 1. 'vi ka hi' means 'sweet fresh apple' 2. 'pe vi fo' means 'sweet tasty milk' 3. 'hi fo na' means 'fresh tasty hot' What is the code for 'sweet'?

  1. Ahi
  2. Bvi
  3. Cka
  4. Dfo
Show answer & solution

Answer: B. vi

Solution

Statements 1 and 2 have the word 'sweet' in common, and the only code common to both is 'vi'. So 'sweet' = 'vi'. Answer: vi

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q29.

In a certain code language: 1. 'bu mo ru' means 'red big ball' 2. 'du ru lo' means 'red blue small' 3. 'lo bu hi' means 'big blue book' What does 'bu' stand for?

  1. Abig
  2. Bred
  3. Cball
  4. Dblue
Show answer & solution

Answer: A. big

Solution

The code 'bu' appears in statements 1 and 3. The only word common to those two statements is 'big'. So 'bu' = 'big'. Answer: big

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q30.

In a certain code language: 1. 'ga ze ye' means 'cat dog pen' 2. 'na ye ru' means 'cat green cold' 3. 'du ga na' means 'dog green tea' What is the code for 'green'?

  1. Aye
  2. Bga
  3. Cze
  4. Dna
Show answer & solution

Answer: D. na

Solution

Statements 2 and 3 have the word 'green' in common, and the only code common to both is 'na'. So 'green' = 'na'. Answer: na

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q31.

If '+' means '−', '−' means '+', '×' means '÷', '÷' means '×', then find the value of 2 − 8 ÷ 7.

  1. A58
  2. B70
  3. C59
  4. D62
Show answer & solution

Answer: A. 58

Solution

Replace the symbols as per the code: 2 − 8 ÷ 7 = 2 + 8 × 7 Apply BODMAS (division and multiplication first, then addition and subtraction): = 58 Answer: 58

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q32.

If '+' means '÷', '−' means '×', '×' means '+', '÷' means '−', then find the value of 10 ÷ 3 × 9.

  1. A16
  2. B30
  3. C18
  4. D20
Show answer & solution

Answer: A. 16

Solution

Replace the symbols as per the code: 10 ÷ 3 × 9 = 10 − 3 + 9 Apply BODMAS (division and multiplication first, then addition and subtraction): = 16 Answer: 16

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q33.

If '+' means '+', '−' means '÷', '×' means '×', '÷' means '−', then find the value of 3 + 3 × 5 ÷ 2.

  1. A28
  2. B19
  3. C20
  4. D16
Show answer & solution

Answer: D. 16

Solution

Replace the symbols as per the code: 3 + 3 × 5 ÷ 2 = 3 + 3 × 5 − 2 Apply BODMAS (division and multiplication first, then addition and subtraction): = 16 Answer: 16

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q34.

In a certain code, PLANT is written as SODQW. Which word is written as SDSHU in that code?

  1. AVGVKX
  2. BSDSHU
  3. CPAPER
  4. DQBQFS
Show answer & solution

Answer: C. PAPER

Solution

P -> S: shift of +3. To decode SDSHU, apply -3 to each letter: S->P, D->A, S->P, H->E, U->R Answer: PAPER

Q35.

In a certain code, SUGAR is written as RTFZQ. Which word is written as FQZOD in that code?

  1. AEPYNC
  2. BFQZOD
  3. CGRAPE
  4. DHSBQF
Show answer & solution

Answer: C. GRAPE

Solution

S -> R: shift of -1. To decode FQZOD, apply +1 to each letter: F->G, Q->R, Z->A, O->P, D->E Answer: GRAPE

Hard questions

Q36.

In a certain code language: 1. 'pe du bu' means 'day bright sweet' 2. 'pe vi fo' means 'day red book' 3. 'ga bu vi' means 'bright red hot' What does 'pe' stand for?

  1. Abright
  2. Bsweet
  3. Cred
  4. Dday
Show answer & solution

Answer: D. day

Solution

The code 'pe' appears in statements 1 and 2. The only word common to those two statements is 'day'. So 'pe' = 'day'. Answer: day

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q37.

In a certain code language: 1. 'sa hi du' means 'milk tea cold' 2. 'sa mo na' means 'milk fresh apple' 3. 'mo hi ye' means 'tea fresh big' What is the code for 'tea'?

  1. Asa
  2. Bdu
  3. Chi
  4. Dmo
Show answer & solution

Answer: C. hi

Solution

Statements 1 and 3 have the word 'tea' in common, and the only code common to both is 'hi'. So 'tea' = 'hi'. Answer: hi

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q38.

In a certain code language: 1. 'ti du sa' means 'small dog bright' 2. 'na du pe' means 'small tasty pen' 3. 'hi ti na' means 'dog tasty blue' What does 'na' stand for?

  1. Asmall
  2. Btasty
  3. Cdog
  4. Dbright
Show answer & solution

Answer: B. tasty

Solution

The code 'na' appears in statements 2 and 3. The only word common to those two statements is 'tasty'. So 'na' = 'tasty'. Answer: tasty

Shortcut: Find the code common to the two statements that contain the word; that is its code.

Q39.

If '+' means '−', '−' means '×', '×' means '+', '÷' means '÷', then find the value of 10 − 8 + 10 × 12.

  1. A122
  2. B85
  3. C82
  4. D87
Show answer & solution

Answer: C. 82

Solution

Replace the symbols as per the code: 10 − 8 + 10 × 12 = 10 × 8 − 10 + 12 Apply BODMAS (division and multiplication first, then addition and subtraction): = 82 Answer: 82

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q40.

If '+' means '−', '−' means '+', '×' means '÷', '÷' means '×', then find the value of 4 − 8 + 3 × 3.

  1. A5
  2. B11
  3. C3
  4. D12
Show answer & solution

Answer: B. 11

Solution

Replace the symbols as per the code: 4 − 8 + 3 × 3 = 4 + 8 − 3 ÷ 3 Apply BODMAS (division and multiplication first, then addition and subtraction): = 11 Answer: 11

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q41.

If '+' means '×', '−' means '÷', '×' means '+', '÷' means '−', then find the value of 12 − 12 × 7 ÷ 2 × 2.

  1. A-72
  2. B8
  3. C10
  4. D14
Show answer & solution

Answer: B. 8

Solution

Replace the symbols as per the code: 12 − 12 × 7 ÷ 2 × 2 = 12 ÷ 12 + 7 − 2 + 2 Apply BODMAS (division and multiplication first, then addition and subtraction): = 8 Answer: 8

Shortcut: Rewrite the expression with the real operators first, then solve using BODMAS.

Q42.

In a certain code, TABLE is written as UCEPJ. Following the same rule, how is CHAIR written?

  1. ADIBJS
  2. BDJDMW
  3. CHLDKS
  4. DEKENX
Show answer & solution

Answer: B. DJDMW

Solution

Compare TABLE with UCEPJ: shifts are +1, +2, +3, +4, +5. The shift changes by +1 at each position, starting at +1. Apply to CHAIR: C(+1)->D, H(+2)->J, A(+3)->D, I(+4)->M, R(+5)->W Answer: DJDMW

Q43.

In a certain code, STONE is written as UWSSK. Following the same rule, how is OCEAN written?

  1. AQFIFT
  2. BQEGCP
  3. CUHIDP
  4. DRGJGU
Show answer & solution

Answer: A. QFIFT

Solution

Compare STONE with UWSSK: shifts are +2, +3, +4, +5, +6. The shift changes by +1 at each position, starting at +2. Apply to OCEAN: O(+2)->Q, C(+3)->F, E(+4)->I, A(+5)->F, N(+6)->T Answer: QFIFT

Q44.

In a certain code, PHONE is written as QKTUN. Following the same rule, how is LIGHT written?

  1. AMJHIU
  2. BUPLKU
  3. CNMMPD
  4. DMLLOC
Show answer & solution

Answer: D. MLLOC

Solution

Compare PHONE with QKTUN: shifts are +1, +3, +5, +7, +9. The shift changes by +2 at each position, starting at +1. Apply to LIGHT: L(+1)->M, I(+3)->L, G(+5)->L, H(+7)->O, T(+9)->C Answer: MLLOC

Q45.

In a certain code, NORTH is written as QQSTG. Following the same rule, how is BREAD written?

  1. AEUHDG
  2. BARFCG
  3. CFUGBD
  4. DETFAC
Show answer & solution

Answer: D. ETFAC

Solution

Compare NORTH with QQSTG: shifts are +3, +2, +1, +0, -1. The shift changes by -1 at each position, starting at +3. Apply to BREAD: B(+3)->E, R(+2)->T, E(+1)->F, A(+0)->A, D(-1)->C Answer: ETFAC

Ready to test yourself? 10 fresh Coding-Decoding questions, timed, with solutions at the end.

Start the quiz

Related topics

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free