hour of code - a pep talk for widcombe junior school

18
Hour of Code

Upload: guymccusker

Post on 20-Jul-2015

96 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Hour of code - a pep talk for Widcombe Junior School

Hour of Code

Page 2: Hour of code - a pep talk for Widcombe Junior School

Hour of CodePower

Page 3: Hour of code - a pep talk for Widcombe Junior School

Computers are…

• Powerful

• Useful

• Amazing

• Everywhere

• Clever?

Page 4: Hour of code - a pep talk for Widcombe Junior School

Computers are…

• Just a big pile of wires and chips put together in a clever way

• (not those chips; silicon chips)

• They seem useful and clever because they can follow our instructions really well.

Page 5: Hour of code - a pep talk for Widcombe Junior School

Great things computers do

• What are your favourite uses of computers?

Page 6: Hour of code - a pep talk for Widcombe Junior School

Great things computers do• Communication: email, messaging, phone calls

• Entertainment: making movies, showing movies, playing games

• Analysing information: weather forecasts, speech recognition, web search

• Controlling other things: aeroplanes, washing machines, … just about everything.

Page 7: Hour of code - a pep talk for Widcombe Junior School

Paddington isn’t really thereHe was drawn by a computer

Page 8: Hour of code - a pep talk for Widcombe Junior School

But they’re not clever• All a computer can do is follow instructions.

• Everything that any computer ever does, it was told to do by somebody.

• Computers carry out 10,000,000,000,000,000,000 instructions every second! That is roughly one billion per person.

• The instructions are programs written in a programming language, also called code.

Page 9: Hour of code - a pep talk for Widcombe Junior School

Code• Code used to look like

this: carefully punched holes on cards !

• These days it is much easier to read and write.

Page 10: Hour of code - a pep talk for Widcombe Junior School

An old code

• The Roman general Julius Caesar used a code to make his messages secret.

• He moved every letter of the message three places on in the alphabet.

W i d c o m b eZ l g f r p e h

Page 11: Hour of code - a pep talk for Widcombe Junior School

An old code, in code

Page 12: Hour of code - a pep talk for Widcombe Junior School

Code: four easy ideas• There are really only four kinds of things to

understand:

• moving information: getting it from somewhere, or putting it somewhere

• calculating with information

• choosing what to do next

• repeating some instructions over and over again

Page 13: Hour of code - a pep talk for Widcombe Junior School

Repetition: the big idea

• Repetition is the reason computers are so useful.

• We have to write every instruction, but we don’t have time to write 10,000,000,000,000,000,000 instructions per second!

• So we write a few and ask the computer to repeat them over and over again.

Page 14: Hour of code - a pep talk for Widcombe Junior School

Repetition• Dear computer, here is a big list of pictures. Please

do this:

1. find the first picture you haven’t dealt with yet

2. draw the picture on my screen

3. mark that picture as done

4. go back to step 1 and get the next picture.

Page 15: Hour of code - a pep talk for Widcombe Junior School

Repetition in Scratch

Every way of coding has some way of telling the computer to repeat instructions.

Keep going until something special

happens

Keep going until someone turns

the computer off

Page 16: Hour of code - a pep talk for Widcombe Junior School

Where’s the cleverness?

• The cleverness comes from moving data, calculating, choosing what to do, and repeating in interesting ways.

• Those interesting ideas come from people.

• Why not you?

Page 17: Hour of code - a pep talk for Widcombe Junior School

Learn about coding• By learning a little bit about coding, you can:

• understand a bit better all the amazing things that computers are doing

• maybe, create the next great game, or an amazing movie effect, or… something nobody has thought of yet.

• It will take more than an hour!

Page 18: Hour of code - a pep talk for Widcombe Junior School

Start here. Go… where?• The Hour of Code is your start with coding.

• You also learn Computing throughout school.

• You can learn programming at school, at university, or at home.

• It is about simple ideas, used creatively, to do great things.

• What will you do?