Beginner coders often need concrete examples of computer science concepts. Picture books provide a great beginning to the instruction of coding using many of the same concepts as literacy. This lesson focuses on teaching algorithms, or sequence of instructions, using picture books.
English / Language Arts
Students will develop vocabulary associated with coding.
Students will identify the order of events in a story.
Students will connect order of events in picture books (algorithms) to simple coding games.
Books that feature events in an obvious sequential order:
Access to devices and the internet:
Overhead, digital whiteboard, or chart paper and markers.
Two class periods; approximately 40 minutes each period
Begin by sharing the concept of a sequence of events, or procedure. For example: Each morning, I wake up, make a pot of coffee, get dressed, eat, brush my teeth, and gather my backpack for school. I do the same thing every morning. I can tell you what I do first, next, and last.
Have students share their sequence of events for common school activities such as entering their classroom, eating in the cafeteria, or getting on the bus to go home.
Begin reading the book, pausing to discuss events as they occur. After reading, summarize the book by retelling the story. Have students help you complete the retelling by summarizing the sequence of events. Write them on chart paper or a digital whiteboard. Remind students that the story must be told in that order for it to make sense. You should also add "sequence of events" and the definition to your chart paper or digital whiteboard. Retain notes for the next class period.
For an extension, have students read a story independently (or with help) or listen to an audiobook. Students can draw or write the sequence of events in their story. This can be done using paper and pencil or digitally.
Review the concept of a sequence of events. Review the sequence of events from the previous day's story, and, if available, have some students share their independent work.
Introduce the word algorithm. An algorithm is a sequence of well-defined instructions especially performed by computers. Add this word and its definition to your notes from the previous day. The algorithm or sequence for putting on my shoes each morning would be to put a sock on my right foot, put my shoe on, pull the laces tight, and tie my shoe. I would repeat the same algorithm for my left foot. Another example could be how to travel from one place to another. For example, to get from your classroom to the library, you exit your classroom and turn left, walk 35 steps forward, turn right and walk 15 steps forward, then turn right again and open the library door. Walk five steps forward. Now you're in the library! Refer back to the book from the previous day and discuss the journey of the main character. What was the story's algorithm?
After reviewing the concept of a sequence of events and algorithms, introduce students to the coding website. For K–2 students, use codeSpark Academy. For 3–4 grade students, use Minecraft. Each website introduces students to the concept of coding and programming by first having them follow a set of directions to operate their game. Allow time for students to work through their games independently. Students may utilize pair-programming (working with a partner to solve problems) if they get stuck or need to debug (find out what's wrong) their algorithm. Add the term and definition for "debug" to your chart paper or digital whiteboard notes.
To monitor for progress, educators can track students using codeSpark via the Teacher Dashboard. If students are using the desktop version without logging in, they can play levels 1-9 only. Minecraft is supported by Code.org and will display a certificate of completion after the assigned levels have been completed. Informal discussions while students work through the levels allows for redirection and/or confirmation.
As an assessment, students can complete the Sequencing Activity workbook (thefoos-com.s3.amazonaws.com/cms/admin-uploads/Sequencing%20Activity.pdf) provided by codeSpark or reply to a Flipgrid post explaining their learning.
Get more ideas about creating connections between literacy and coding in Courtney Pentland's editorial, "Coding & Literacy: A Logical Partnership" and in her Middle School/High School lesson, "Coding Fractured Fairy Tales."
Cooksey, Ashley. "Coding Through Picture Books." School Library Connection, December 2020, schoollibraryconnection.com/Content/LessonPlan/2258830?topicCenterId=2247900&fbclid=IwAR2pYtgcB_lTtPXOW0xMvMO5Ilth2860g3iRj0tdvgWIfWt70G2pbPhrdHM.
View all citation styles
Entry ID: 2258830