Introduction
This lecture prepares you for the journey ahead. Every topic is explained first in English, followed immediately by its Arabic explanation.
Mark this lecture complete when you finish studying it.
What is Programming?
Programming is the process of writing instructions that tell a computer what to do. A programmer uses a programming language to create these instructions.
البرمجة هي عملية كتابة تعليمات تخبر الكمبيوتر ماذا يفعل. المبرمج يستخدم لغة برمجة حتى ينشئ هذه التعليمات.
What is a Computer?
A computer is an electronic machine that receives data, processes it, stores information and produces results according to instructions.
الكمبيوتر هو جهاز إلكتروني يستقبل البيانات ويعالجها ويخزن المعلومات ويعطي النتائج اعتماداً على التعليمات التي نعطيها له.
What is Artificial Intelligence?
Artificial Intelligence, or AI, is a field of computing that focuses on building systems that can perform tasks that normally require human-like intelligence.
الذكاء الاصطناعي أو AI هو مجال من مجالات الحاسوب يهتم ببناء أنظمة تستطيع تنفيذ مهام تحتاج عادةً إلى نوع من الذكاء البشري.
What is Python?
Python is a high-level programming language known for its simple and readable syntax. It is widely used in software development, automation, data science and artificial intelligence.
بايثون هي لغة برمجة عالية المستوى معروفة بسهولة ووضوح صياغتها. تُستخدم بشكل واسع في تطوير البرامج والأتمتة وتحليل البيانات والذكاء الاصطناعي.
Why Python?
Python is beginner-friendly, readable and supported by a large ecosystem of libraries and tools. It is also widely used in AI and machine learning.
بايثون مناسبة جداً للمبتدئين وسهلة القراءة، وتمتلك مكتبات وأدوات كثيرة. كما أنها مستخدمة بشكل واسع في الذكاء الاصطناعي وتعلم الآلة.
Common Errors and How to Avoid Them
Beginners often make mistakes such as incorrect syntax, missing quotation marks, incorrect indentation or misunderstanding error messages. Errors are a normal part of programming.
المبتدئون غالباً يرتكبون أخطاء مثل كتابة الصياغة بشكل خاطئ، نسيان علامات الاقتباس، المسافات البادئة الخاطئة، أو عدم فهم رسائل الخطأ. الأخطاء جزء طبيعي من تعلم البرمجة.
Syntax Errors
Mistakes in the structure or rules of the code.
Indentation Errors
Incorrect spacing where Python expects a specific structure.
Name Errors
Using a name that Python does not recognize.
Type Errors
Trying to perform an operation with incompatible data types.