Lesson ١: Algorithms
فيديو الشرح
الفيديو قيد الإنتاج، وسيظهر هنا فور اعتماده.
ماذا ستتعلم؟
- I identify the main ideas of the lesson
- I extract the key information
- I apply what I learned
- I connect cause and effect
- I review my answer
اختبر استعدادك أولًا
الشرح خطوة بخطوة
Level ١: We explore together
Lesson topic: Algorithms. Before writing any program, a programmer writes the steps of the solution in a clear order.
The story: An algorithm is an ordered set of clear steps that solves a problem or finishes a task. A recipe for tea is an algorithm: boil water, add tea, add sugar, stir, pour into a cup. We can write an algorithm as numbered steps in normal language, or draw it as a flowchart with boxes and arrows. A good algorithm is clear, ordered, finite, and gives the correct result for every valid input. In this lesson we learn what an algorithm is and how to describe one with steps and flowcharts.
Level ٢: I review the idea
We review the key points of the lesson: What is an algorithm? -> An ordered set of clear steps that solves a problem; Give a daily-life example of an algorithm. -> A tea recipe with ordered steps.
We read each sentence again and mark its keyword.
Level ٣: I use what I learned
We apply what we learned by answering these questions: What is an algorithm? -> An ordered set of clear steps that solves a problem; Give a daily-life example of an algorithm. -> A tea recipe with ordered steps; What is a flowchart? -> A drawing of an algorithm using boxes and arrows.
We explain why we rejected each wrong option before choosing the answer.
Level ٤: Games and activities
We take turns with a partner: one of us asks "What is an algorithm?" and the other answers, then we switch roles.
We write a card for each idea of the lesson and order them as they appear in the explanation.
We summarize the lesson in three sentences in our own words without copying.
Level ٥: Mastery and review
I can: identify the main ideas of the lesson; extract the key information; apply what I learned.
We review after one day, then after three days. A short five-minute review is better than one long session.
Optional challenge: I write two new questions of my own about the lesson and ask a partner to answer them.
أخطاء شائعة وتصحيحها
- We answer "What does a decision box in a flowchart look like?" with "A circle always": Correct: A diamond with a yes/no question
- We answer "Name one property of a good algorithm." with "It never ends": Correct: It is clear, ordered, finite and correct
- We answer "Why must algorithm steps be ordered?" with "Order does not matter": Correct: Because changing the order can change the result
- We answer "What does finite mean for an algorithm?" with "It runs forever": Correct: It ends after a limited number of steps
أمثلة محلولة متدرجة
Define an algorithm.
- نقرأ السؤال معًا بهدوء.
- Ordered clear steps.
What shape is used for decisions in a flowchart?
- نقرأ السؤال معًا بهدوء.
- Four sides, pointed.
Name two properties of a good algorithm.
- نقرأ السؤال معًا بهدوء.
- Clear, ordered, finite, correct.
Write an algorithm of four steps for brushing your teeth.
- نقرأ السؤال معًا بهدوء.
- Order matters.
Why is "add some sugar" a weak algorithm step? How do you fix it?
- نقرأ السؤال معًا بهدوء.
- Make it measurable.
Draw with words a flowchart for: if it rains, take an umbrella, else wear sunglasses.
- نقرأ السؤال معًا بهدوء.
- Start, decision, two branches.
Why do programmers write the algorithm before the code?
- نقرأ السؤال معًا بهدوء.
- Plan first, build second.
Write an algorithm that finds the largest of three numbers, step by step.
- نقرأ السؤال معًا بهدوء.
- Compare pairs.
Your friend says: "An algorithm can go on forever." Is this correct?
- نقرأ السؤال معًا بهدوء.
- What does finite mean?
الخريطة الذهنية
إنفوجرافيك: Lesson map: words of the day
We review the questions after one day, then after three days
تدريبات متنوعة مع الإجابات والتفسير
اكتب الإجابة أو اختر ثم اضغط. بعد كل سؤال يظهر الحل مع التفسير.
A) I choose the answer
B) I practice and answer
C) I review and play
ملخص صوتي وقارئ الدرس
قارئ تجريبي يعمل بصوت جهازك (مجاني). ليس تسجيلًا احترافيًا، وجودة الصوت العربي تختلف من جهاز لآخر. التسجيل الصوتي الاحترافي لم يُنتج بعد.
Lesson topic: Algorithms. Before writing any program, a programmer writes the steps of the solution in a clear order.
We review the key points of the lesson: What is an algorithm? -> An ordered set of clear steps that solves a problem; Give a daily-life example of an algorithm. -> A tea recipe with ordered steps.
We apply what we learned by answering these questions: What is an algorithm? -> An ordered set of clear steps that solves a problem; Give a daily-life example of an algorithm. -> A tea recipe with ordered steps; What is a flowchart? -> A drawing of an algorithm using boxes and arrows.
مسار المراجعة للامتحان
- Day one (١٠ minutes): We read levels ١ to ٣ together, then solve exercises (A).
- Day two (١٠ minutes): We play the level ٤ games and solve exercises (B).
- Day three (١٠ minutes): Exercises (C), then the Level One test.
- Before the school exam: We repeat the Level Three test and look at the common mistakes.
اختبارات بثلاثة مستويات
Level One Test: The Basics
٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
Level Two Test: Application
١٠ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
Level Three Test: The Challenge
٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.
المصادر والحقوق
- لا يوجد فيديو أو تسجيل صوتي احترافي بعد.
- Programming and Artificial Intelligence book (English edition), First Secondary Grade, Second Term, Egyptian Ministry of Education and Technical Education: the book was used to determine lesson scope, order and titles only (no text or exercises copied).
- Scope of this term from the official MOE Term ٢ curriculum distribution (February ٢٠٢٦): Unit ٨ Networks (lessons ٨-١ to ٨-٣), Unit ٩ Databases (٩-١, ٩-٢), Unit ١٢ Programming (١٢-١ to ١٢-٣) and Unit ١٣ Generative AI (١٣-١ to ١٣-٧); the English edition mirrors the Arabic book structure. All explanations, examples, exercises and tests were originally authored in English for this edition; they are not a translation of the Arabic text. Review is automated, not by a teacher.
- All explanations, examples, exercises and tests on this page are authored by I BOOK PRESS. Automated and author review only, without teacher review; no video or professional audio yet.