Presentation is loading. Please wait.

Presentation is loading. Please wait.

Algorithms TASK Outcomes What is an algorithm?

Similar presentations


Presentation on theme: "Algorithms TASK Outcomes What is an algorithm?"— Presentation transcript:

1 Algorithms TASK Outcomes What is an algorithm?
Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. What is an algorithm? An algorithm is a precise set of instructions or a set of rules for performing a specific task. TASK As a class, use an algorithm to direct the class robot around the room.

2 Computers Is a computer smart or dumb? TASK Outcomes
Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. Is a computer smart or dumb? TASK Log onto the computers and write down some ideas. Take your time and if you are stuck ask the person next to you before asking the teacher.

3 Algorithms TASK LIGHT BOT
Outcomes Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. LIGHT BOT TASK Write algorithms to complete levels on Light Bot.

4 Cup of Tea Outcomes Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. An alien has landed from Mars and they are in desperate need of a good old cuppa. Write an algorithm for the alien to follow.

5 Cup of Tea Add Sugar to Cup (If Needed) Add Tea Bag to Cup Boil Kettle
Outcomes Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. Add Sugar to Cup (If Needed) Add Tea Bag to Cup Boil Kettle Add Water to Cup Add Milk to Cup Get Cup

6 Python turtle TASK Draw a square. Outcomes
Remember how a computer follows algorithms. Produce an algorithm to make a cup of tea. Create a square using python code. TASK Draw a square.

7 Planning It’s good practice to plan before programming. Outcomes
Understand the use of distance and direction in letter code. Design an algorithm to produce the letter H. Create code that displays the letter H as a capital. It’s good practice to plan before programming. On the piece of paper given to you, you will see a plan for the letter H. This is “Pseudo Code”. Use it to help you draw out the letter H in turtle. At some stages you come backwards, this is where the ‘turns’ appear larger.

8 Direction and Distance
Outcomes Understand the use of distance and direction in letter code. Design an algorithm to produce the letter H. Create code that displays the letter H as a capital. It’s good practice to plan before programming. Everyone needs this code. Why? DIRECTION DISTANCE DIRECTION DISTANCE DIRECTION DISTANCE DIRECTION DISTANCE DIRECTION DIRECTION

9 Sequence Design Outcomes Identify different parts of a computer keyboard. Create code that draws a smiley face. Explain why the smiley face needs a correct algorithm. Your task is to design a program that will print a face using keyboard symbols. Characters: | Hair/Nose - Eyebrows o Eyes \ Mouth _ Mouth

10 Face Program Outcomes Identify different parts of a computer keyboard. Create code that draws a smiley face. Explain why the smiley face needs a correct algorithm. To complete this task you will need 6 lines of code. Check out each line of code shown below. Could you add some more features of the face?


Download ppt "Algorithms TASK Outcomes What is an algorithm?"

Similar presentations


Ads by Google