Lesson Plan

Coding in 4th and 5th

Introduction to the basics of coding
Petra L.
Classroom teacher
Show More
My Grades 4
My Subjects English Language Arts, Math, Science, Social Studies, Arts

Students will be able to...

Understand what lines of code means.
Understand the function of lines of code.
Understand how to write lines of code.
Understand how to run a code.

English Language Arts
Grades 3 – 6
All Notes
Teacher Notes
Student Notes

1 Hook/Attention Getter

Google Drive
Free, Paid
Free, Paid

I created a slideshow using Google Slides in Google Drive that showed a YouTube video about the importance of coding.  I also included images of different coding tools we would be using a class.  This got students excited about coding and all the possibilities of things to create during our enrichment time together.

2 Direct Instruction

I used this lesson to teach students exactly what lines of code means and how to write lines of code. 

Student Instructions

Students used arrows included in the directions to write code for a partner.  The partner was challenged to build the structure accurately using lines of code.

After working with a partner, students practiced drawing figures with cups alongside lines of code to build that structure.

3 Guided Practice

We used code.org to go through an Hour of Code. I modeled the first few activities using the "Frozen" themed module. Students then worked with a partner to complete an Hour of Code.

Student Instructions

Students worked on Chromebooks using website code.org.  With a partner, they completed an Hour of Code, using either the Frozen or Angry Birds module. Time allowing, students worked individually on an Hour of Code.

4 Independent Practice

Using programmable robots , Bee Bots and Spheros, I modeled how to write lines of code by programming them into the robots.

Student Instructions

Students programmed Bee Bots to run the lines of code using a Bee Bot and the Bee Bot Mat.  Students had pictures of the 8 planets that they laid under the clear cover of the mat.  With a partner, students write code and programmed Bee Bot to touch every planet in the correct order.

Using a Sphero and iPad (with free app Sphero Drive),  students wrote lines of code for the Sphero and programmed their lines into the Drive app on the iPad. The assignment was to drive the Sphero in a complete square.

5 Wrap Up

I gave students coding challenges to complete over the course of the 4 weeks.  When students completed challenges, they would show it to me or another student and earn a badge on classbadges.com.

Student Instructions

Students completed challenges and earned digital badges. After the four weeks of our time together, students chose a project to show their families during an open house type demonstration.