Control lesson 3

373 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
373
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Control lesson 3

  1. 1. Control Repeats
  2. 2. Starter You have 5 minutes Peer Mark homework
  3. 3. Starter Process Start / Stop Decision Input / Output LT PU CS FD RT BK Left Pen Up Clear Screen Forward Right Back
  4. 4. Lesson Objectives <ul><li>Understand how to make instructions repeat themselves </li></ul><ul><li>Identify different angles for turning </li></ul><ul><li>Be able to use Logo to program loops </li></ul>
  5. 5. Learning Outcomes <ul><li>Starter – Mark homework </li></ul><ul><li>Task 1 – Draw a square with repeat command </li></ul><ul><li>Task 2 – Draw regular shapes </li></ul><ul><li>Task 3 – Draw a pattern using repeats within repeats </li></ul>
  6. 6. <ul><li>Computers can be made to do clever things by giving them the correct instructions </li></ul><ul><li>Computers can repeat things without making mistakes </li></ul>Repetition Repeating actions in logo saves you work and time
  7. 7. Repetition START FD 100 RT 90 Is it a square? STOP No Yes Using repeats makes loop in a system
  8. 8. <ul><li>You use the word Repeat as well as the number of time </li></ul><ul><li>Actions need to be inside brackets </li></ul><ul><li>E.g. To draw a square... </li></ul><ul><li>Repeat 4 [FD 100 RT 90] </li></ul>How?
  9. 9. <ul><li>Load LOGO and use repeat instructions </li></ul>Task 1 You have 10 minutes <ul><li>Make a Square </li></ul><ul><li>Make a Triangle </li></ul><ul><li>Make a Pentagon </li></ul>
  10. 10. <ul><li>Computers can be programmed to work out angles for us such as..... </li></ul>Regular Shapes To draw a Square 360/4 Repeat 4 [FD 100 RT 360/4]
  11. 11. <ul><li>Repeat Commands without angles </li></ul>Task 2 <ul><li>Make a Square </li></ul><ul><li>Make a Triangle </li></ul><ul><li>Make a Pentagon (5 Sides) </li></ul>You have 10 minutes
  12. 12. <ul><li>You can enclose a repeat inside another repeat command </li></ul>Repeats within Repeats Repeat 2 [Repeat 100 [FD 50 BK 50 RT 360/100] RT 90 PU FD 200 LT 90 PD]
  13. 13. <ul><li>Impressive patterns can be programmed using repeating instructions </li></ul>Task 3 <ul><li>Create your own pattern with one line of instructions </li></ul>You have 15 minutes
  14. 14. <ul><li>Repeating actions in logo can save time. </li></ul><ul><li>Computers can be programmed to work out angles and create regular shapes </li></ul><ul><li>Impressive patterns can be programmed using repeating instructions </li></ul><ul><li>Loops can be created to enable software to keep checking and rechecking. </li></ul>What can I remember? Plenary
  15. 15. <ul><li>Repeat 2 [Repeat 100 [FD 50 BK 50 RT 360/100] RT 90 PU FD 200 LT 90 PD] </li></ul>To draw a Square 360/4 Repeat 4 [FD 100 RT 360/4] LT PU CS FD RT BK Left Pen Up Clear Screen Forward Right Back PE Pen Erase PPT Draw Again

×