Coding–Decoding and Relationships
UGC NET Paper 1: letter-shift, reverse and number codes, sentence and substitution coding, operation coding, blood relations, family trees and coded relations.
- 16 min
On this page · 14 sections
Prerequisites
- Number Series and Letter Series: letter positions (A = 1 … Z = 26), EJOTY and the 27 rule for opposite letters are used throughout this page.
- Types of Reasoning: decoding a code from examples is induction; applying it to a new word is deduction.
The Hook: The Message on the Board
1. Coding–Decoding: The Method
Every coding question has the same three steps:
- Line up the word and its code, letter under letter (or word under word).
- Find the rule: compare positions, look for shifts, reversals or substitutions. Test it on every letter.
- Apply the rule to the new word, or reverse it to decode a code.
2. Types of Letter and Number Codes
Letter shifting (constant)
Each letter moves the same number of places.
| Word | M | A | N | G | O |
|---|---|---|---|---|---|
| Position | 13 | 1 | 14 | 7 | 15 |
| +1 | 14 | 2 | 15 | 8 | 16 |
| Code | N | B | O | H | P |
So MANGO → NBOHP, and by the same rule APPLE → BQQMF. Shifting past Z wraps round to A (Y + 3 = B).
Letter shifting (changing)
The shift changes from letter to letter, often +1, +2, +3 … or alternately + and −.
CAT → DCW: C + 1 = D, A + 2 = C, T + 3 = W. By the same rule, DOG → D + 1, O + 2, G + 3 = EQJ.
Opposite-letter (mirror) coding
Each letter is replaced by its opposite: the letter whose position adds with it to 27.
CAT → C (3) ↔ X (24), A (1) ↔ Z (26), T (20) ↔ G (7) = XZG. DOG → D (4) ↔ W (23), O (15) ↔ L (12), G (7) ↔ T (20) = WLT.
Reversal codes
The word is written backwards, sometimes combined with a shift.
PAPER → reversed REPAP → each letter +1 → SFQBQ. By the same rule, BOOK → KOOB → LPPC.
Number codes from letter positions
| Rule | Example | Apply to |
|---|---|---|
| Sum of positions | DOG = 4 + 15 + 7 = 26 | CAT = 3 + 1 + 20 = 24 |
| Positions written in order | BAD = 2 1 4 | FACE = 6 1 3 5 |
| Reverse positions | A = 26, B = 25 … | CAB = 24 26 25 |
| Sum × number of letters | AB = (1 + 2) × 2 = 6 | ACE = (1 + 3 + 5) × 3 = 27 |
Sentence (word) coding
Several sentences are coded in an unfamiliar “language”. Compare sentences two at a time: a word common to two sentences has the code common to both.
Substitution coding
Names of objects are swapped for one another, and the question asks for the coded name.
Operation (symbol) coding
Mathematical signs are swapped. Replace each sign first, then apply BODMAS.
3. Relationships: The Vocabulary
Blood-relation questions are solved by generations. Put yourself (the person whose relation is asked) at generation 0.
| Generation | Relations (from the point of view of “me”) |
|---|---|
| +2 | Grandfather, grandmother (father’s or mother’s parents) |
| +1 | Father, mother, uncles, aunts, father-in-law, mother-in-law |
| 0 | Me, brothers, sisters, cousins, husband / wife, brothers-in-law, sisters-in-law |
| −1 | Son, daughter, nephew, niece, son-in-law, daughter-in-law |
| −2 | Grandson, granddaughter |
Relations that are asked most
| Description | Relation |
|---|---|
| Father’s or mother’s brother | Uncle |
| Father’s or mother’s sister | Aunt |
| Uncle’s or aunt’s son or daughter | Cousin |
| Brother’s or sister’s son | Nephew |
| Brother’s or sister’s daughter | Niece |
| Wife’s or husband’s brother; sister’s husband | Brother-in-law |
| Wife’s or husband’s sister; brother’s wife | Sister-in-law |
| Wife’s or husband’s father | Father-in-law |
| Son’s wife | Daughter-in-law |
| Daughter’s husband | Son-in-law |
| Father’s father / mother’s father | Grandfather (paternal / maternal) |
| Son’s or daughter’s son | Grandson |
4. Drawing a Family Tree
Use a fixed set of symbols so that you never mix up gender or generation:
| Symbol | Meaning |
|---|---|
| + or a square | Male |
| − or a circle | Female |
| = (double line) | Married couple |
| │ (vertical line) | Parent above, child below (one generation) |
| — (single horizontal line) | Siblings, same generation |
graph TD
U["U (+)"] --- P["P (-)"]
P --> Q["Q (+)"]
Q --- S["S (-)"]
Q --> R["R (+)"]
Q --> T["T (-)"]“Pointing to a photograph” questions
These are sentences spoken by one person about another. Work from the end of the sentence backwards, replacing each phrase with a person.
Chain statements
5. Coded Relationships
Here relations are written with symbols, combining the two halves of this page.
Decode one symbol at a time, from left to right, writing each pair as a link in the tree. Then read the relation between the first and last person.
Memory Tricks
Don’t Confuse
| This | vs | That |
|---|---|---|
| Letter shift (+1): CAT → DBU | vs | Opposite letter: CAT → XZG |
| Coding (apply rule) | vs | Decoding (reverse the rule, steps in reverse order) |
| Substitution: answer with the coded name | vs | Sentence coding: answer with the code word |
| Nephew: brother’s or sister’s son | vs | Cousin: uncle’s or aunt’s child |
| Brother-in-law: wife’s brother or sister’s husband | vs | Son-in-law: daughter’s husband (one generation down) |
| Paternal (father’s side) | vs | Maternal (mother’s side) |
| “Child / sibling” (gender unknown) | vs | “Son / brother” (male) |
Common Mistakes
Practice
All questions below are original practice questions written in the UGC NET format. They are not previous-year questions.
Level 1: Foundation
- If CAT is coded as DBU, how is DOG coded?
- Your father’s sister’s son is your …?
- In opposite-letter coding, what is the code for B?
Answers
- EPH (each letter +1).
- Cousin.
- Y (\( 27 - 2 = 25 \)).
Level 2: Exam-style MCQs
Q1. (Practice) If PAPER is coded as SFQBQ, how is BOOK coded?
- (a) CPPL
- (b) LPPC
- (c) LQQC
- (d) KOOB
Answer and explanation
(b) LPPC. PAPER is reversed (REPAP) and each letter moved +1 (SFQBQ). BOOK → KOOB → LPPC.
Q2. (Practice) If in a code DOG = 26, using the sum of letter positions, what is the value of BIRD?
- (a) 31
- (b) 32
- (c) 33
- (d) 34
Answer and explanation
(c) 33. B (2) + I (9) + R (18) + D (4) = 33.
Q3. (Practice) In a certain code, “ki la pa” means “sun is bright”, “pa no ti” means “bright red rose” and “la ti mo” means “rose is beautiful”. What is the code for “red”?
- (a) pa
- (b) ti
- (c) no
- (d) mo
Answer and explanation
(c) no. pa = bright (sentences 1 and 2), ti = rose (sentences 2 and 3), so the remaining word of sentence 2, no, means red.
Q4. (Practice) If + means ×, − means +, × means ÷ and ÷ means −, what is the value of \( 8 + 4 - 12 \times 3 \div 2 \)?
- (a) 30
- (b) 32
- (c) 34
- (d) 38
Answer and explanation
(c) 34. The expression becomes \( 8 \times 4 + 12 \div 3 - 2 = 32 + 4 - 2 = 34 \).
Q5. (Practice) Pointing to a man, Rina said, “His mother is the only daughter of my mother.” How is Rina related to the man?
- (a) Sister
- (b) Aunt
- (c) Mother
- (d) Grandmother
Answer and explanation
(c) Mother. “The only daughter of my mother”, said by Rina, is Rina herself; so Rina is the man’s mother.
Q6. (Practice) A is the brother of B. B is the sister of C. C is the father of D. How is A related to D?
- (a) Father
- (b) Uncle
- (c) Grandfather
- (d) Cousin
Answer and explanation
(b) Uncle. A, B and C are siblings; A is male; C is D’s father; so A is D’s father’s brother.
Q7. (Practice) P # Q means P is the father of Q; P @ Q means P is the sister of Q; P & Q means P is the son of Q; P % Q means P is the wife of Q. What does M % N # R mean?
- (a) M is the sister of R
- (b) M is the mother of R
- (c) M is the grandmother of R
- (d) M is the daughter of R
Answer and explanation
(b). M is the wife of N, and N is the father of R, so M is R’s mother.
Level 3: Assertion–reason, match and sequence
For assertion–reason questions, use these options:
- (a) Both A and R are true, and R is the correct explanation of A
- (b) Both A and R are true, but R is not the correct explanation of A
- (c) A is true, but R is false
- (d) A is false, but R is true
Q1. (Practice) Assertion (A): Pointing to a girl, Arun (a boy) said, “She is the daughter of the only son of my father’s father.” The girl is Arun’s sister. Reason (R): The only son of Arun’s father’s father is Arun’s father.
Answer and explanation
(a). The only son of Arun’s paternal grandfather is Arun’s father; his daughter is Arun’s sister. R is exactly the step that makes A true.
Q2. (Practice) Assertion (A): If P is a sibling of Q and Q is the sister of R, then P is the sister of R. Reason (R): Two people who are siblings of the same person are siblings of each other.
Answer and explanation
(d). P’s gender is not given, so P may be R’s brother or sister: A is false. R is true (P and R are both siblings of Q).
Q3. (Practice) Match List I (description) with List II (relation).
| List I | List II |
|---|---|
| A. Brother’s daughter | I. Daughter-in-law |
| B. Wife’s brother | II. Aunt |
| C. Son’s wife | III. Niece |
| D. Mother’s sister | IV. Brother-in-law |
- (1) A-III, B-IV, C-I, D-II
- (2) A-III, B-I, C-IV, D-II
- (3) A-II, B-IV, C-I, D-III
- (4) A-I, B-IV, C-III, D-II
Answer and explanation
(1) A-III, B-IV, C-I, D-II.
Q4. (Practice) In the family of six on this page (U, P, Q, S, R, T), arrange the following from the oldest generation to the youngest: A. S B. T C. U
- (1) C, A, B
- (2) A, C, B
- (3) C, B, A
- (4) B, A, C
Answer and explanation
(1) C, A, B. U is in the grandparents’ generation, S in the parents’ generation (Q’s wife), and T in the children’s generation.
Q5. (Practice) Match List I (coding rule) with List II (code for CAB).
| List I | List II |
|---|---|
| A. Each letter +1 | I. XZY |
| B. Opposite letter | II. DBC |
| C. Positions written in order | III. 6 |
| D. Sum of positions | IV. 312 |
- (1) A-II, B-I, C-IV, D-III
- (2) A-I, B-II, C-IV, D-III
- (3) A-II, B-I, C-III, D-IV
- (4) A-II, B-IV, C-I, D-III
Answer and explanation
(1) A-II, B-I, C-IV, D-III. C, A, B are 3, 1, 2. +1 gives D, B, C; opposites are X (24), Z (26), Y (25); positions in order give 312; their sum is 6.
Quick Revision Table
| Item | Key point |
|---|---|
| Method | Line up → find rule (test every letter) → apply; decode by reversing steps in reverse order |
| Letter shift | Constant (+k) or changing (+1, +2, +3 …); wrap round after Z |
| Opposite letter | Positions add to 27 (A ↔ Z, M ↔ N) |
| Reversal | Code starts from the word’s last letter; often combined with a shift |
| Number codes | Sum of positions; positions in order; reverse positions (27 − p) |
| Sentence coding | Common word ↔ common code across two sentences |
| Substitution | Answer with the coded name |
| Operation coding | Replace signs first, then BODMAS |
| Generations | +2 grandparents, +1 parents, 0 self, −1 children, −2 grandchildren |
| In-laws | One marriage link: spouse’s sibling or sibling’s spouse |
| Family tree | + male, − female, = couple, vertical line for parent–child |
| Gender trap | Sibling / child / spouse do not fix gender |
Key Takeaways
What’s Next
- Fractions, Ratio, Percentage and Averages — the start of the arithmetic half of the unit
- Number Series and Letter Series — letter positions and patterns
- Types of Reasoning — induction and deduction behind decoding
- Paper 1 overview — how this unit fits the paper