Search Header Logo
Loops and Nested Loops

Loops and Nested Loops

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Karen Franklin

Used 11+ times

FREE Resource

5 Slides • 4 Questions

1

media

Using Loops

2

Lesson Objectives:

By the end of this lesson, you will be able to:

  • Define the term Loop.

  • Explain how to create a loop using block codes.

3

Open Ended

What do you think a loop is in coding? Why would we want to use them?

4

Loops

  • Definition:

    • Repeating lines of code over and over again

  • Purpose:

    • Reduce the number of lines needed

    • Reduce the risk of typing mistakes

5

Multiple Choice

Repeating lines of code is called a:

1

Program

2

Code

3

Function

4

Loop

6

Multiple Select

Which of the following are reasons we should use loops? (multiple correct)

1

Reduce the risk of typing mistakes

2

Make the code more complicated

3

Reduce the lines of code needed.

4

So we can name the code and reuse it.

7

8

Draw

Question image

Circle the blocks that should be moved into the loop to create a triangle.

9

Assignment:



Go to Code.org and begin working on Lessons 10-11 to practice creating loops.

media

Using Loops

Show answer

Auto Play

Slide 1 / 9

SLIDE