Data is any information that a program stores, processes, or displays: a number, a letter, a word, or a true/false value. Data is the raw material that all software works with; without it, a program would have nothing to calculate or show.
The Most Common Data Types
Each piece of data belongs to a type that defines what values it can hold and what can be done with it. The four basic types are:
- Integer: whole numbers with no decimals, like 7 or 100.
- Float (decimal): numbers with a fractional part, like 3.14.
- String (text): letters and words, like "Hello".
- Boolean: only two values, true or false.
For example, in a game the score is an integer, the player's name is a string, and "is it alive?" is a boolean. Knowing the type matters: you cannot add the word "cat" to a number.
Why It Matters for Kids
Understanding data types helps kids organize information before they program. When they store data in a variable, they decide whether it is a number, text, or a logical value, and so avoid errors. It is the first step of computational thinking: classifying and structuring information.
In Algonova's coding courses for kids, students practice with different data types by building their own projects. You can see it in action in a free trial class, at no cost.

