Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.81 KB

unit-5-lesson-03.md

File metadata and controls

51 lines (34 loc) · 1.81 KB

Lesson 5.3: forEach Loops


Lesson Materials

📖 Upload as Material in Google Classroom:

📝 Upload as Assignment in Google Classroom (5 points):


Key Points

🗣️ Do Now & Share Outs (7) :

  • Engage students and set a positive tone for the lesson.
  • Start with a discussion on arrays.
  • Guide students to modify arrays and share their findings.

➰ forEach Loops (15) :

  • Explain the concept and syntax of forEach loops.
  • Discuss how forEach loops are used for iterating over arrays.
  • Provide examples to illustrate forEach loops in action.

🔥 Rapid Questions (3) :

  • Quick Review: Pose rapid-fire questions to reinforce key concepts.

💻 Code Along (15) :

  • Lead a coding session where students apply forEach loops in real scenarios.
  • Encourage students to try out examples and variations.
  • For the third task (finding the sum), talk through the logic with the students if they struggle.
    • "We need to update the sum each time."
    • "Sum is already declared, so we can take that variable and equal it to a new value."
    • "The new value should be whatever the sum is plus the new number we want to add."
    • "What would that code look like?"

👋 Exit Ticket & Closing (5)

  • Direct students to the Exit Ticket in Google Classroom, ensuring all questions are answered.
  • Summarize key takeaways, remind students to submit the exit ticket, and provide any closing remarks.

Common Misconceptions

Additional Materials

  • n/a