Computer programs

659 views
520 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
659
On SlideShare
0
From Embeds
0
Number of Embeds
20
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Computer programs

  1. 1. Control Computer Programs
  2. 2. Starter You have 5 minutes Order these instructions for making a cheese sandwich.
  3. 3. Lesson Objectives <ul><li>Understand how programming language can be used to give simple instructions </li></ul><ul><li>Identify commands in Logo </li></ul><ul><li>Be able to draw simple shapes using Logo </li></ul>
  4. 4. Learning Outcomes <ul><li>Starter – Order Instructions </li></ul><ul><li>Task 1 – Create a Flow Chart </li></ul><ul><li>Task 2 – Practice Logo Commands </li></ul><ul><li>Task 3 – Turning Corners </li></ul><ul><li>Task 4 – Leaving Gaps </li></ul>
  5. 5. Flow charts <ul><li>When completing a task, you need to ensure that the instructions to follow are step by step. </li></ul><ul><li>Imagine you are doing something new and are following a list of instructions. You will need these instructions to be in order . </li></ul><ul><li>An ordered list of instructions is called a sequence . </li></ul>
  6. 7. Flow Chart Symbols <ul><li>A set of instructions for a task can be represented using diagrams . </li></ul><ul><li>Instructions to computers can be summarized by using a flow chart . </li></ul><ul><li>A flow chart is a diagram that uses special symbols and language . </li></ul><ul><li>Each symbol has a specific meaning and purpose , and there are certain words that the computer expects to see </li></ul>
  7. 8. Flow Chart Symbols
  8. 9. Task 1 Match the symbols to the Flow chart
  9. 10. <ul><li>LOGO is a very powerful programming language because it makes a computer do almost anything </li></ul>LOGO
  10. 11. <ul><li>Load LOGO and move the turtle using commands </li></ul>Task 2 <ul><li>Forward </li></ul><ul><li>Backward </li></ul><ul><li>Clear Screen </li></ul><ul><li>Home </li></ul>You have 5 minutes
  11. 12. <ul><li>Turning corners can be done by stating right /left and by how many degrees e.g. RT 90 </li></ul>Task 3 <ul><li>Turn left/ right </li></ul><ul><li>Draw a square </li></ul><ul><li>Draw a triangle </li></ul><ul><li>Draw a letter </li></ul>You have 10 minutes
  12. 13. <ul><li>You can turn off the trail with PENUP (PU) and back on with PENDOWN (PD) </li></ul>Task 4 <ul><li>Clear Screen (CS) </li></ul><ul><li>Draw 2 squares </li></ul><ul><li>Draw 2 triangles </li></ul><ul><li>Draw 2 letters </li></ul>You have 10 minutes
  13. 14. <ul><li>Complete the worksheet on Flow Charts and Logo Commands </li></ul>Homework
  14. 15. <ul><li>An ordered list of instructions is called a sequence . </li></ul><ul><li>Instructions to computers can be summarized by using a flow chart . </li></ul><ul><li>A flow chart is a diagram using special symbols and language . </li></ul><ul><li>LOGO is a very powerful programming language because it makes a computer do almost anything </li></ul>What can I remember? Plenary
  15. 16. <ul><li>FD = Forward </li></ul><ul><li>RT = Right </li></ul><ul><li>LT = Left </li></ul><ul><li>PU = Pen up </li></ul><ul><li>PD = Pen down </li></ul>

×