{
 "id": "course/ca-on-g8-math-d-1",
 "class": "course",
 "slug": "ca-on-g8-math-d-1",
 "label": {
  "en": "Counting letters to read a hidden message",
  "ar": "عدّ الحروف لقراءة رسالة مخفية",
  "ur": "خفیہ پیغام پڑھنے کے لیے حروف گننا"
 },
 "summary": {
  "en": "Telling one-variable data from two-variable data, through a count of letters (D1.1).",
  "ar": "التمييز بين بيانات المتغير الواحد وبيانات المتغيرين من خلال عدّ الحروف، التوقع D1.1.",
  "ur": "ایک متغیر اور دو متغیرات کے اعداد و شمار میں فرق کرنا، حروف کی گنتی کے ذریعے، توقع D1.1۔"
 },
 "stub": false,
 "wings": [],
 "regions": [],
 "periods": [],
 "tags": [],
 "aliases": [],
 "themes": [],
 "data": {
  "kind": "lesson",
  "sources": [
   "source/ontario-curriculum-elementary-mathematics"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Claude Code; claude-sonnet-5-5; courses pipeline (docs/courses-mission/PIPELINE.md); 2026-11-12"
  },
  "part_of": "course/ca-on-g8-math-d",
  "expectations": [
   {
    "code": "D1.1",
    "text": {
     "en": "identify situations involving one-variable data and situations involving two-variable data, and explain when each type of data is needed",
     "ar": "حدِّد المواقف التي تتضمن بيانات بمتغير واحد والمواقف التي تتضمن بيانات بمتغيرين، واشرح متى يلزم كل نوع من البيانات",
     "ur": "ایسی صورتیں پہچانیں جن میں ایک متغیر کے اعداد و شمار ہوں اور ایسی جن میں دو متغیرات کے اعداد و شمار ہوں، اور بتائیں کہ ہر قسم کے اعداد و شمار کی ضرورت کب پڑتی ہے"
    }
   }
  ],
  "connections": [
   {
    "position": "within",
    "kind": "invention",
    "title": {
     "en": "Counting letters to read a hidden message",
     "ar": "عدّ الحروف لقراءة رسالة مخفية",
     "ur": "خفیہ پیغام پڑھنے کے لیے حروف گننا"
    },
    "text": {
     "en": "Al-Kindi describes counting the letters in a sample of a known language, ranking them by use, and comparing that ranking with the symbols of a concealed message. The record stresses that numbers are not his final verdict: a short message may depart from ordinary usage, and a guess needs checking against letter combinations and context. What would make a count of letters too small to trust?",
     "ar": "يشرح الكندي طريقة تبدأ بعدّ الحروف في نص من لغة معروفة، وترتيبها بحسب كثرة الاستعمال، ثم مقارنة هذا الترتيب برموز النص المعمى. ويقول السجل إنه لا يجعل العدد حكماً نهائياً: فالرسالة القصيرة قد تخالف العادة، ويحتاج الظن إلى اختبار باقتران الحروف وسياق الكلام. ما الذي يجعل عدّ الحروف قليلاً لا يوثق به؟",
     "ur": "الکندی ایک ایسا طریقہ بیان کرتا ہے جس میں کسی معلوم زبان کے نمونے میں حروف گنے جاتے ہیں، استعمال کی کثرت کے لحاظ سے انہیں ترتیب دیا جاتا ہے، پھر اس ترتیب کا مخفی پیغام کی علامتوں سے موازنہ کیا جاتا ہے۔ ریکارڈ زور دیتا ہے کہ گنتی اس کا آخری فیصلہ نہیں: چھوٹا پیغام عام استعمال سے ہٹ سکتا ہے، اور اندازے کو حروف کے میل اور عبارت کے سیاق سے پرکھنا پڑتا ہے۔ حروف کی گنتی کو کس بات سے اتنا کم سمجھا جائے کہ اس پر بھروسا نہ ہو؟"
    },
    "entity": "invention/frequency-analysis-al-kindi",
    "sources": [
     "source/kindi-cryptanalysis-1987",
     "source/tdv-muamma"
    ]
   }
  ],
  "order": 1
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "يطلب منك هذا الدرس أن تحدد متى تكون البيانات بمتغير واحد ومتى تكون بمتغيرين. ويقدّم المتحف رواية واحدة عن طريقة عدّ الحروف وحدود ما يثبته العدّ. وعدّ الحروف بيانات بمتغير واحد؛ وليس في السجل مخطط انتشار ولا متغير ثانٍ. أما جمع البيانات وتمثيلها بالرسوم فعلى صفّك. {cite:ontario-curriculum-elementary-mathematics}"
    },
    {
     "heading": "ماذا يمكن أن يقول عدد صغير من المشاهدات؟",
     "markdown": "اختر فقرة قصيرة وأخرى طويلة، وعدّ مرات ظهور كل حرف في كل منهما. قارن النتيجتين، وقل أي الفقرتين أقرب إلى النمط العام ولماذا. وحدد هل بياناتك بمتغير واحد، وما الذي كان سيلزم لتصير بمتغيرين."
    },
    {
     "heading": "تعمّق",
     "markdown": "في الجدول يذكر الكندي عدّ حروف سبع ورقات، لكن حواشي المحققين تصلح أرقامه وتوضح أن ثلاثة حروف سقطت من الإحصاء {cite:kindi-cryptanalysis-1987 pp. 235–236}. ولذلك يصف السجل المثال وعيوبه معاً، ولا ينسخ أرقامه كأنها قياس حديث كامل أو احتمالات ثابتة لكل عربية يكتبها الناس {cite:kindi-cryptanalysis-1987 pp. 235–236}. وحين يفسّر كثرة بعض الحروف في العربية يفرّق النص بين أصوات قد توجد في النطق وحركات لا تظهر مستقلة في الخط المعتاد {cite:kindi-cryptanalysis-1987 pp. 236–237}. وفي حواشي طبعة دمشق مقارنات بمصنفات لاحقة عند تصحيح أعداد الحروف {cite:kindi-cryptanalysis-1987 p. 236}."
    },
    {
     "heading": "لماذا فعلوا ذلك؟",
     "markdown": "تبدأ الرسالة بخطاب إلى أبي العباس، وتقول إنها تجيب طلباً لتقريب الحيلة في استخراج ما رسم في الكتب المعماة {cite:kindi-cryptanalysis-1987 pp. 213–214}. ويسرد مرجع TDV أعمال مؤلفين آخرين في التعمية واستخراجها، ويذكر الحاجة إلى حفظ بعض المراسلات الرسمية مع تشكل دواوين الدول {cite:tdv-muamma pp. 319–320}. هذان ما يحفظه السجل من الغرض والسياق: طلب مخاطَب، وحاجة المراسلات إلى الحجب في مجال التأليف عموماً."
    },
    {
     "heading": "خطأ شائع",
     "markdown": "قد يُظنّ الكندي أول من أخفى الكلام، لكن السجل يقول إن موسوعة TDV تسمّي رسالته أقدم رسالة باقية، لا اختراع إخفاء الرسائل نفسه {cite:tdv-muamma pp. 319–320}. وتذكر الموسوعة كتاباً في المعمى منسوباً إلى الخليل بن أحمد، فالبقاء غير الأولوية المطلقة، إذ قد يضيع نص أقدم {cite:tdv-muamma pp. 319–320}."
    },
    {
     "heading": "فكّر في هذا",
     "markdown": "عدد حروف الورقات السبع في رسالة الكندي لم يصل إلينا سليماً: أصلح المحققون أرقاماً وأشاروا إلى ثلاثة حروف ساقطة. هل تستطيع أن تستخلص من إحصاء فيه عيوب معروفة شيئاً عن نمط الحروف في لغة؟ وأي ادعاء كنت ستقبله منه وأي ادعاء سترفضه، ولماذا؟"
    },
    {
     "heading": "إلى المتحف",
     "markdown": "- [[invention/frequency-analysis-al-kindi|تحليل تواتر الحروف عند الكندي]]: المثال العددي وعيوبه، والفرق بين البقاء والأولوية.\n- [[person/al-kindi|الكندي]]: ما يقوله السجل عن صاحب الرسالة."
    },
    {
     "heading": "جرّب هذا",
     "markdown": "اقرأ عن [[invention/frequency-analysis-al-kindi|تحليل تواتر الحروف عند الكندي]]. اكتب جملة قصيرة، واستبدل كل حرف فيها برمز، ثم اطلب من زميل أن يخمّن الحروف بعدّ الرموز، وسجّل ما أصاب فيه وما أخطأ."
    }
   ],
   "frontmatter": {
    "id": "course/ca-on-g8-math-d-1",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-11-13"
  },
  "en": {
   "sections": [
    {
     "heading": "Brief",
     "markdown": "This lesson asks you to tell when data involve one variable and when two. The museum offers one account of a letter-counting method and of the limits of what counting proves. Letter counts are one-variable data; the record has no scatter plot or second variable. Collecting data and displaying it in graphs are for your class. {cite:ontario-curriculum-elementary-mathematics}"
    },
    {
     "heading": "What can a small number of observations say?",
     "markdown": "Choose one short paragraph and one long one, and count how often each letter appears in each. Compare the results and say which paragraph is closer to the general pattern, and why. Decide whether your data involve one variable, and what you would need to make them involve two."
    },
    {
     "heading": "Go deeper",
     "markdown": "In a table, al-Kindi gives a letter count taken from seven leaves, but the editors' notes emend the numbers and identify three letters omitted from the enumeration {cite:kindi-cryptanalysis-1987 pp. 235–236}. The record therefore describes both the example and its defects, and does not copy its numbers as a complete modern measurement or as permanent probabilities for all written Arabic {cite:kindi-cryptanalysis-1987 pp. 235–236}. When the text explains why some letters are so frequent in Arabic, it distinguishes pronounced sounds from short vowels not independently represented in ordinary writing {cite:kindi-cryptanalysis-1987 pp. 236–237}. The Damascus edition also compares later treatises when correcting the letter counts {cite:kindi-cryptanalysis-1987 p. 236}."
    },
    {
     "heading": "Why they did it",
     "markdown": "The treatise opens with an address to Abu al-Abbas and says it answers a request for an accessible explanation of recovering what concealed books record {cite:kindi-cryptanalysis-1987 pp. 213–214}. The TDV encyclopaedia lists works by other authors on concealing and recovering messages, and relates official correspondence and expanding administrative departments to the need for concealment and recovery {cite:tdv-muamma pp. 319–320}. Those are the purpose and the setting the record gives: a request from an addressee, and a field of writing tied to official correspondence."
    },
    {
     "heading": "Often misunderstood",
     "markdown": "Al-Kindi may be taken for the first person to conceal messages, but the record says that the TDV encyclopaedia calls his the earliest surviving treatise on concealing and recovering messages, not the invention of concealed messages {cite:tdv-muamma pp. 319–320}. The record adds that survival is not absolute priority: an earlier text may be lost, and TDV does report a book attributed to al-Khalil {cite:tdv-muamma pp. 319–320}."
    },
    {
     "heading": "Think about it",
     "markdown": "The letter counts from the seven leaves have not reached us intact: the editors emended numbers and noted three omitted letters. Can a data set with known defects still tell you something about the pattern of letters in a language? Which claim would you still accept from it and which would you refuse, and why?"
    },
    {
     "heading": "Into the museum",
     "markdown": "- [[invention/frequency-analysis-al-kindi|Al-Kindi's letter-frequency cryptanalysis]]: the seven-leaf example with its defects, and the difference between surviving and being first.\n- [[person/al-kindi|Al-Kindi]]: what the record says about the author of the treatise."
    },
    {
     "heading": "Try this",
     "markdown": "Read about [[invention/frequency-analysis-al-kindi|al-Kindi's letter-frequency cryptanalysis]]. Write a short sentence, replace each letter with a symbol, then ask a partner to guess the letters by counting symbols, and record what was right and what was wrong."
    }
   ],
   "frontmatter": {
    "id": "course/ca-on-g8-math-d-1",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Code; claude-sonnet-5-5"
    ]
   },
   "updated": "2026-11-13"
  },
  "ur": {
   "sections": [
    {
     "heading": "مختصر",
     "markdown": "یہ سبق آپ سے کہتا ہے کہ پہچانیں کہ اعداد و شمار کب ایک متغیر کے ہیں اور کب دو کے۔ عجائب گھر حروف گننے کے طریقے اور اس بات کی حدوں کا ایک بیان پیش کرتا ہے کہ گنتی کیا ثابت کرتی ہے۔ حروف کی گنتی ایک متغیر کے اعداد و شمار ہے؛ اندراج میں نہ بکھراؤ کا خاکہ ہے نہ دوسرا متغیر۔ اعداد و شمار جمع کرنا اور گرافوں میں دکھانا آپ کی جماعت کا کام ہے۔ {cite:ontario-curriculum-elementary-mathematics}"
    },
    {
     "heading": "مشاہدات کی چھوٹی تعداد کیا کہہ سکتی ہے؟",
     "markdown": "ایک چھوٹا اور ایک لمبا پیراگراف چنیں، اور ہر ایک میں گنیں کہ ہر حرف کتنی بار آتا ہے۔ نتائج کا موازنہ کریں اور بتائیں کون سا پیراگراف عمومی نمونے کے زیادہ قریب ہے اور کیوں۔ طے کریں کہ آپ کے اعداد و شمار ایک متغیر کے ہیں یا نہیں، اور انہیں دو متغیرات کا بنانے کے لیے کیا چاہیے ہوگا۔"
    },
    {
     "heading": "یہ آزمائیں",
     "markdown": "[[invention/frequency-analysis-al-kindi|الکندی کے حروف کی تعدد پر مبنی تحلیل]] کے بارے میں پڑھیں۔ ایک چھوٹا جملہ لکھیں، ہر حرف کو ایک علامت سے بدل دیں، پھر کسی ساتھی سے کہیں کہ علامتیں گن کر حروف کا اندازہ لگائے، اور لکھیں کہ کیا درست نکلا اور کیا غلط۔"
    }
   ],
   "frontmatter": {
    "id": "course/ca-on-g8-math-d-1",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Code; claude-sonnet-5-5"
    ]
   },
   "updated": "2026-11-12"
  }
 },
 "degree": 0,
 "contemporaries": [],
 "updated": "2026-11-12",
 "connections": [],
 "related": [],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}