The Arizona STEM Acceleration Project
Math Magic through Coding!
Math Magic through Coding!
A 2nd Grade STEM Lesson
Tara Fulton
January 2024
Notes for Teachers
List of Materials
Hungry Pirates . Games . peg + cat | PBS KIDS
https://beebot.terrapinlogo.com/?beebot_lessons
Arizona Math Content Standard:
2.NBT.B.5: Fluently add and subtract within 100 using strategies based on place value, properties of operations, and/or the relationship between addition and subtraction.
2.MD.C.8: Solve word problems involving collections of money, including dollar bills, quarters, dimes, nickels, and pennies. Record the total using $ and ¢ appropriately.
Arizona Math Practice Standards:
MP 1 Make sense of problems and persevere in solving them
MP 2 Reason abstractly and quantitatively
MP 3 Construct viable arguments and critique the reasoning of others
MP 4 Model with mathematics.
MP 5 Use appropriate tools strategically.
MP 6 Attend to precision.
MP 7 Look for and make use of structure.
MP 8 Look for and express regularity in repeated reasoning.
Language, Conventions of Standard English:
2.L.1 Demonstrate command of the conventions of Standard English grammar and usage when writing or speaking.
Speaking and Listening:
2.SL.6 Produce complete sentences when appropriate to task and situation.
AZ ELP Standard 10:
2-3.ELP.10 Make accurate use of standard English to communicate in grade appropriate speech and writing.
K-2.1.c. Students, with guidance, learn to recognize feedback from both people and features embedded in digital tools, and use age appropriate technology to share learning.
Concept: Algorithms and Programming (AP)
Subconcept: Algorithms (A) 2.AP.A.1 Model daily processes by following algorithms (sets of step-by-step instructions) to complete tasks.
Subconcept: Variables (V) 2.AP.V.1 Model the way programs store and manipulate data by using numbers or other symbols to represent information.
Subconcept: Program Development (PD) 2.AP.PD.1 With teacher assistance identify plans that describe a program’s sequence of events, goals, and expected outcomes.
2.AP.PD.3 With teacher assistance, debug (identify and fix) errors in an algorithm or program that includes sequences and simple loops.
Science and Engineering Practices
National Standards
Computer Science (CSTA K-12 Standards)
Common Core Mathematics (CCSS.MATH)
Common Core English Language Arts (CCSS.ELA)
Objective(s):
Agenda (45-60 minutes)
Vocabulary
What gestures could we use to help remember each word?
Algorithm: a set of step-by-step instructions
Bug: an error in a program
Debug: find and fix errors in a program
Images Source: https://www.canva.com/
Find the Bug!
Choose a library book.
Put book in backpack.
Check out book with librarian.
Put numbers by each direction to put them in the correct order.
1
2
3
Debugging
Finding and fixing errors in programs.
ALGORITHM
Hungry Pirates
Learn how to use directional
arrows to move the hungry pirate to the treasure.
Bee-Bot Online Emulator
Program a virtual Bee-Bot to collect all of the highest valued coin on The U.S. Coins Mat.
Use the directional arrows to order the movements of the Bee-Bot to collect all
of the quarters!
Create an algorithm to help collect 77 cents for the piggy bank.
Place the correct arrows on your organizer to show each move your caterpillar will make.
YOUR TURN!!!
1. |
2. |
3. |
4. |
5. |
6. |
7. |
8. |
9. |
10. |
Hands-On Activity Instructions
Assessment
Differentiation
Ensure student understanding of the context and consider language demands. The use of language supports: vocabulary cards on desk, gestures, sentence frames, etc. can support English Learners.
Encourage students to use physical movement to make sense of the algorithm by creating a 4x4 grid on the floor with masking tape for them to move one.
Modify the directions to a lower value of coins for students who may struggle to add within 25 or 50.
Remediation
Extension/Enrichment
Provide different algorithms to students to test that have hidden bugs. Expect students to explain how to debug the program.
Allow students to create an algorithm with a bug for their partner to find.
Challenge students to find the shortest or longest algorithm with the same or different context.