Introduction
Matrix Coding (grid அல்லது Polybius-square coding என்றும் அழைக்கப்படுகிறது) என்பது எழுத்துகளை 2-D அட்டவணையில் (table) அமைத்து, ஒவ்வொரு எழுத்தையும் அதன் row-column coordinates மூலம் குறிக்கும் coding pattern ஆகும். இந்த pattern spatial indexing மற்றும் எளிய lookup-களை இணைப்பதால், வேகமாகவும் நம்பகமாகவும் encode/decode செய்ய உதவுகிறது. அதனால் higher reasoning tests-ல் இது பரவலாக பயன்படுத்தப்படுகிறது.
Pattern: Matrix Coding
Pattern
முக்கிய கருத்து: அகரவரிசை (அல்லது symbols) ஒன்றை fixed rows×columns grid-ல் அமைத்து, ஒவ்வொரு எழுத்தையும் அதன் (row, column) coordinate pair மூலம் encode செய்வது - உதா., 5×5 grid-ல் A=(1,1), B=(1,2) … Z=(5,5) (I/J பொதுவாக ஒரே cell-ஐ பகிரும்).
பொதுவாக பயன்படுத்தப்படும் matrix schemes:
- Row-Column numeric coordinates: Letter → (row, column) உதா., grid அமைப்பைப் பொறுத்து 3×9 layout-ல் C → (1,3).
- Single-digit pair code: ஒவ்வொரு எழுத்திற்கும் இரண்டு இலக்கங்கள் (முதலில் row, பின்னர் column) பயன்படுத்தி numeric codes உருவாக்குதல்.
- Combined cell codes: row-க்களுக்கு letters மற்றும் column-க்களுக்கு numbers பயன்படுத்துதல் (உதா., A3).
- Variable-size grids: digits-க்கு 3×3, alphabet-க்கு 5×5 (I/J சேர்த்து), A-Z + 0-9 க்கு 6×6 grid.
- Coordinate transforms: சில சமயம் coordinates மாற்றப்படலாம் (ஒரு constant சேர்த்தல்/கழித்தல், mirror indices போன்றவை) - இதை எப்போதும் examples-லிருந்து கண்டறிய வேண்டும்.
Step-by-Step Example
Question
row-wise நிரப்பப்பட்ட 5×5 grid ஒன்றைப் பயன்படுத்துங்கள்; இதில் I/J ஒரே cell-ஐ பகிர்கின்றன:
1 2 3 4 5
1: A B C D E
2: F G H I/J K
3: L M N O P
4: Q R S T U
5: V W X Y Z
CAT என்ற சொல்லை code செய்தால், அதன் matrix code என்ன?Solution
Step 1: ஒவ்வொரு எழுத்தின் coordinates-ஐ கண்டறியவும்
C → row 1, column 3 ⇒ (1,3).
A → (1,1).
T → row 4, column 4 ⇒ (4,4).Step 2: Output format-ஐ தேர்வு செய்யவும்
பொதுவான formats: numeric pairs இணைத்தல் → (1,3)(1,1)(4,4) அல்லது digits → 13 11 44 அல்லது compact 131144. இங்கு spaces-உடன் two-digit pairs பயன்படுத்துகிறோம்: 13 11 44.Final Answer:
13 11 44 (அதாவது C = 13, A = 11, T = 44).Quick Check:
Reverse lookup: 13 → row1 col3 = C; 11 → A; 44 → row4 col4 = T ✅
Quick Variations
1. A-Z உடன் digits (0-9) சேர்க்க 6×6 grid பயன்படுத்துதல்.
2. row-wise பதிலாக column-wise grid நிரப்புதல் - இதனால் coordinates மாறும்.
3. Index transform சேர்த்தல்: (row+1, col-1) என encode செய்தல் அல்லது rows-ஐ mirror செய்வது (row → 6-row).
4. mixed-format tests-க்கு rows-க்கு letters மற்றும் columns-க்கு numbers பயன்படுத்துதல் (உதா., B3).
5. சில tests-ல் coordinate pairs single digits-ஆக compress செய்யப்படும்; எப்போதும் format-ஐ examples மூலம் உறுதி செய்ய வேண்டும்.
Trick to Always Use
- Step 1: Examples-ல் காட்டியபடியே grid-ஐ துல்லியமாக மீண்டும் வரைந்து கொள்ளுங்கள் (row-wise/column-wise மற்றும் shared cells உட்பட).
- Step 2: ஒவ்வொரு எழுத்திற்கும் (row, column) ஐ எழுதி வைத்துக் கொள்ளுங்கள் - நீண்ட சொற்களுக்கு மனதில் வைத்துக் கொள்ள முயற்சிக்க வேண்டாம்.
- Step 3: Output format-ஐ (space-உடன் pairs, concatenated digits, அல்லது letter+number) தீர்மானித்து அதையே தொடர்ந்து பயன்படுத்துங்கள்.
- Step 4: First மற்றும் last pair-ஐ decode செய்து quick-check செய்வதால் grid சரியாக பயன்படுத்தப்பட்டதா உறுதி செய்யலாம்.
Summary
Summary
- Matrix Coding ஒவ்வொரு cell-ஐ (row, column) coordinate pair-ஆக map செய்கிறது - இதை வேகமாக உருவாக்கவும் வாசிக்கவும் பயிற்சி செய்யுங்கள்.
- எப்போதும் உறுதி செய்யுங்கள்: grid size, fill direction (row/column), shared cells (I/J), மற்றும் output formatting.
- Letter-by-letter வேலை செய்து, coordinates எழுதிக் கொண்டு பின்னர் combine செய்தால் நீண்ட strings-ல் தவறுகள் வராது.
- Encoding சரியா என உறுதி செய்ய ஒன்று அல்லது இரண்டு pairs-ஐ reverse செய்து சரிபார்க்கவும்.
