0
0

Substitutional Coding

Introduction

Substitutional Coding என்பது coding-decoding கேள்விகளில் மிக அதிகமாக தற்காலிகமான logic-ஐப் பயிற்றுவிக்கும் ஒரு pattern ஆகும். இங்கு, எழுத்துகள் அல்லது எண்ணுகளைப் பதிலாக மாற்றுவதற்குப் பதிலாக, முழு சொற்கள் அல்லது frases-கள் மற்ற சொற்கள் அல்லது வாக்கியங்கள் மூலம் கொடுக்கப்பட்ட rule-ஏற்படுத்தி மாற்றப்படுகின்றன. முக்கிய சவால் substitution chain-ஐ சீராகப் படித்தும் ஒவ்வொரு replacement നിര്‍ദ്ദേശத்தையும் கவனமாக விசாரணை செய்து decode செய்வதாகும்.

Pattern: Substitutional Coding

Pattern

இந்த pattern-ல், ஒரு வார்த்தை கொடுக்கப்பட்ட statement அல்லது rule படி மற்றொன்றால் மாற்றப்படும் (substitute செய்யப்படும்). ஒரு term எவ்வாறு மற்றொன்றாக map ஆகிறது என்பதை படிப்படியாய் பின்தொடர்வதே logic.

உதாரணமாக சொல்லப்படக்கூடிய rules: “If ‘blue’ means ‘red’, and ‘red’ means ‘green’, then what is the color of the sky?” முக்கிய கருத்து: substitution chain-ஐ பின்பற்றுங்கள் যতক্ষণும் உண்மையான அர்த்தத்தைக் கிடைக்கும் வரை.

Step-by-Step Example

Question

“black” என்றால் “white” என்று பொருள், “white” என்றால் “green” என்று பொருள், மற்றும் “green” என்றால் “red” என்று பொருள் எனில், பால் (milk)-யின் நிறம் என்ன?

Options:
A) Black
B) White
C) Green
D) Red

Solution

  1. Step 1: பால்-இன் உண்மையான நிறத்தை கண்டறியுங்கள்

    பொதுவாக, பால் என்பது white ஆகும்.
  2. Step 2: substitution chain-ஐ பயன்படுத்துங்கள்

    கேள்வி கூறுவதுப்படி “white” → “green”.
  3. Step 3: இறுதி குறியீட்டை நிர்ணயிக்கவும்

    ஆகையால், கொடுக்கப்பட்ட code-இல் பால் (உண்மையில் white) இப்போது green ஆகக் குறிப்பிடப்படும்.
  4. Final Answer:

    Green → Option C
  5. Quick Check:

    “white” → “green” என்றால் பால் → “green” ✅

Quick Variations

1. பல நிலை substitution chains (உதா: A→B, B→C).

2. பொருள் மாற்றங்கள் வேறுபட்ட வகைகளுக்கு (உதா: எண்ணுகள் colors-க்கு map ஆகுவது).

3. reverse logic (அசல் term என்னவென decode செய்கிறது).

4. position அல்லது பொருள் வகை அடிப்படையிலான conditional substitutions.

Trick to Always Use

  • Step 1: அனைத்து substitution mappings-ஐ தெளிவாக ஒரு பட்டியலாக அல்லது அட்டவணையாக எழுதுங்கள்.
  • Step 2: உண்மையான அர்த்தத்திலிருந்து ஆரம்பித்து ஒவ்வொரு mapping-ஐ சீராகஎடுத்துச் செல்லுங்கள்.
  • Step 3: direction-ஐ அதேவிதமாகப் பின்பற்றுங்கள் - reverse செய்து விடாதீர்கள் என்றால் தவிர அதிகமாக இடைநிலை சொல்லப்படாவிடில்.
  • Step 4: context-ஐ சரிபார்க்கவும் (உதா: “color of sky” vs “word used for sky”).

Summary

Summary

  • Substitutional coding-ல் முழு சொற்கள் அல்லது கருத்துகள் பிற சொற்களால் map செய்யப்படுகின்றன.
  • Decode செய்ய, original term-இலிருந்து substitution chain-ஐ படிப்படியாக பின்தொடருங்கள்.
  • எப்போதும் substitution-ன் direction-ஐ உறுதிப்படுத்திக் கொண்டு அதேபோல substitute செய்யுங்கள்.
  • தேவையெனில் chain-ஐ மறுமாறு பின்வாங்கி பரிசோதித்து consistency-ஐ உறுதிசெய்யலாம்.

