Engineering Principles Computer Science: Functions Hokey Pokey You put your right hand in, You put your right hand out, You put your right hand in, And you shake it all about, Chorus: You do the hokey pokey and you turn yourself around That
"Engineering Principles Computer Science: Functions" is the property of its rightful owner. Permission is granted to
download and print the materials on this website for personal, non-commercial use only, and to display it
on your personal computer provided you do not modify the materials and that you retain all copyright
notices contained in the materials. By downloading content from our website, you accept the terms of this
agreement.
Hokey Pokey You put your right hand in,You put your right hand out,You put your right hand in,And you shake it all about,
Chorus:You do the hokey pokeyand you turn yourself aroundThat what it's all about.
You put your left hand in,You put your left hand out,You put your left hand in,And you shake it all about,
Chorus
You put your right foot in,You put your right foot out,You put your right foot in,And you shake it all about,
Chorus
You put your left foot in,You put your left foot out,You put your left foot in,And you shake it all about,
Chorus
You put your head in,You put your head out,You put your head in,And you shake it all about,
Chorus
You put your back side in,You put your back side out,You put your back side in,And you shake it all about,
Chorus
You put your whole self in,You put your whole self out,You put your whole self in,And you shake it all about,
Chorus<br>
03
Programs with Functions You put your right hand in,You put your right hand out,You put your right hand in,And you shake it all about,
Chorus: You do the hokey pokeyand you turn yourself aroundThat what it's all about.
You put your left hand in,You put your left hand out,You put your left hand in,And you shake it all about,
Chorus
You put your right leg in,You put your right leg out,You put your right leg in,And you shake it all about,
Chorus
You put your left leg in,You put your left leg out,You put your left leg in,And you shake it all about,
Chorus
You put your head in,You put your head out,You put your head in,And you shake it all about,
Chorus
You put your back side in,You put your back side out,You put your back side in,And you shake it all about,
Chorus
You put your whole self in,You put your whole self out,You put your whole self in,And you shake it all about,
Chorus [Function Definition] [Function Call] [Function Call] [Function Call] [Function Call] [Function Call] [Function Call]<br>
04
Old MacDonald Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some chickens, E-I-E-I-O.With a cluck, cluck here,And a cluck, cluck there,Here a cluck, there a cluck,Everywhere a cluck, cluck,Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some ducks, E-I-E-I-O.With a quack, quack here,And a quack, quack there,Here a quack, there a quack,Everywhere a quack, quack,Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some pigs, E-I-E-I-O.With a oink, oink here,And a oink, oink there,Here a oink, there a oink,Everywhere a oink, oink,Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some dogs, E-I-E-I-O.With a woof, woof here,And a woof, woof there,Here a woof, there a woof,Everywhere a woof, woof,Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some cows, E-I-E-I-O.With a moo, moo here,And a moo, moo there,Here a moo, there a moo,Everywhere a moo, moo,Old MacDonald had a farm, E-I-E-I-O.<br>
05
Functions with Variables Chorus(sound)With a sound, sound here,And a sound, sound there,Here a sound, there a sound,Everywhere a sound, sound,
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some chickens, E-I-E-I-O.Chorus(cluck)Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some ducks, E-I-E-I-O.Chorus(quack)Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some pigs, E-I-E-I-O.Chorus(oink)Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some dogs, E-I-E-I-O.Chorus(woof)Old MacDonald had a farm, E-I-E-I-O.
Old MacDonald had a farm, E-I-E-I-O.And on his farm he had some cows, E-I-E-I-O.Chorus(moo)Old MacDonald had a farm, E-I-E-I-O. [Function Definition] [Function Call] [Function Call] [Function Call] [Function Call] [Function Call]<br>
06
Simplify Further?<br>
07
Create your own Song Program with Function Some Suggestions:
This Old Man
The Wheels on the Bus
Hickory Dickory Dock
Five Green and Speckled Frogs
Hokey Pokey<br>