{
 "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": "خفیہ پیغام پڑھنے کے لیے حروف گننا",
  "es": "Contar letras para leer un mensaje oculto",
  "fr": "Compter les lettres pour lire un message caché"
 },
 "summary": {
  "en": "Telling one-variable data from two-variable data, through a count of letters (D1.1).",
  "ar": "التمييز بين بيانات المتغير الواحد وبيانات المتغيرين من خلال عدّ الحروف، التوقع D1.1.",
  "ur": "ایک متغیر اور دو متغیرات کے اعداد و شمار میں فرق کرنا، حروف کی گنتی کے ذریعے، توقع D1.1۔",
  "es": "Distinguir datos de una variable de datos de dos variables, mediante el recuento de letras (D1.1).",
  "fr": "Distinguer les données à une variable des données à deux variables, par le biais d'un comptage de lettres (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"
  },
  "es": {
   "sections": [
    {
     "heading": "En breve",
     "markdown": "Esta lección te pide que indiques cuándo los datos implican una variable y cuándo dos. El museo ofrece una explicación única del método de conteo de letras y de los límites de lo que demuestra el conteo. Los conteos de letras son datos de una sola variable; el registro no tiene diagrama de dispersión ni segunda variable. Recopilar datos y mostrarlos en gráficos es competencia de tu clase. {cite:ontario-curriculum-elementary-mathematics}"
    },
    {
     "heading": "¿Qué pueden decir un pequeño número de observaciones?",
     "markdown": "Elige un párrafo corto y uno largo, y cuenta con qué frecuencia aparece cada letra en cada uno. Compara los resultados y indica qué párrafo se acerca más al patrón general y por qué. Decide si tus datos involucran una variable y qué necesitarías para que incluyan dos."
    },
    {
     "heading": "Ve más hondo",
     "markdown": "En una tabla, al-Kindi da un recuento de letras tomado de siete hojas, pero las notas de los editores corrigen los números e identifican tres letras omitidas en el enumerado {cite:kindi-cryptanalysis-1987 pp. 235–236}. Por tanto, el registro describe tanto el ejemplo como sus defectos, y no copia sus números como una medición moderna completa ni como probabilidades permanentes para todo el árabe escrito {cite:kindi-cryptanalysis-1987 pp. 235–236}. Cuando el texto explica por qué algunas letras son tan frecuentes en árabe, distingue sonidos pronunciados de vocales cortas no representadas de forma independiente en la escritura ordinaria {cite:kindi-cryptanalysis-1987 pp. 236–237}. La edición de Damasco también compara tratados posteriores al corregir los recuentos de letras {cite:kindi-cryptanalysis-1987 p. 236}."
    },
    {
     "heading": "Por qué lo hicieron",
     "markdown": "El tratado comienza con una dirección dirigida a Abu al-Abbas y dice que responde a una solicitud de una explicación accesible sobre la recuperación de lo que registran los libros ocultos {cite:kindi-cryptanalysis-1987 pp. 213–214}. La enciclopedia TDV enumera obras de otros autores sobre ocultar y recuperar mensajes, y relaciona la correspondencia oficial y la expansión de los departamentos administrativos con la necesidad de ocultación y recuperación {cite:tdv-muamma pp. 319–320}. Esos son el propósito y el establecimiento de los registros proporciona: una petición de un destinatario y un campo de escritura vinculado a la correspondencia oficial."
    },
    {
     "heading": "A menudo malinterpretado",
     "markdown": "Puede considerarse que Al-Kindi es la primera persona en ocultar mensajes, pero el registro dice que la enciclopedia TDV lo califica como el tratado más antiguo que se conserva sobre ocultar y recuperar mensajes, no la invención de mensajes ocultos {cite:tdv-muamma pp. 319–320}. El registro añade que la supervivencia no es una prioridad absoluta: un texto anterior puede perderse, y TDV sí informa de un libro atribuido a al-Khalil {cite:tdv-muamma pp. 319–320}."
    },
    {
     "heading": "Piénsalo",
     "markdown": "Los conteos de cartas de las siete hojas no nos han llegado intactos: los editores corrigieron números y anotaron tres letras omitidas. ¿Puede un conjunto de datos con defectos conocidos aún decirte algo sobre el patrón de letras en un idioma? ¿Qué afirmación aceptarías de él y cuál rechazarías, y por qué?"
    },
    {
     "heading": "Hacia el museo",
     "markdown": "- [[invention/frequency-analysis-al-kindi|El criptoanálisis de letras por frecuencia de Al-Kindi]]: el ejemplo de siete hojas con sus defectos, y la diferencia entre sobrevivir y ser el primero.\n- [[person/al-kindi|Al-Kindi]]: lo que dice el registro sobre el autor del tratado."
    },
    {
     "heading": "Prueba esto",
     "markdown": "Lee sobre [[invention/frequency-analysis-al-kindi|el criptoanálisis de frecuencia de letras de al-Kindi]]. Escribe una frase corta, sustituye cada letra por un símbolo, luego pide a un compañero que adivine las letras contando símbolos, y registra qué estaba bien y qué estaba mal."
    }
   ],
   "frontmatter": {
    "id": "course/ca-on-g8-math-d-1",
    "lang": "es",
    "source_lang": "en",
    "translators": [
     "Microsoft Translator (Translate Document in Word for Mac, 2026-11-19), draft translation"
    ],
    "provenance": {
     "generated_by": "scripts/local-mt/import_gt.py (spanish lane, Word for Mac Translate Document, managed by Claude Code)",
     "model": "microsoft-translator",
     "run": "word-docs-es-2026-11-19",
     "source": "content/en/course/ca-on-g8-math-d-1.md"
    }
   },
   "updated": "2026-11-19"
  },
  "fr": {
   "sections": [
    {
     "heading": "En bref",
     "markdown": "Cette leçon vous demande de déterminer quand les données impliquent une variable et quand deux. Le musée propose une présentation unique d'une méthode de comptage des lettres et des limites de ce que le comptage prouve. Les décomptes de lettres sont des données à une variable ; l'enregistrement ne comporte ni diagramme de dispersion ni de deuxième variable. La collecte des données et leur affichage en graphiques est pour votre classe. {cite:ontario-curriculum-elementary-mathematics}"
    },
    {
     "heading": "Que peuvent dire un petit nombre d'observations ?",
     "markdown": "Choisissez un paragraphe court et un long, et comptez la fréquence à laquelle chaque lettre apparaît dans chacun. Comparez les résultats et indiquez quel paragraphe est le plus proche du schéma général, et pourquoi. Décidez si vos données comportent une seule variable, et ce dont vous aurez besoin pour qu'elles en incluent deux."
    },
    {
     "heading": "Va plus loin",
     "markdown": "Dans un tableau, al-Kindi donne un nombre de lettres tiré de sept feuilles, mais les notes des éditeurs corrigent les numéros et identifient trois lettres omises de l'énumération {cite:kindi-cryptanalysis-1987 pp. 235–236}. Le document décrit donc à la fois l'exemple et ses défauts, et ne copie pas ses numéros comme une mesure moderne complète ni comme des probabilités permanentes pour tout l'arabe écrit {cite:kindi-cryptanalysis-1987 pp. 235–236}. Lorsque le texte explique pourquoi certaines lettres sont si fréquentes en arabe, il distingue les sons prononcés des voyelles courtes non représentées indépendamment dans l'écriture ordinaire {cite:kindi-cryptanalysis-1987 pp. 236–237}. L'édition de Damas compare également les traités ultérieurs lors de la correction des décomptes de lettres {cite:kindi-cryptanalysis-1987 p. 236}."
    },
    {
     "heading": "Pourquoi ils l'ont fait",
     "markdown": "Le traité s'ouvre par une adresse adressée à Abu al-Abbas et indique qu'il répond à une demande d'explication accessible sur la récupération de ce que les livres dissimulés enregistrent {cite:kindi-cryptanalysis-1987 pp. 213–214}. L'encyclopédie TDV liste les travaux d'autres auteurs sur la dissimulation et la récupération des messages, et relie la correspondance officielle et l'expansion des services administratifs à la nécessité de dissimulation et de récupération {cite:tdv-muamma pp. 319–320}. C'est là l'objectif et la fixation du dossier : une demande d'un destinataire, et un champ d'écriture lié à la correspondance officielle."
    },
    {
     "heading": "Souvent mal compris",
     "markdown": "On peut considérer Al-Kindi comme la première personne à dissimuler des messages, mais les archives indiquent que l'encyclopédie TDV qualifie son traité de plus ancien traité survivant sur la dissimulation et la récupération des messages, et non l'invention des messages dissimulés {cite:tdv-muamma pp. 319–320}. Le dossier ajoute que la survie n'est pas une priorité absolue : un texte antérieur peut être perdu, et TDV rapporte un livre attribué à al-Khalil {cite:tdv-muamma pp. 319–320}."
    },
    {
     "heading": "Pense-y",
     "markdown": "Les décomptes de lettres sur les sept feuilles ne nous sont pas parvenus intacts : les éditeurs ont corrigé les numéros et noté trois lettres omises. Un jeu de données avec des défauts connus peut-il encore vous dire quelque chose sur le schéma des lettres dans une langue ? Quelle affirmation accepteriez-vous encore de cette langue et laquelle refuseriez-vous, et pourquoi ?"
    },
    {
     "heading": "Au musée",
     "markdown": "- [[invention/frequency-analysis-al-kindi|La cryptanalyse à fréquence des lettres d'Al-Kindi]] : l'exemple à sept feuilles avec ses défauts, et la différence entre survivre et être premier.\n- [[person/al-kindi|Al-Kindi]] : ce que les archives disent de l'auteur du traité."
    },
    {
     "heading": "Essaie ça",
     "markdown": "Lisez sur [[invention/frequency-analysis-al-kindi|la cryptanalyse des lettres par fréquence d'al-Kindi]]. Écrivez une courte phrase, remplacez chaque lettre par un symbole, puis demandez à un partenaire de deviner les lettres en comptant les symboles, et d'enregistrer ce qui était juste et ce qui était faux."
    }
   ],
   "frontmatter": {
    "id": "course/ca-on-g8-math-d-1",
    "lang": "fr",
    "source_lang": "en",
    "translators": [
     "Microsoft Translator (Translate Document in Word for Mac, 2026-11-19), draft translation"
    ],
    "provenance": {
     "generated_by": "scripts/local-mt/import_gt.py (spanish lane, Word for Mac Translate Document, managed by Claude Code)",
     "model": "microsoft-translator",
     "run": "word-docs-fr-2026-11-19",
     "source": "content/en/course/ca-on-g8-math-d-1.md"
    }
   },
   "updated": "2026-11-19"
  },
  "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-20",
 "connections": [],
 "related": [],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}