Programming & Artificial Intelligence — Secondary Level
الدرس الثاني • الصفحات 13–19

كيف يعمل الذكاء الاصطناعي

ملخص كامل للدرس الثاني: كيف يعمل الذكاء الاصطناعي.

الذكاء الاصطناعي التعلم الآلي التعلم العميق الذكاء الاصطناعي التوليدي
الملخص بالعربية

الدرس الثاني: كيف يعمل الذكاء الاصطناعي

يركز الدرس على تعريف AI (Artificial Intelligence — الذكاء الاصطناعي)، وفهم العلاقة بين الذكاء الاصطناعي والتعلم الآلي والتعلم العميق والذكاء الاصطناعي التوليدي.

إرشاد للمتابعة: أهم فكرة في الدرس هي أن هذه التقنيات ليست منفصلة عن بعضها، بل تقع داخل بعضها في صورة مستويات متدرجة من المجال الأوسع إلى الأكثر تخصصًا.

1) ما هو الذكاء الاصطناعي؟

AI (Artificial Intelligence — الذكاء الاصطناعي) هو مصطلح عام للتقنيات التي تعيد إنتاج أو تؤدي سلوكًا ذكيًا يشبه السلوك البشري على الكمبيوتر، مثل التعلم والاستدلال والحكم واتخاذ القرار.

أمثلة: Speech Recognition — التعرف على الكلام، Image Recognition — التعرف على الصور، Translation — الترجمة.

في الحياة اليومية يمكن أن يظهر AI في فلتر الرسائل المزعجة، وأنظمة اقتراح المنتجات، وتطبيقات الترجمة، وكذلك أدوات توليد النصوص مثل ChatGPT.

2) العلاقة بين تقنيات الذكاء الاصطناعي

العلاقة بين التقنيات في الدرس هي علاقة Nested Categories — فئات متداخلة، بحيث يحتوي المجال الأكبر على المجال الأكثر تخصصًا.

AI (Artificial Intelligence — الذكاء الاصطناعي) — المجال الأوسع.
Machine Learning — التعلم الآلي — يقع داخل AI.
Deep Learning — التعلم العميق — يقع داخل Machine Learning.
Generative AI — الذكاء الاصطناعي التوليدي — يعتمد على Deep Learning وهو الأكثر تخصصًا في هذا التسلسل.
ترتيب مهم جدًا: AI → Machine Learning → Deep Learning → Generative AI.

3) Machine Learning — التعلم الآلي

إحدى تقنيات التعلم التي تجعل AI يعمل. يتعلم الأنماط من البيانات ليقوم بالتنبؤات وإصدار الأحكام.

أمثلة: Spam Filters — فلاتر الرسائل المزعجة، Product Recommendations — توصيات المنتجات.

4) Deep Learning — التعلم العميق

تقنية متقدمة داخل Machine Learning، وتستخدم Neural Networks — الشبكات العصبية لتعلم الأنماط المعقدة من كميات كبيرة من البيانات.

أمثلة: تحليل الصور في القيادة الذاتية، وSpeech Synthesis — توليد أو تركيب الكلام.

5) Neural Network — الشبكة العصبية

نظام مستوحى من طريقة عمل الخلايا العصبية Neurons — العصبونات في المخ البشري. من خلال ربط عدد كبير من المكونات البسيطة، يمكن للنظام أن يتعلم من البيانات ويصدر أحكامًا معقدة.

يعد هذا المفهوم من التقنيات الأساسية التي تدعم التطورات الحديثة في الذكاء الاصطناعي.

6) Generative AI — الذكاء الاصطناعي التوليدي

تقنية تستخدم Deep Learning لإنشاء بيانات جديدة مثل النصوص والصور والصوت والبرامج.

أمثلة: ChatGPT وأدوات توليد الصور بالذكاء الاصطناعي.

7) الفرق بين التعلم من قواعد ثابتة والتعلم من البيانات

Fixed Rules — قواعد ثابتة

يعتمد البرنامج على تعليمات محددة كتبها الإنسان مسبقًا.

Learning from Data — التعلم من البيانات

يتعلم النظام الأنماط من الأمثلة والبيانات بدل الاعتماد فقط على قواعد مكتوبة يدويًا.

فكرة مهمة: التعلم العميق يحتاج إلى كميات كبيرة من البيانات. إذا واجه النظام شيئًا نادرًا لم يظهر كثيرًا في بيانات التدريب، فقد يواجه صعوبة في الحكم عليه بدقة.

8) Hallucination — الهلوسة

يمكن للذكاء الاصطناعي التوليدي أن ينتج نصًا يبدو مقنعًا ومنطقيًا، لكنه قد يكون غير صحيح من الناحية الواقعية. هذه الحالة تسمى Hallucination — هلوسة.

تنبيه مهم: لا ينبغي استخدام مخرجات Generative AI في تقرير مدرسي كما هي دون مراجعة. يجب التحقق من المعلومات ومقارنتها بمصادر موثوقة.

9) أمثلة توضيحية على التصنيف

المثالالتقنية الأقرب
Automatically sorting spam emails — فرز الرسائل المزعجة تلقائيًاMachine Learning
Recognizing pedestrians in autonomous driving — التعرف على المشاة في القيادة الذاتيةDeep Learning
Generating new images from text — إنشاء صور جديدة من النصGenerative AI
Recommending products from purchase history — اقتراح منتجات بناءً على تاريخ الشراءMachine Learning

