Learn this topic first

Skip to the questions ↓

Read this, then start. Tap a topic to open or close it.

Coding and Decoding
Exam weightage: HighAbout 1-2 questions per placement paper. Seen most in Wipro, Cognizant, Accenture. All topics

If CAT is written as DBU, each letter moved one step forward. Coding questions hide a simple rule like that; your job is to find it and apply it.

The four common codes

Shift: every letter moves the same number of steps (CAT → DBU is +1). The shift can also change per letter (+1, +2, +3 ...).

Reverse: the word is written backwards, sometimes with a shift too.

Sentence codes ('Chinese' coding)

You get several sentences and their codes. Words common to two sentences share a common code. Compare sentences in pairs and cross out what matches.

Number codes and letter-number mixes

Some codes turn each letter into its position (CAB = 312), its reverse position (A = 26), or the square of its position.

Mixed codes: vowels become numbers and consonants become shifted letters. Check vowels and consonants separately.

Word substitution

'If sky is called sea, sea is called water, water is called air ... what do fish live in?' Fish live in water, and water is called AIR. Find the real answer first, then give its new name.

Worked exampleIf MOTHER is coded as NPUIFS, how is FATHER coded?
  1. M → N, O → P, T → U: each letter +1.Compare letter by letter.
  2. FATHER +1 = GBUIFS.