Lesson Plan 4: Turtles and loops



Lesson Plan 4: Turtles and loopsCourse: KS3 ComputingSession: 4 of 10Date: Jan/Feb 2018Lesson aims and outcomesIn this lesson we will use the Python turtle graphics to draw shapesYou will learn about loops in Python that use the keyword forYou will learn the term iterationAll of you should be able to modify programs which use a for loopSome of you will be able to write your own programs with a for loopTeachers notesPython Turtle graphics are really useful for teaching for loops, consolidating functions and introducing parameters. In this session Turtle graphics are introduced quite quickly, using one function using def() for each shape being drawn. This can also help to consolidate functions for naming. The students should be able to pick up the Turtle commands in sequence quite quickly and then the for loop is introduced half way through the lesson to show how the same shapes can be made more efficiently. Structure of sessionTimeActivityResources0- 5 minsArrival and settlingQuick Do Now – see if students can predict that it will be a shape, with green middle and red border.Do Now activity (Predict)5-15 minsStudents download the program and answer some questions in pairs to help them investigate the code – go through answersActivity Sheet 4a15-30 minsProgramming – students modify the square function and make more shapesActivity Sheet 4a30 – 40 minsAnother predict task – looking at the square code as a for loop – demo to the classActivity Sheet 4b40 – 50 minsProgramming – change triangle and other shapes using a for loopActivity Sheet 4b55 – 60 minsReview – fill in the gaps in the triangle function (students can do on a piece of paper or mini whiteboards and then go over as a whole group. Lesson 4 slides ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download