Está en la página 1de 7

LESSON PLAN

CODING + GENERAL MATH


GRADES:
3-5
STUDENT ENGAGEMENT:
15-30 students per facilitator, no prior skill necessary.

Next Generation Science Standards applied:


3.NBT.A.2

Fluently add and subtract within 1000 using strategies and algorithms based
on place value, properties of operations, and/or the relationship between
addition and subtraction.

3.NF.A.1

Understand a fraction 1/b as the quantity formed by 1 part when a whole is


partitioned into b equal parts; understand a fraction a/b as the quantity
formed by a parts of size 1/b.

4.OA.C.5

Generate a number or shape pattern that follows a given rule. Identify


apparent features of the pattern that were not explicit in the rule itself.

4.NF.B.4

Apply and extend previous understandings of multiplication to multiply a


fraction by a whole number.

5.OA.A.1

Use parentheses, brackets, or braces in numerical expressions, and evaluate


expressions with these symbols.`

5.NF.B.5
A&B

Interpret multiplication as scaling (resizing), by:


Comparing the size of a product to the size of one factor on the basis of
the size of the other factor, without performing the indicated
multiplication.
Explaining why multiplying a given number by a fraction greater than 1
results in a product greater than the given number (recognizing
multiplication by whole numbers greater than 1 as a familiar case);
explaining why multiplying a given number by a fraction less than 1
results in a product smaller than the given number; and relating the
principle of fraction equivalence a/b = (n a)/(n b) to the effect of
multiplying a/b by 1.

Materials, Resources and Preparation


Review the
Hour of Code Educator Guide
and
Best Practices from Successful Educators
to plan your Hour of Code event.
Register your Hour of Code
event to receive a thank you gift and f
un posters
.

If youre running an online tutorial, be sure to test it first before asking your students to
complete it. Check your technology and decide if you need to troubleshoot anything in
advance.
Print certificates
to hand out at the end.

Getting Started (2-5 mins)


FIRST: Introduce the activity (2-5 minutes)
Kick off your Hour of Code by inspiring students and discussing how computer science
impacts every part of our lives and is revolutionizing the study of biology.
Show

The Hour of Code is Here


.
Its okay if both you and your students are brand new to computer science. Here are some
ideas to introduce your Hour of Code activity to connect with the subject matter:
Explain ways technology plus math impacts our lives, with examples both boys and
girls will care about.
Designing new and more sustainable ways to harvest and store energy
Figuring out how to send people to space, to the moon, and soon, to Mars!
See tips for getting girls interested in computer science
here
.

NEXT: Direct students to the activity (1 minute)


Write the tutorial link on a whiteboard: b
itsbox.com/hoc
Tell students to visit the URL and start the activity by:
Click the Build Apps Now link in the center of the screen. This will launch a short
guided tutorial that will show the students the basics of using Bitsbox.
Once you've completed the tutorial, click the star-shaped New App
button. Enter the first app number from the work sheet and click "Go".
Tip:
For younger students, load the Build Apps Now page ahead of time or save
it as a bookmark.
Pass out Bitsbox app handouts (last page of this guide) and direct students to start with the
first app.

Activity (20-40 mins)


NEXT: Ask students to complete the tutorial, alone or in groups
Direct students to type in exactly what they see on the handouts.
This will create an app they
can then experiment with. Circulate around the room ensuring students are typing into the
Bitsbox code window.
When your students have a working Magic Hat app ask questions or have them discuss with a
partner / neighbor:
What happens when you change line 2 with a different math problem?
What is your favorite number? Can you make the Magic Hat give you your favorite
number using addition (+), subtraction (-), multiplication(*), and or division(/)? Try
making the expression as long as you can!
Whats the biggest number you can make and still fit in the screen?
If students are ready to explore order of operations:
On line 2, type in (3+6) / 2 and find the answer
Type in 3 + (6/2) and find the answer
Are these different? Why?
Write a long expression and try putting parentheses in different places - what makes
the answer change?
If students are ready for a new challenge, 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 2nd app's code (Rose Petal Art),
circulate around the room ensuring students are typing into the correct window
When your students have a working app, have them look at the code they wrote and discuss
with a partner / neighbor:
What happens when you change the size?
What other numbers can you change in the code? What happens?
If students are ready for more, 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 them to look at the 3rd app (Rose Petal Art Deluxe), which is a more complicated
version of the app they just created.
What changed in your app? Why?
What happens when you dont have the last 3 lines? Why?
What happens when you change the shrink to a smaller fraction? Why?
What happens when you change the shrink to be larger than 1? Why?

When your students come across difficulties


Make sure to check for common errors. Remember, every character matters.
Incorrect capitalization
Missing syntax like { or (
Missing or mismatched quotation marks. (e.g. stamp(cow') or stamp('cow"))
Misspellings
Its okay to respond:
I dont know. Lets figure this out together.
Let's try something and see what happens."
Learning to program is like learning a new language; you wont be fluent right
away.
What to do if a student finishes early?
Have them continue to the 3rd app.
Students can see all tutorials and try another Hour of Code activity at
code.org/learn
Or, ask students who finish early to help classmates who are having trouble with the
activity.

Wrap-Up (5-10 mins)


FOUR: Debrief & Close
Debrief the activity, connect the role of technology and coding in helping mathematicians and
scientists model the way the world works.
Math can be beautiful!
Celebrate and
pass out certificates
and stickers.
Let participants know they can continue to learn at
code.org/learn/beyond
.
Share photos and videos of your Hour of Code event on social media. Use #HourOfCode and
@codeorg so we can highlight your success, too!

Beyond one hour


If you kids enjoyed Bitsbox, they can find more materials at b
itsbox.com/hoc.
There are many ways to go Beyond an Hour of Code:
Explore other curricula
from our partners
.
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.

Bitsbox App Handout

Magic Hat
App Number: 5331
This magic hat uses the power of programming to solve arithmetic problems. Change line 2 to
make your own "math spells!
1. fill('magic hat')
2. answer = 12 + 100 * 3.5
3.
4. message = 'The answer is ' + answer
5. text(message,90,190,'white',70)

Rose Petal Art


App Number: 6817 simplified
1. fill('damask')
2. size = 200
3. spin = 0
4.
5. function touching() {
6. petal = stamp('petal',x,y,size)
7. petal.rotate(spin)
8. spin = spin + random(30,90)
9. }

Rose Petal Art Deluxe


App Number: 6817
1. fill('damask')
2. size = 200
3. spin = 0
4. shrink = 9/10
5.
6. function touching() {
7. petal = stamp('petal',x,y,size)
8. petal.rotate(spin)
9. spin = spin + random(30,90)
10. size = size * shrink

11.}
12.
13.function touch() {
14.
size = random(100,300)
15.}

Troll Bridge
App Number: 1663
1. fill('troll bridge')
2. troll = stamp('troll',950,750,200)
3. goat = stamp('goat',100,900)
4. message = text('Tap to cross the bridge',100,100)
5.
6. function quiz() {
7. a = random(10)
8. b = random(10)
9. answer = prompt('What is ' + a + ' plus ' + b + '?')
10. if (answer == a + b) {
11.
message.hide()
12.
troll.splash()
13.
goat.move(540,280,1000).size(150,1000)
14. } else {
15.
message.change('Wrong! Tap to try again.')
16.
troll.move(950,750,500)
17.
goat.move(100,900,800)
18. }
19.}
20.
21.function tap() {
22. goat.move(420,800,900)
23. troll.move(600,680,900)
24. delay(quiz,1200)
25.}

También podría gustarte