10) أهم المصطلحات التي يجب حفظها

  • AI (Artificial Intelligence — الذكاء الاصطناعي).
  • Machine Learning — التعلم الآلي: يتعلم الأنماط من البيانات.
  • Deep Learning — التعلم العميق: يستخدم الشبكات العصبية مع البيانات واسعة النطاق.
  • Neural Network — الشبكة العصبية: نظام مستوحى من الخلايا العصبية في المخ.
  • Generative AI — الذكاء الاصطناعي التوليدي: يستخدم التعلم العميق لإنشاء بيانات جديدة.
  • Hallucination — الهلوسة: مخرجات تبدو صحيحة لكنها قد تكون غير دقيقة أو خاطئة واقعيًا.
  • Nested Categories — فئات متداخلة: كل مجال أكثر تخصصًا يقع داخل المجال الأوسع منه.

11) أهم الاختصارات بالمعنى الكامل

الاختصارالمصطلح الكاملالمعنى بالعربية
AIArtificial Intelligenceالذكاء الاصطناعي

باقي المصطلحات الأساسية في هذا الدرس مكتوبة بأسمائها الكاملة، وليست اختصارات.

12) مراجعة امتحانية سريعة

  • AI هو المجال الأوسع، وليس هو نفسه Machine Learning.
  • Machine Learning يقع داخل AI.
  • Deep Learning نوع متقدم من Machine Learning.
  • Generative AI يعتمد على Deep Learning لإنشاء بيانات جديدة.
  • Neural Networks هي التقنية الأساسية المستخدمة في Deep Learning.
  • Spam Filter مثال على Machine Learning، وليس Generative AI.
  • ChatGPT وImage Generation AI أمثلة على Generative AI.
سؤال مقالي متوقع: اشرح العلاقة بين AI وMachine Learning وDeep Learning وGenerative AI باستخدام فكرة الفئات المتداخلة، مع ذكر مثال لكل منها.
English Summary

Lesson 2: How AI Works

This lesson explains AI (Artificial Intelligence) and the relationship among artificial intelligence, machine learning, deep learning, neural networks, and generative AI.

Study Guidance: The most important idea is that these technologies are not separate fields at the same level. They form nested categories from the broadest field to the most specialized.

1) What is Artificial Intelligence?

AI (Artificial Intelligence) is a general term for technologies that reproduce or perform intelligent human behavior on a computer, including learning, reasoning, and judgment.

Examples: speech recognition, image recognition, and translation.

Everyday examples include spam filters, product recommendations, translation applications, and text generation tools such as ChatGPT.

2) Relationship Among AI Technologies

The technologies are organized as nested categories, where each more specialized field sits inside the broader one.

AI (Artificial Intelligence) — the broadest field.
Machine Learning — sits inside AI.
Deep Learning — sits inside Machine Learning.
Generative AI — is built on Deep Learning and is the most specialized in this sequence.
Important sequence: AI → Machine Learning → Deep Learning → Generative AI.

3) Machine Learning

Machine learning is one of the learning technologies that makes AI work. It learns patterns from data to make predictions and judgments.

Examples: spam filters and product recommendations.

4) Deep Learning

Deep learning is an advanced technology within machine learning. It uses neural networks and large-scale data to learn complex patterns.

Examples: image analysis for autonomous driving and speech synthesis.

5) Neural Network

A neural network is a system modeled after the nerve cells, or neurons, of the human brain. By connecting many simple components, it learns from data and becomes capable of making complex judgments.

6) Generative AI

Generative AI uses deep learning to generate new data, including text, images, audio, and programs.

Examples: ChatGPT and image-generation AI systems.

7) Fixed Rules vs Learning from Data

Fixed Rules

The program follows rules written in advance by a human.

Learning from Data

The system learns patterns from examples and data instead of relying only on hand-written rules.

Important: Deep learning requires large-scale data. An AI may struggle with something it has rarely seen in its training data.

8) Hallucination

Generative AI can produce text that sounds plausible but is factually incorrect. This is called a hallucination.

Study warning: Generative AI output should not be copied directly into school reports without verification. Facts should be checked against reliable sources.

9) Classification Examples

ExampleMost closely related technology
Automatically sorting spam emailsMachine Learning
Recognizing pedestrians in autonomous drivingDeep Learning
Automatically generating new images from textGenerative AI
Recommending products based on purchase historyMachine Learning

10) Key Terms to Memorize

  • AI (Artificial Intelligence).
  • Machine Learning: learns patterns from data.
  • Deep Learning: uses neural networks and large-scale data.
  • Neural Network: a system modeled after neurons in the human brain.
  • Generative AI: uses deep learning to generate new data.
  • Hallucination: plausible-looking output that may be factually incorrect.
  • Nested Categories: increasingly specialized fields contained within broader fields.

11) Abbreviations — Full Forms

AbbreviationFull FormMeaning
AIArtificial IntelligenceTechnologies that reproduce or perform intelligent human behavior on a computer

The other main terms in this lesson are written as full terms rather than abbreviations.

12) Quick Exam Review

  • AI is the broadest field; AI and Machine Learning do not mean the same thing.
  • Machine Learning is inside AI.
  • Deep Learning is an advanced type of Machine Learning.
  • Generative AI uses Deep Learning to create new data.
  • Neural Networks are central to Deep Learning.
  • A spam filter is an example of Machine Learning, not Generative AI.
  • ChatGPT and image-generation AI are examples of Generative AI.
Exam-style focus: Explain the relationship between AI, Machine Learning, Deep Learning, and Generative AI using the idea of nested categories, and give one example of each.