Module 2 Lesson 3 Over and Over Again

Slides:



Advertisements
Similar presentations
Section 1 Introduction National 4/5 VB Course. What you should know after this lesson What is a program Who writes programs Why is sequence important.
Advertisements

Programming Concept #2 Iteration. Is just a fancy way of saying that you would like something to repeat more than one time. It is used in any modern programming.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
Yr 9 a computer science Nice to meet you variable challenge! 1.Variable assessment Looping in python 2.Looping assessment Drawing in python using turtle.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
Scratch – Simple Programming
Module 8 Lesson 1 & 2. Objectives Describe two-dimensional shapes based on attributes. Build, identify, and analyze two-dimensional shapes with specified.
Introducing Scratch the Cat
Patterns and Transformations $10 $20 $30 $40 $50 $30 $20 $40 $50 $10 $40 $50 Combine Shapes Patterns Polygons Transformations Transformations are worth.
Lesson 14 Measure of the Angles of Polygons. Get the idea The sum of the measure of interior angles of any triangle is 180°. We can use this fact to help.
Scratch Programming Lesson 2 First glance to programming logic.
Class 2 Introduction to turtle graphics
Agent P, I have been hearing some rumours about a Python Turtle.
Module 8 Lesson 5. Objective Relate the square to the cube, and describe the cube based on attributes.
Warm Up Solve x = x = x = x + 32 = 180 Course Angles in Polygons.
Data Handling.
Jeopardy Solid Figures Plane Shapes Cutting Shapes Which Shape Am I? Q $11 Q $22 Q $33 Q $44 Q $55 Q $11Q $11Q $11Q $11 Q $22Q $22Q $22Q $22 Q $33Q $33Q.
Section 1 Introduction National 4/5 Scratch Course.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Lesson 3: Rotating Shapes. Some Things to Remember… Visualize how the shape is rotating Visualize how the shape is rotating What is a 90° turn? What is.
By Liam Lane How To Use MSW LOGO.
Freehand Sketching. Draw a horizontal line about 70 mm long, and then another six lines underneath, each separated by about 10 mm.
1 Project designed and created by M. Shajith Kumar.
Shapes Lesson Starter. Question 1 Which two shapes below that are polygons. B C D AE.
Getting started with the turtle Find the latest version of this document at
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
Digital Art in Scratch part 2 Barb Ericson Georgia Tech Nov 2010.
Shapes and Crystal Flowers KS2: Use repetition in programs.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
Shapes Polygons, Symmetry, Nets Hexahedron Tetrahedron.
What does this do? Pen up? Pen Down? Clear? Set Pen Color? Set Pen Shade? Stamp? 1.
Today… The for loop. Introducing the Turtle! Loops and Drawing. Winter 2016CISC101 - Prof. McLeod1.
Search for it on your computer
Drawing in Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Using the Python Turtle
Module 2: Investigation 2
Interior Angle Measure Lesson and Questions
Computer Programming.
Module 1: Investigation 2 Repeating and Alternating Patterns
Exploring Mathematical Relationships Module 5: Investigation 3
Intro CS – Loops & Creating Shapes
Module 2: Investigation 1
Scratch – Simple Programming
Agent P, I have been hearing some rumours about a Python Turtle.
Loopy Motion Control.
Introduction to.
Topic 12 Patterns and Relationships Lessons 12-1 thru 12-3
Module 5 Lesson 3 Extreme Scratch Cards
Hour of Code.
Here are four triangles. What do all of these triangles have in common
7-8 Angles in Polygons Warm Up Problem of the Day Lesson Presentation
Mod 2 Lesson 2 Repeating Debugging
Mod 2 Lesson 2 Repeating with loops
Tessellations 12-6 Warm Up Lesson Presentation Lesson Quiz
SHAPES By: Ms. Conquest.
© LaunchPad Learning Inc. All rights reserved.
Print the following triangle, using nested loops
Module 2 Lesson 3 Over and Over Again
Intro to Programming 2/23/2016 Review Sections 1-3
Mod 5 Lesson 1 Scratch Cards: Easy
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Shapes and Crystal Flowers
Welcome GCSE Maths.
Welcome GCSE Maths.
Lesson Six Drawing.
2 Making Blocks.
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Module 2 Lesson 3 Over and Over Again Scratch Module 2 Lesson 3 Over and Over Again

Intro. Learning Objectives Students will become familiar with nested loops. Students will then apply these skills in creating different shapes and patterns.

Iteration = ? Iteration = repeating Today you will put a loop inside another loop. (Nested loop.)

What does the following do? Enter it into Scratch and use the Debugger to step through it to see what it does. Nested loops Trace how they run. Modify the program to.. Change the colors of the shapes in the loop Change the number of Pentagons in the outer loop to 3.

Write the program to create this screen with one set of commands?

Hints Hide the sprite and clear the screen Must have an outer loop to repeat the drawing of each shape 5 times Sides/angles: 360/sides = angle Set the x and y position before you begin drawing your first triangle. Remember to use the pen up command before moving to draw the next figure Once you have drawn the first four shapes, you will need to move the x coordinate back to the right.

Turn it in YournameMod2Lesson3Shapes

Exercise 2: Create the following with one set of commands

Hints Start by drawing one of the small squares. Modify this to make the first 4 squares. (Rotate about a corner and repeat) Pen up and move Repeat the other four squares. Use the nested loop. Extensions: Have the second group be a set of 9 smaller squares. Make 5 sets of 4 squares Save it as YourNameMod2Lesson3Squares

Activity 3 Use nested loops to draw the flower. Hints Start at (0, 0) Save it as YourNameMod2Lesson3Flower Extensions Add a stem Change the number of petals Make the petals fatter/thinner Make a bouquet of flowers