Skip to content

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 read
  • Updated
On this page · 14 sections
  1. Prerequisites
  2. The Hook: The Message on the Board
  3. 1. Coding–Decoding: The Method
  4. 2. Types of Letter and Number Codes
  5. 3. Relationships: The Vocabulary
  6. 4. Drawing a Family Tree
  7. 5. Coded Relationships
  8. Memory Tricks
  9. Don’t Confuse
  10. Common Mistakes
  11. Practice
  12. Quick Revision Table
  13. Key Takeaways
  14. What’s Next

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:

  1. Line up the word and its code, letter under letter (or word under word).
  2. Find the rule: compare positions, look for shifts, reversals or substitutions. Test it on every letter.
  3. 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.

WordMANGO
Position13114715
+114215816
CodeNBOHP

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

RuleExampleApply to
Sum of positionsDOG = 4 + 15 + 7 = 26CAT = 3 + 1 + 20 = 24
Positions written in orderBAD = 2 1 4FACE = 6 1 3 5
Reverse positionsA = 26, B = 25 …CAB = 24 26 25
Sum × number of lettersAB = (1 + 2) × 2 = 6ACE = (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.

GenerationRelations (from the point of view of “me”)
+2Grandfather, grandmother (father’s or mother’s parents)
+1Father, mother, uncles, aunts, father-in-law, mother-in-law
0Me, brothers, sisters, cousins, husband / wife, brothers-in-law, sisters-in-law
−1Son, daughter, nephew, niece, son-in-law, daughter-in-law
−2Grandson, granddaughter

Relations that are asked most

DescriptionRelation
Father’s or mother’s brotherUncle
Father’s or mother’s sisterAunt
Uncle’s or aunt’s son or daughterCousin
Brother’s or sister’s sonNephew
Brother’s or sister’s daughterNiece
Wife’s or husband’s brother; sister’s husbandBrother-in-law
Wife’s or husband’s sister; brother’s wifeSister-in-law
Wife’s or husband’s fatherFather-in-law
Son’s wifeDaughter-in-law
Daughter’s husbandSon-in-law
Father’s father / mother’s fatherGrandfather (paternal / maternal)
Son’s or daughter’s sonGrandson

4. Drawing a Family Tree

Use a fixed set of symbols so that you never mix up gender or generation:

SymbolMeaning
+ or a squareMale
− or a circleFemale
= (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

ThisvsThat
Letter shift (+1): CAT → DBUvsOpposite letter: CAT → XZG
Coding (apply rule)vsDecoding (reverse the rule, steps in reverse order)
Substitution: answer with the coded namevsSentence coding: answer with the code word
Nephew: brother’s or sister’s sonvsCousin: uncle’s or aunt’s child
Brother-in-law: wife’s brother or sister’s husbandvsSon-in-law: daughter’s husband (one generation down)
Paternal (father’s side)vsMaternal (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

  1. If CAT is coded as DBU, how is DOG coded?
  2. Your father’s sister’s son is your …?
  3. In opposite-letter coding, what is the code for B?
Answers
  1. EPH (each letter +1).
  2. Cousin.
  3. 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 IList II
A. Brother’s daughterI. Daughter-in-law
B. Wife’s brotherII. Aunt
C. Son’s wifeIII. Niece
D. Mother’s sisterIV. 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 IList II
A. Each letter +1I. XZY
B. Opposite letterII. DBC
C. Positions written in orderIII. 6
D. Sum of positionsIV. 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

ItemKey point
MethodLine up → find rule (test every letter) → apply; decode by reversing steps in reverse order
Letter shiftConstant (+k) or changing (+1, +2, +3 …); wrap round after Z
Opposite letterPositions add to 27 (A ↔ Z, M ↔ N)
ReversalCode starts from the word’s last letter; often combined with a shift
Number codesSum of positions; positions in order; reverse positions (27 − p)
Sentence codingCommon word ↔ common code across two sentences
SubstitutionAnswer with the coded name
Operation codingReplace signs first, then BODMAS
Generations+2 grandparents, +1 parents, 0 self, −1 children, −2 grandchildren
In-lawsOne marriage link: spouse’s sibling or sibling’s spouse
Family tree+ male, − female, = couple, vertical line for parent–child
Gender trapSibling / child / spouse do not fix gender

Key Takeaways

What’s Next