Loading…
Loading…
Charting your lesson…
Opening your lesson…
Coding-Decoding
Lesson 5 of 5
6 steps•about 11 min•12 flashcards
Step 1/ 61 min
Coding-decoding hands you words and their coded forms and asks you to crack the cipher. It looks intimidating but almost always reduces to a letter shift, a reversal, or a positional substitution — and a systematic compare-the-pairs approach finds it fast.
What this topic tests: deducing letter-shift, reversal, symbol-substitution and number-coding rules from examples.
Step 2/ 61 min
When given several word–code pairs, line them up and find which code word shares letters with which. Common-letter matching reveals the mapping without brute force. For "if PALE is coded as 2134, then LEAP is?", map each letter to its digit first (P=2, A=1, L=3, E=4), then read LEAP = 3421.
Step 3/ 61 min
In a code, "TEACH" is written as "WHDFK". Find the code for "LEARN".
Compare letters: T→W (+3), E→H (+3), A→D (+3), C→F (+3), H→K (+3) — a uniform +3 shift. Apply to LEARN: L→O, E→H, A→D, R→U, N→Q = OHDUQ.
Step 4/ 61 min
TCS NQT, Infosys, Wipro, Cognizant, Capgemini reasoning; a near-certain 2–3 question block in placement tests.
Step 5/ 61 min
Assuming the shift is uniform without verifying on a second letter, or ignoring wrap-around (Z + 1 = A). Always confirm the rule on all given letters before applying it to the target word.
Step 6/ 6· Worked examples1 min
Problem
In a certain code language, CAT is written as DBU. How is DOG written in the same code?
Try it on paper first.
Recall
Keep this
Coding-decoding scrambles words by a rule (letter shifts, substitutions, number codes) and asks you to encode or decode another word. It is a placement staple (TCS, Cognizant) rewarding a quick eye for the transformation.
| Code type | Clue |
|---|---|
| +k shift | consistent forward jump per letter |
| Reverse | word spelled backward |
| Position sum | letters replaced by numbers |
| Substitution | words swapped by a key |
Example: if CAT is coded as DBU (+1), then DOG becomes EPH (D→E, O→P, G→H). ✓
Expected exam pattern: encode/decode a new word, "if X is coded as Y, what is Z", and substitution-language questions. 1 to 2 questions, ~45 seconds.
Quick recap: align code with original to find the shift; test forward/backward and A=1…26 or reverse; handle wrap-around and substitutions.
You've read 0 of 6 steps
Now lock it in — questions straight after reading are what make it stick.