
Coding Education
What Is an Array (Larik): Meaning and Examples for Kids

Bayu Nugraha
Children's Coding Specialist

An array (larik) is an ordered collection of data stored in a single container, where each element is given a position number called an index. Instead of creating many separate variables, an array holds many values at once—such as a list of classmates' names or a set of scores in a game.
How an Array Works
Picture an array as a long shelf full of numbered boxes. The first box is usually given index 0, the second box index 1, and so on. To read or change what is inside a box, you simply refer to its index number—no need to remember every value one by one.
In Scratch, children meet arrays through the "List" block: they can create a list called scores, add the numbers 10, 25, and 40 to it, and show it on screen. In Python, the same idea is written briefly like this:
scores = [10, 25, 40]
print(scores[0]) # shows 10
Fun fact: in almost every popular programming language—Python, JavaScript, and C++—array indexes always start at 0, not 1. So the element we call the "first" one actually sits at position 0.
Why It Matters for Kids
Arrays teach children to organize data neatly and think systematically—a basic skill before building games, quizzes, or apps. Understanding indexes also trains logic and precision. In the Algonova coding course, kids learn arrays while working on real projects, and this concept is closely tied to what a variable is.
Want to try? Join a free coding class and watch your child build their first interactive list.

