concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...the learning station a...

55
Everyday Computing Concepts By Phil Bagge HIAS Computing Inspector / Advisor CAS Community Leader Author of the code-it resources Supported by

Upload: others

Post on 08-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday Computing Concepts

By Phil Bagge

HIAS Computing Inspector / Advisor

CAS Community Leader

Author of thecode-it resources

Supported by

Page 2: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Menu

• Everyday Sequence

• Everyday Repetition

• Everyday Selection

• Everyday Variables

• Everyday Procedures

Develop one concept at a time.

Start with the everyday understanding of the concept using this resource

Then roleplay the concept using the concept before coding resource

Finally create a programming project that uses the concept

Page 4: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Go down the hill

• Turn left onto the road

• Past the small shop

• It has a green door

Picture by Hannah Donovan

Giving directions

Page 5: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Pack away

• Stack your chairs

• Get your coats

• Line up ready to go

Teacher instructions

Picture by KalvinKalvin

Page 6: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Pack away

• Stack your chairs

• Get your coats

• Line up ready to go

Teacher instructions

Picture by KalvinKalvin

Does the order the children carry out the instructions

matter?

Page 7: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Pack away

• Stack your chairs

• Get your coats

• Line up ready to go

Teacher instructions

Picture by KalvinKalvin

Does the order the children carry out the instructions

matter?

The order does matter for this sequence but it might not alwaysmatter for every sequence.

Page 8: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Head east

• Turn left

• Turn right

• Turn right

Satnav instructions

Google Maps

Page 9: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Head east

• Turn left

• Turn right

• Turn right

Satnav instructions

Google Maps

Does the order

matter?

Page 10: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday sequences

• Head east

• Turn left

• Turn right

• Turn right

Satnav instructions

Google Maps

Does the order

matter?

The order is very important for this sequence butit might not always matter for every sequence.

Page 12: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday repetition

Music loops

Can you think of any other songs with loops?

I know a song that will get on your nervesGet on your nervesGet on your nervesI know a song that will get on your nervesGet on your nervesGet on your nervesI know a song that will get on your nerves x3

https://www.youtube.com/watch?v=1mgpZ3gaYv0

repetition

repetition

repetition

Page 13: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday repetition

Dance loops

Which parts of the dance are repeated?

Better when I'm Dancing - Meghan Trainor - Easy Kids Dance Warming Up

Video - Choreography

Page 14: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday repetition

Dance loops

Which parts of the dance are repeated?

Brain Breaks - Action Songs for Children - Happy Dance - Kids Songs by

The Learning Station

Page 15: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday Conditional SelectionChoices made that affect the outcome

Page 16: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you don’t tidy your roomI will be very cross

Page 17: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you don’t tidy your roomI will be very cross

condition

action

Page 18: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

What is the condition?What is the action?

Page 19: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

condition

action

Page 20: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

What happens if she doesn’t do her jobs?

Page 21: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

We don’t know

Page 22: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

Elseno pocket money

What happens if she doesn’t do her jobs?

Page 23: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

Elseno pocket money

No pocket money

Page 24: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday selection

If you do your jobsI will pay your pocket money

Can you write your own everyday condition and action?

Page 25: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday VariablesUsed to store information that can be referenced by an algorithm or computer program

Page 26: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor Name

Value(Red car)

Monday

Page 27: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor Name

Value(Yellow car)

Tuesday

Page 28: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor Name

ValueEmpty

Wednesday

Page 29: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor

What is this variable called?

Page 30: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor

What is this variable called?

visitor

Page 31: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor

Tell your neighbour how the value of the variable changed every day

Page 32: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Visitor Car Parking Space

P Visitor

Tell your neighbour how the value of the variable changed every dayMonday Red carTuesday Yellow carWednesday Empty

Page 33: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday variables Wedding Planning

BrideGroom Best man

Mr SmithMiss Jape Mr Holt

Name

Value

St Jude Wedding Service 9-10 am

Page 34: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

BrideGroom Best man

DerrickSade Mr Peters

St Jude Wedding Service 10-11:20 am

What has changed?

Page 35: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

