Search Header Logo
Nested Loop

Nested Loop

Assessment

Presentation

Computers

3rd Grade

Medium

Created by

M S

Used 2+ times

FREE Resource

8 Slides • 12 Questions

1

NESTED LOOPS

2

Let's Recap





What are LOOPS?

3

Definition - Loops

When you repeat the same action more than 1 time it is a Loop.

4

Definition - Nested Loops

A loop inside of another loop.

5

media

Simple algorithm (code) to draw a square with length 200 pixels (px)

media

6

media

Code using loop

media
media

Code without using loop

Comparison of two algorithms to draw a square with length 200 pixels

7

media

Algorithm to draw 3 square each with length 100 pixels and at a distance of 50 pixels away from each other.

media
media
media

Note: The command 'Jump forward by 150' is because the side of square + distance between 2 squares, i.e 100 + 50 = 150.

8

media

Code using nested loop

media
media

Code without nested loop

media
media

Comparison of two algorithms to draw 3 square each with length 100 pixels and at a distance of 50 pixels away from each other.

9

Multiple Choice

Question image

How many times will the bee move forward?

1

10

2

5

3

2

4

7

10

Multiple Choice

Can you nest more than two loops?

1

Yes

2

No

11

Multiple Choice

Question image

What shape does this code make?

1

Rectangle

2

Triangle

3

Square

4

Circle

12

Multiple Choice

Question image

Which is the correct code for this puzzle?

1
2

13

Multiple Choice

Question image

Which is the correct way to shorten this code?

(click the picture to make it bigger)

1
2

14

Multiple Choice

Question image

The artist has to draw a window for the spaceship.

How many times does the pattern need to repeat in order to complete the picture?

1
2
3
4

15

Multiple Choice

Question image

What number should replace the "?" in the code?

(click the picture to make it bigger)

1

3

2

4

3

12

4

11

16

Multiple Choice

Question image

How many lines will the artist draw based on the code in the picture?

(click the picture to make it bigger)

1

1

2

2

3

3

4

4

17

Multiple Choice

Question image

The following blocks will allow the bee to eat all the nectar.

(click the picture to make it bigger)

1

True

2

False

18

Multiple Choice

Question image

How many times will the Bee move forward?

1

6

2

3

3

8

4

100

19

Multiple Choice

Question image

How many times will the Bee move forward?

1

15

2

10

3

8

4

12

20

Multiple Choice

What is a loop inside of a loop called?

1

Loopity Loops

2

Double Loops

3

Nested Loops

4

Bird Loops

NESTED LOOPS

Show answer

Auto Play

Slide 1 / 20

SLIDE