Code, Algorithms, and Sequences

Published on May 07, 2020

No Description

PRESENTATION OUTLINE

Code, Algorithms and Sequences

Day 1

What is code?

This week we're going to use code to make lots of programs.

Who can tell me what code is?

It's a language we use to tell a computer what to do.

There are many different coding languages -- maybe you know what some of them are called?

Answers: Javascript, Python, C++, Basic, and Scratch!

Computers speak lots of languages, just like people. We have to write our code in the language the computer understands or it won't do what we want.

When we write our language (or code), we have to think about how we say it so that the listener (the computer) understands us!

and this!

Scratch is the language we'll use this week.

It's called a visual language. What do you think that means?

The code is presented like puzzle pieces that we click together. Each puzzle piece is a piece of code that tells the computer what to do.

Algorithm

Here's a word that you may have never heard, but I bet you've all used one!

Does anyone know what an algorithm is?

It's the set of instructions that we follow to complete a task!

Who can tell me about an algorithm they use to do something?

A recipe,
A set of LEGO building instructions
A list of chores to complete
A daily schedule at school
Even the steps we use to get to brush our teeth!
Photo by pmsyyz

Sequence

The steps you use to brush your teeth are an algorithm!

What are the steps we take to brush our teeth?

Is it important to do the steps in the right order?

Putting something into the right order is also called a sequence of steps

Cereal Challenge

We're going to do an activity that will test your ability to write an algorithm that a computer will read and follow.

Actually, a human computer will follow your instructions.

You and a partner will write down the set of instructions for a computer to make you a bowl of cereal for your breakfast.

The computer will have these materials (show them the materials):

bowl
spoon
milk jug
cereal box

hand out paper and pencil to each team.
Give them about 15 minutes to write their instructions
When they are done, one Sensei will read the instructions and the other Sensei (the human computer) will act it out LITERALLY. Don't read into the instructions. Make it funny, and ham it up when you do this.

Photo by Daniel Y. Go

Sharon Buttram

Haiku Deck Pro User