What has changed?

BrideGroom Best man

DerrickSade Mr Peters

St Jude Wedding Service 10-11:20 am

The values have changed as it is a new wedding later in the morning

Page 36: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

What value is assigned to the Groom variable?

BrideGroom Best man

Peter DockSally King Mr Chow

St Jude Wedding Service 1-3 pm

Page 37: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

What value is assigned to the Groom variable?

BrideGroom Best man

Peter DockSally King Mr Chow

St Jude Wedding Service 1-3 pm

Page 38: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Explain to your partner how the Bride variable value changes?

Bride Groom Best man

Peter DockSally King Mr Chow1-3 pm

DerrickSade Mr Peters10-11:20 am

Mr SmithMiss Jape Mr Holt9-10 am

Weddings at St Judes

Page 39: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Explain to your partner how the Bride variable value changes?

Bride

Sally King

Sade

Miss Jape

Weddings at St Judes

Wait until 9amAssign Miss Jape to Bride variableWait until 10amAssign Sade to Bride variableWait until 1pmAssign Sally King to Bride variable1-3 pm

10-11:20 am

9-10 am

Page 40: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday ProceduresA set of instructions grouped together to carry out a task that can be used lots of times

Page 41: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. What procedures have been taught

to the dog?

Page 42: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. What procedures have been taught

to the dog?

beg, roll, shake

Page 43: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake.

Choose one of the procedures taught to the

dog. Write a simple procedure algorithm to show what instructions

might be included.

Page 44: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. Can you think of any other procedures that could be

taught to the dog?

Page 45: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. Can you think of any other procedures that could be

taught to the dog?

Sit and stand up are common ones but you

might have others

Page 46: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. How many times can the owner use a procedures?

Page 47: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures

I have taught my dog to beg, roll over, and shake paw. She does these things when I say

beg, roll and shake. How many times can the owner use a procedures?

As many times as they want

Page 48: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Everyday procedures that your brain already knows how to do

Walking

Getting dressed

Eating

Breathing

Jumping

Hopping

Can you think of any more everyday brain procedures?

Page 49: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define walkMove right leg forwardWaitMove left leg forwardwait

Page 50: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define walkMove right leg forwardWaitMove left leg forwardwait

Define eatPut food in handLift hand to mouthPut food into mouthLoop until a paste

chewswallow

Page 51: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define breatheBreathe inWaitBreathe outwait

Define walkMove right leg forwardWaitMove left leg forwardwait

Define eatPut food in handLift hand to mouthPut food into mouthLoop until a paste

chewswallow

Page 52: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define breatheBreathe inWaitBreathe outwait

Define walkMove right leg forwardWaitMove left leg forwardwait

Define eatPut food in handLift hand to mouthPut food into mouthLoop until a paste

chewswallow

Loop alwaysbreathe

Page 53: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define breatheBreathe inWaitBreathe outwait

Define walkMove right leg forwardWaitMove left leg forwardwait

Define eatPut food in handLift hand to mouthPut food into mouthLoop until a paste

chewswallow

Loop alwaysbreatheif need to go somewhere

walk

Page 54: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Common everyday procedures that your brain already knows how to do

Define breatheBreathe inWaitBreathe outwait

Define walkMove right leg forwardWaitMove left leg forwardwait

Define eatPut food in handLift hand to mouthPut food into mouthLoop until a paste

chewswallow

Loop alwaysbreatheif need to go somewhere

walkif hungry AND food near

eat

Page 55: Concept before codingcode-it.co.uk/wp-content/uploads/2019/04/everyday...The Learning Station A screenshot of a cell phone Description automatically generated A close up of a logo

Computing Theory

• Developing key concepts before coding reduces cognitive load and develops an understanding separate from code making an idea more portable between algorithm and different programming languages.

• This resource has been developed for block based programming and you will notice that it often uses slightly different language from Scratch which helps pupils to develop an idea separate from code.

• Supporting Articles with research links• Review of cognitive load theory for computing

• Difference between algorithm and programming

• Does writing algorithms improve pupils understanding of concepts?

• Introducing variables to novice programmers