Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit 3: Lesson 9-Looping and Random Numbers

Similar presentations


Presentation on theme: "Unit 3: Lesson 9-Looping and Random Numbers"— Presentation transcript:

1 Unit 3: Lesson 9-Looping and Random Numbers
Day 29

2 Review/Journal/Quiz Quiz Journal Check

3 Looping and Random Numbers
Even after creating functions with parameters, there are still instances when our code can be repetitive because we wish to call the same function or group of functions many times.

4 Looping and Random Numbers
Tutorial Video: Loops Using loops to draw figures. Use loops in conjunction with Top-Down Design and random values to complete a digital scene.

5 Looping and Random Numbers
The ability to repeat a series of steps, often referred to as iteration, allows us to more easily solves these problems. In most programming languages a programming construct called a loop allows you to repeatedly call (or "loop over") a set of commands. This lesson explores the power of loops by introducing the for loop.

6 Looping and Random Numbers
Loop: a programming construct that repeats a group of commands. Iteration: "loop" by another name - the repetition of a statement, process, or procedure. For Loop - A particular kind of looping construct provided in many languages. Typically, a for loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times.

7 Looping and Random Numbers
Tutorial Video: Loops Using loops to draw figures. Use loops in conjunction with Top-Down Design and random values to complete a digital scene. Complete Lesson 9 code.org

8 Lesson 10 Start Lesson 10- Group Project Review / Next Class


Download ppt "Unit 3: Lesson 9-Looping and Random Numbers"

Similar presentations


Ads by Google