Intro CS – Loops & Creating Shapes

Slides:



Advertisements
Similar presentations
I Spy! Shapes in our world.
Advertisements

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.
Cosc 1P02 Week 2 Lecture slides
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.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
Triangle Town Hi, I’m Elke. Pleased to be your guide through Triangle Town. Don’t ever worry about getting lost. I’ll stay with you the whole time.
CSC Intro. to Computing Lecture 16: Robotran.
Introducing Scratch the Cat
Institute for Personal Robots in Education (IPRE)‏ CSC 170 Computing: Science and Creativity.
Agent P, I have been hearing some rumours about a Python Turtle.
Introduction to Using the Notebook 10 Software for SMART Board Day 2 LIVINGSTON PARISH PUBLIC SCHOOLS Facilitated by S. Waltman.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Section 1 Introduction National 4/5 Scratch Course.
Gain knowledge of SMART software and its features.
Intro CS – Screens and Variables Lesson Plan 9. Goals  Using sprites as full screens (Start screen, Game over)  Using layering to control ordering of.
1 Project designed and created by M. Shajith Kumar.
Flash animation For beginners. homework Your homework is over two weeks so please write in each week of your planner for the next two weeks For homework.
Chapter 2 – Coordinates and Geometry – Where Shapes Meet Symbols …There is a really really funny math joke on the next slide… … Wait for it… CAUTION… Mr.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Digital Art in Scratch part 2 Barb Ericson Georgia Tech Nov 2010.
First of all – lets look at the window’s you are going to use. At the top you have a toolbar, with all your various tools you can use when customising.
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.
Intro CS – Costumes and Variables Lesson Plan 6. Goals  Understanding Costumes, Ordering, Naming  Switching Costumes with Switch and Next  Using Variables.
Intro CS – Broadcasting Messages Lesson Plan 8. Goals  Using broadcasting to track events across sprites and act on them.
Intro CS – Loops, making animations & films Lesson Plan 3.
Intro CS – Keyboard and mouse input Lesson Plan 7.
Intro CS – Costumes and Variables
Python Turtle Graphics
Interior Angle Measure Lesson and Questions
Computer Programming.
Intro CS – Screens and Variables
Intro CS – Loops, making animations & films
Module 2: Investigation 1
Spanish Mad libs with Scratch
Intro CS – Probability and Random Numbers
Intro CS – Keyboard and mouse input
Intro to CS Monday, August 29
MATHS Week 8 Geometry.
Intro to CS Monday, August 24
Using Pythagoras… What is the exact length of the hypotenuse in this triangle? ?cm 8cm 4cm.
Evgeniya Gushchina EPAM e-kids volunteer computer science teacher
Agent P, I have been hearing some rumours about a Python Turtle.
Flipping Across the Axis
Learning to program with Logo
Introduction to Computer Basics Part 2
ROTATIONS UNIT 1 – sept. 8.
Flash animation For beginners.
Introduction to Coding
Module 5 Lesson 3 Extreme Scratch Cards
Graphing & Describing “Reflections”
Graphing & Describing “Translations”
Module 2 Lesson 3 Over and Over Again
Graphing and Describing “Rotations”
T1.2e To Create Reference Angle Triangles (Butterfly)
Problem Solving: Use Reasoning
Hour of Code.
Moving Sprites in Scratch
Go to =>
Graphing and Describing “Rotations”
Mod 2 Lesson 2 Repeating Debugging
Mod 2 Lesson 2 Repeating with loops
Explain what touch develop is to your students:
© LaunchPad Learning Inc. All rights reserved.
Module 2 Lesson 3 Over and Over Again
Mod 5 Lesson 1 Scratch Cards: Easy
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Presentation transcript:

Intro CS – Loops & Creating Shapes Lesson Plan 4

Loops, Creating shapes, Goals Review last week: sprite movement, pens (haven’t learned yet) Introduce Algorithm - a list of well defined instructions to solve a class of problems Examples: Drawing your name using Scratch Multiplying two numbers Show square example (no looping) Show square example (repeat loop) Show squares/checkerboard example (nested loops) Show input to collect number of sides, side length, angle to turn Give exercises for in class practice (show shapes on slides, students try to create those shapes) Students should come out of this lesson understanding the coordinate system, spatial properties, and how to draw using pen LP ideas from: http://www.cs.uni-potsdam.de/~romeike/UEWettbewerb/index-english.htm

Agenda Review what we learned in the last lesson – how to create a short animation film – what were some interesting things you noticed? Topics today, we will be stepping back and learning the fundamentals of how to draw in Scratch: Coordinate system How to draw lines in Scratch How to draw a square How to draw a circle How to use loops to draw images many times LP ideas from: http://math2033.uark.edu/wiki/index.php/Scratch_Programming

Drawing Using Loops Lesson Plan 4 Today we will be learning how to draw shapes and pictures in Scratch. Let’s review the last lecture and daily project. What were some things you found to be difficult? Some interesting things? Did anyone have difficulty with the placement of the sprite on the screen? Anyone notice the x-axis and y-axis and go to x/y axis block?

Coordinate system Coordinate system: uses numbers or coordinates to uniquely determine the position of a point. 2 1 Questions to ask: Show of hands how many of you know about the coordinate system? How many of the students are familiar with coordinate system? Will we have to review? Which one is the x-axis, y-axis? Four quadrants: 1, 2, 3, 4 in C shape Examples: where do you think the points are? (0, 0) origin (100, 100) (-50, 25) (50, -25) (-50, -50) Ask students for numbers and have them tell you where to draw the point 3 4

Drawing Lines Pretend I’m a sprite, what would you tell me to do step by step to draw a line? Questions to ask: Pretend I’m a robot, what would you tell me to do in order to draw a line? Pick up a pen Put the pen down on the paper Pick a direction Go forward for x number of steps Pick the pen back up How do you think we could change color and size of the line?

Drawing Squares How would I draw a square? Questions to ask: Again pick up pen Put the pen down on the paper Pick a direction Go straight until you move x number of steps Turn 90 degrees and do all over again 3 more times What’s something you noticed about this code? What are we repeating many times? How can we simplify the code so it becomes shorter and less repetitive? We want the code to do the work for us, we shouldn’t have to manually do everything.

Drawing circles How could I draw a circle? How do you think we would draw a circle? Think about how many degrees there are in a circle and how many times I would have to turn? How to change the color and size of the circle? How to increase the radius of the circle? Change the number of steps you move.

Using loops to draw How could we draw a square 4 times? One in each quadrant If we wanted to draw a square 4 times how could we do this? One in each quadrant.

Example Demo Let’s look at an example of using a sprite to make a square and circle Draw Square and Circle Turtle, walking to do a circle, forward and turning

Daily project By the end of class, each student should create a project that shows a drawing they have done of their initials or other drawing and repeat it in each quadrant of the coordinate system. Worth 13 points total Grade Breakdown – Must Include Points 1) Use pen up/down 1 point 2) Drawing of student’s initials or another drawing 3 points 3) Repeat the drawing in each quadrant 4 points; 1 for each quadrant 4) Change color of the pen 5) Change size of pen stroke 6) Cool shape in middle of screen (using repeat loops)

Surveys 1) http://www.surveymonkey.com/s/TEALS 2) Class Survey Sign in to Connect Search for Mr. Parker Click Mr. Parker’s Web Site Click Info/Posts tab Click “Please answer a few questions about yourself” Fill out the survey