Parent Guides

13 min read

Coding for 2nd Graders (Kelas 2 SD): What They Learn, Two Projects, and How to Practice at Home

Published: 02.11.2026·Updated: 02.11.2026
Maya Putri

Maya Putri

Early Childhood Education Specialist

Coding for 2nd Graders (Kelas 2 SD): What They Learn, Two Projects, and How to Practice at Home

Coding for 2nd graders (kelas 2 SD in Indonesia, ages 7-8) starts with ScratchJr, not with typing code. Children learn to put commands in order, repeat them, and fix what does not work. Sessions of 20-30 minutes, 2-3 times a week, on one tablet or laptop are enough. This guide covers what second graders learn, two projects you can build this week, and a home schedule for parents.

Is a 2nd grader ready to learn coding?

Yes, a 2nd grader is ready for coding if he or she is comfortable holding a tablet and can follow three instructions in a row. At 7-8 years old, most children in kelas 2 SD have only recently become fluent readers, so coding at this stage uses pictures on blocks instead of written commands.

Schools rarely offer coding in grade 2. Indonesia's Ministry of Primary and Secondary Education (Kemendikdasmen) made Coding and Artificial Intelligence an elective subject starting in grade 5 of elementary school, phased in from the 2025/2026 school year (Kemendikdasmen press release of 23 July 2025). Parents who want an earlier start usually teach at home or choose an outside course.

Not sure your child is ready? Read the signs a child is ready to learn coding and the guide to the best age to start coding. For grades 1 to 6 together, see the guide to coding for elementary school kids.

What second graders learn in coding

Second graders learn four basic ideas: sequence, repetition, events ("when tapped"), and debugging. Variables, scores, and Python are not needed yet.

The table shows each idea, an on-screen example, and a screen-free way to practice it:

IdeaWhat it means for a childOn-screen exampleScreen-free example
SequenceCommands run one after anotherThe cat moves, hops, then stopsThe child gives orders, a parent acts as the robot
RepetitionOne command repeats several timesThe cat waves 3 timesClap 3 times, jump 2 times
EventsOne thing happens after anotherThe cat says hello when touched"When the bell rings, we stand up"
DebuggingFinding the wrong stepThe cat does not move, so the child checks the block orderA simple recipe with the steps swapped

A practical session length for grade 2 is 20-30 minutes, 2-3 times a week. This is a rule of thumb from Algonova teachers for home study, not a school regulation. A topic table for every grade is in the guide to coding topics for elementary school by grade.