Code.org Lesson 2 - Loops

Code.org Lesson 2 - Loops
1 / 10
next
Slide 1: Slide
ComputingLower Secondary (Key Stage 3)

This lesson contains 10 slides, with interactive quizzes and text slides.

time-iconLesson duration is: 50 min

Items in this lesson

Code.org Lesson 2 - Loops

Slide 1 - Slide

Iteration in coding refers to the process of repeatedly executing a set of instructions, until a specific condition is met.
Selection in coding refers to making decisions within a program by choosing one or more paths or actions based on specific conditions or criteria.
Sequence in coding means executing instructions one after the other in a set order.

Slide 2 - Drag question

Sequence
Sequence in coding refers to the linear order in which instructions are executed, ensuring that they are carried out one after the other in a predetermined fashion.

Slide 3 - Slide

Selection (IF statements)
Selection in coding refers to making decisions within a program by choosing one or more paths or actions based on specific conditions or criteria.

Slide 4 - Slide

Iteration (loops)
Iteration in coding refers to the process of repeatedly executing a set of instructions, typically within a loop, until a specific condition is met.

Slide 5 - Slide

KO - Use loops to solve coding challenges on code.org
  • Students will be able to identify and define basic loops (e.g., while loop, for loop) on code.org
  • Students will demonstrate the ability to use loops to solve moderately complex coding challenges on code.org
  •  Students will showcase proficiency in optimising code using loops and demonstrate an understanding of different types of loops available on code.org

Slide 6 - Slide

Lesson 10
Loops with Rey and BB-8 - work through the stage. You need to make sure your lesson circles are solid green!

Slide 7 - Slide

Nested Loops
A nested loop is like having a loop inside another loop, which helps us do things over and over in a more organized way, especially when dealing with complicated tasks.

Slide 8 - Slide

Lesson 12
Nested Loops in Maze - work through the stage. You need to make sure your lesson circles are solid green!

Slide 9 - Slide

Answer the following in full sentences:
1) What did you learn about coding today in class? What?
2) What was the hardest part about today's lesson? Why?
3) What was the most interesting part in today's lesson? When?

Slide 10 - Open question