Professional Documents
Culture Documents
Coding + General Science: Lesson Plan
Coding + General Science: Lesson Plan
1-ESS1-1.
Use observations of the sun, moon, and stars to describe patterns that can be
predicted.
3-LS2-1.
Construct an argument that some animals form groups that help members
survive.
Explain ways technology plus science impacts our lives, with examples both boys
and girls will care about, for example:
Radio-tracking animals like whales, sharks, and birds so we can learn about
them and better protect them
Composing music from the signals in space
See tips for getting girls interested in computer science
here
.
Answer:
'bird','bear','crow','duck','gnome','spider'
Do any of the animals eat any of the others?
Possible answers: birds eat the spiders; the bear eats the birds; the gnome
might eat everything! The gnome might also be vegetarian.
Why do you think these animals live together?
Possible answer: they depend on each other in a food web, they all need the
resources (food, water, shelter) the forests gives, their parents all lived here
Other than noise, how else might you find out what lives in a forest?
Possible answers: seeing the animals (can talk about automated camera traps
that snap a photo when it senses motion), animal tracks, animal scats (poop),
animal marks (e.g. bears sharpen their claws on trees, birds make nests and lay
eggs, spiders make webs, gnomes take pictures of themselves in foreign
countries...)
As you walk around the room, you can help students look at the code that they wrote and
answer the following questions:
How could you take out an animal sound in your forest?
Delete any one of '
bird','bear','crow','duck','gnome', or'spider' in Line 2
How could you add a new animal in your forest?
[Hint: try adding roar, bark, bear2, cat, cicada, goat, hog, howl, purr,
rooster, sheep2, treefrog to Line 2]
What noise goes with each animal? How could you change the code to know for sure
what noise the gnome makes?
Delete all the other animals except for gnome in line 2
What about the code makes the animal noises go in a different order each time?
The random function on line
Show them how to start a new app by:
1. Pressing the Home Icon at the bottom of the virtual tablet
2. (optional) Have them set up an account if they want to save their progress and show
their parents their work later! An email address is required to do this.
3. Press the star-shaped New App button, enter the app number (XXXX) and click "Go".
Direct students to type in exactly what they see in the 3rd app's code (Constellations),
circulate around the room ensuring students are typing into the correct window
Have them discuss the following with their partner:
How come we can only see stars at night?
Possible answer: the sun is too bright during the day
What are some constellations that you know?
Possible answers: the big and little dippers, zodiac constellations, Orion, etc
(advanced) Why can we see different stars at different times of the year?
Possible answer: as the earth orbits the sun, different parts of the sky are visible
at night
As you walk around the room, you can help students look at the code that they wrote and
answer the following questions:
How could you change the code to make the stars seem further away? Closer?
On Line 9, make the numbers smaller to make the stars seem further away;
bigger to seem closer
Teach the
Code Studio Computer Science Fundamentals
courses. Code.org offers f
ree
professional development
for these courses, o
nline
or
in-person
.
Invite a computer science expert to your class.
Sign up for a virtual classroom.
Peaceful Forest
1. fill('eerie forest')
2. noises = ['bird','bear','crow','duck','gnome','spider']
3. noise = random(noises)
4. sound(noise)
Noisy Forest
App Number:
8411
1. fill('eerie forest')
2. noises = ['bird','bear','crow','duck','gnome','spider']
3.
4. function loop() {
5. number = random(10)
6. if (number == 1) {
7.
noise = random(noises)
8.
sound(noise)
9. }
10.}
Constellations
App Number:
8705
1. fill('black')
2.
3. function draw() {
4. line(x,y,5)
5. line('white')
6. }
7.
8. function create() {
9. size = random(5,50)
10. star = stamp('star2',size).move()
11. star.tap = draw
12.}
13.
14.repeat(create,40)
Lightning Bolt
App Number:
8672
1. fill('storm clouds')
2. bolt = stamp('lightning',1)
3.
4. function touching() {
5. bolt.rotate(random(360))
6. bolt.size(random(999,1999))
7. bolt.move(x,y)
8. }
9.
10.function untouch() {
11. bolt.size(1,100)
12.}