மெமரிலைக்கக் எடுத்துக்கொள்ள உதவும் example:
“sun” என்றால் “moon”, “moon” என்றால் “star” என்றால் sun-க்கு code → “moon”, moon-க்கு code → “star”.

Practice

(1/5)
1. If “blue” means “green”, “green” means “red”, and “red” means “yellow”, then what is the color of grass?
easy
A. Blue
B. Green
C. Red
D. Yellow

Solution

  1. Step 1: Identify actual color

    Grass is normally green.
  2. Step 2: Apply substitutions

    ‘Green’ means ‘Red’.
  3. Step 3: Determine final code

    Hence, ‘Grass’ → ‘Red’.
  4. Final Answer:

    Red → Option C
  5. Quick Check:

    Green → Red → correct mapping ✅
Hint: Start from the actual property (color of object) before substitution.
Common Mistakes: Directly substituting without identifying the actual property first.
2. If “apple” means “banana”, “banana” means “grape”, and “grape” means “mango”, what is the code for 'banana'?
easy
A. Apple
B. Grape
C. Mango
D. Banana

Solution

  1. Step 1: Trace mapping

    ‘Apple’ → ‘Banana’, ‘Banana’ → ‘Grape’, ‘Grape’ → ‘Mango’.
  2. Step 2: Identify the chain

    The code for 'banana' is what 'banana' means, i.e., ‘grape’.
  3. Final Answer:

    Grape → Option B
  4. Quick Check:

    Banana maps directly to Grape ✅
Hint: Follow direct substitution arrows carefully - one level only.
Common Mistakes: Overextending the substitution chain beyond one step.
3. If “dog” means “cat”, “cat” means “rat”, and “rat” means “lion”, what is the code for 'dog'?
easy
A. Cat
B. Rat
C. Lion
D. Tiger

Solution

  1. Step 1: Follow rule

    ‘Dog’ → ‘Cat’, ‘Cat’ → ‘Rat’, ‘Rat’ → ‘Lion’.
  2. Step 2: Apply substitution once

    Code for ‘dog’ = ‘cat’.
  3. Final Answer:

    Cat → Option A
  4. Quick Check:

    Dog → Cat → single substitution correct ✅
Hint: Apply substitution exactly once unless the question says 'twice'.
Common Mistakes: Going too far down the substitution chain.
4. If 'pen' means 'pencil', 'pencil' means 'eraser', and 'eraser' means 'book', then what is 'book' coded as?
medium
A. Eraser
B. Pencil
C. Pen
D. Book

Solution

  1. Step 1: Decode rule

    Pen→Pencil, Pencil→Eraser, Eraser→Book.
  2. Step 2: Find mapping for 'book'

    No further substitution given for 'book'.
  3. Step 3: Conclude

    Hence, 'book' remains 'book'.
  4. Final Answer:

    Book → Option D
  5. Quick Check:

    ‘Book’ has no substitution mapping defined ✅
Hint: If no mapping exists, keep the original word unchanged.
Common Mistakes: Trying to apply reverse mapping unnecessarily.
5. If 'teacher' means 'student', 'student' means 'principal', and 'principal' means 'guide', who teaches in the school according to the code?
medium
A. Principal
B. Student
C. Guide
D. Teacher

Solution

  1. Step 1: Identify the role

    In real context, the one who teaches is the 'teacher'.
  2. Step 2: Apply mapping

    ‘Teacher’ means ‘Student’.
  3. Step 3: Derive coded answer

    Hence, in code language, the one who teaches is the student.
  4. Final Answer:

    Student → Option B
  5. Quick Check:

    ‘Teacher’ → ‘Student’; rule applied correctly ✅
Hint: Map logical meaning first, then replace using the given chain.
Common Mistakes: Confusing actual role with coded word.

Mock Test

Ready for a challenge?

Take a 10-minute AI-powered test with 10 questions (Easy-Medium-Hard mix) and get instant SWOT analysis of your performance!

10 Questions
5 Minutes