Download presentation
Presentation is loading. Please wait.
Published byLiliana Richards Modified over 5 years ago
1
What is an algorithm? Buddy Buzz Who can answer this question?
2
Algorithm – is A list of steps to finish a task.
What is an algorithm? Algorithm – is A list of steps to finish a task.
3
What is a program? Buddy Buzz Who can answer this question?
4
What is a program? A program is an algorithm that has been coded into something that can be run by a computer.
5
What is a code? Buddy Buzz Who can answer this question?
6
What is a code? So programming is writing instructions for a computer to perform. The instructions or algorithms are written in special languages that are unlike human languages, this special language is code.
7
Algorithm Move One Square Right Move One Square Left Move One Square Up Move One Square Down Fill-In Square with color
8
Example 1
9
Example 1
10
Example 2
11
Example 2
12
With just one substitution, we can do this so much easier….
13
And this is the code! The arrow symbols are the “code” and
the words are the “algorithm”. This means that we could write the algorithm: “Move one square right, Move one square right, Fill-in square with color” And this is the code!
14
Example 2 Now what would it look like?
15
Example 2
16
YOUR TURN TO PROGRAM! You will work with your buddy buzz partner
Select one of the images. Discuss the algorithm to draw that image with partner. Turn your algorithm into a program using code. Trade your code with another pair and draw one another's image. Choose another image or create your own image and go again!
18
Wrap up! Flash Chat! What did we learn today? What if we used the same arrows, but replaced "Fill-In Square" with "Lay Brick"? What might we be able to do? What else could we program if we just changed what the arrows meant? Which one of these is the most like a "program"? *A shoebox full of pretty rocks *Twelve pink flowers in a vase *Sheet music for your favorite song Explain why you chose your answer. Last….Go to your computers and go to Formative for your exit ticket....
19
Try this…
20
Try this…
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.