
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.
Table of Contents
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.
Array Meaning and Other Names
An array means an ordered set of numbered values kept together under one name. In Indonesian lessons the same word is often written as larik, and some teachers call it a list because the contents really are a numbered list of values. A question that comes up often in school exercises is why the counting starts at 0. The index shows how far an element sits from the start, so the first element is 0 steps away and takes index 0. The rule holds in Python, JavaScript, and C++. A child can build a first numbered list in a free Algonova coding class.
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.