What Is Data?

Learn what data is, its types and the difference between data and information.

LESSON COMPASS

What will you use this page for?

Core idea

Data is the raw record that describes the world — numbers, text, measurements and observations — and when we give those records meaning, they become information.

Evidence to produce

Complete the page task with your own input, test conditions and reasoning.

Control trap

Confusing data with information "24" on its own is not information but data. We are the ones who give it the meaning "the hottest day of the week." Missing this difference leads to reading results wrongly. Not asking where the data came from Not every piece of data is reliable. A broken thermometer can give a wrong…

Next connection

Collecting and Cleaning Data: Where do we gather raw data from, and how do we spot and fix wrong or missing records?

Module sources: Python Tutorial · Arduino Learn

LevelBeginner
Age10–16
Duration30–45 min
PrerequisiteAlgorithms; basic Python is recommended
ContentStandard lesson · 1,439 words
Last updated

One-sentence summary

Data is the raw record that describes the world — numbers, text, measurements and observations — and when we give those records meaning, they become information.

Why does it matter?

In the line-following robot project, the robot kept reading numbers from its sensor. Those values, telling it whether the surface was dark or light, were data. By looking at that data, the robot decided to "turn right" or "go straight."

Artificial intelligence works in much the same way. AI is not magic; it is a tool that finds patterns in large amounts of data. You cannot really understand AI without understanding data first. That is why we open the data and AI module with a simple question: what is data?

There is another important point. The results an AI gives depend on the quality of the data it is fed. Incomplete or biased data leads to wrong results. So getting to know data is the first step toward using its results with confidence.

What is data?

Data is the raw pieces we record about an event, an object or a situation. On its own, a piece of data usually carries no interpretation; it just sits there "as it is."

We meet data everywhere in daily life:

All three examples point to the same idea: each one is a piece taken and recorded from the real world.

Four common kinds of data

Data comes in different forms. We can separate the four we see most often:

Notice that a measurement is also a number; but how it is obtained matters. A measurement is taken with the help of a sensor or tool. The "10 centimetres" the robot read from its distance sensor is exactly this kind of measurement data.

The difference between data and information

Data and information are often mixed up, but there is an important difference between them.

So numbers standing on their own are data. They turn into information when we organise and interpret them to answer a question.

Here is a simple rule: data answers "what was recorded?", while information answers "what do these records tell us?"

The link to sensor data

In the line-following robot, the sensor read the surface dozens of times every second. Each of these readings was a small piece of data on its own. But when the robot gathered these pieces one after another and looked for a pattern, it reached the information "the line is drifting to the right."

The same idea holds in larger systems. A weather station collects thousands of measurements from temperature and humidity sensors. Those measurements are raw data. Bringing them together to conclude "there is a high chance of rain tomorrow" is turning data into information.

The step counter on your phone also uses a sensor. With every step you take, it records a small piece of movement data. At the end of the day it adds up these thousands of tiny records and shows the information "you took 8,240 steps today." So the sensor produces raw data; the useful information appears only when we bring that data together. AI learning is no different: first a great deal of data, then the pattern we look for inside it.

Mini practice

Let us record a week of midday temperatures in a list and pull simple information out of that raw data. The Python code below uses only the standard library; it does not train any AI model — it just counts the recorded data and takes its average.

# A week of midday temperatures (Celsius) - raw data
temperatures = [18, 21, 24, 22, 19, 23, 20]

total = sum(temperatures)
day_count = len(temperatures)
average = total / day_count

hottest = max(temperatures)
coldest = min(temperatures)

print("Number of days:", day_count)
print("Average temperature:", round(average, 1), "C")
print("Hottest day:", hottest, "C")
print("Coldest day:", coldest, "C")

When this code runs, the temperatures list is the raw data. The average, hottest and coldest values are the information we draw from that data.

Try it yourself: put real temperatures you find into the list, or use another everyday value such as step counts or match scores. Watch how the result changes when the numbers change.

Common mistakes

Confusing data with information

"24" on its own is not information but data. We are the ones who give it the meaning "the hottest day of the week." Missing this difference leads to reading results wrongly.

Not asking where the data came from

Not every piece of data is reliable. A broken thermometer can give a wrong number. Before you use a result, it is a good habit to ask, "how was this data collected?"

Drawing firm conclusions from too little data

Looking at a single day's temperature and saying "this city is always hot" is wrong. A solid conclusion needs enough and balanced data.

Confusing a measurement with a guess

A measurement taken with an instrument is not the same as a guess like "I think it was cold." A measurement is data; a guess is an interpretation.

Safety note

Data is often about people, so we need to be careful.

Lesson summary

Check questions

  1. What is the difference between data and information? Give an example of each.
  2. Which kinds of data do "Ankara", 18 and "the sky is cloudy" belong to?
  3. What kind of data is the "10 centimetres" the robot read from its distance sensor?
  4. Why is it risky to draw firm conclusions from too little data?
  5. Why is it unsafe to type your name and address into an online AI tool?

Answers

  1. Data is the raw record (for example, 18). Information appears when we interpret that record (for example, "it is 18 °C today, cooler than yesterday"). Data answers "what was recorded?" and information answers "what does this tell us?"
  2. "Ankara" is text, 18 is a number (it could also be a measurement), and "the sky is cloudy" is an observation.
  3. Because it was taken with an instrument (a sensor), it is measurement data; it is also numerical.
  4. Because one or a few records may not reflect the general situation correctly. A solid conclusion needs enough and balanced data; too little data can be misleading.
  5. A name and address are personal data. Once typed into online tools, they may reach other people. Personal information should be kept private, and such tools should be used with adult guidance.

Source and verification note

For “What Is Data?”, verification focuses on whether the relationship between What is data? and The difference between data and information remains consistent across examples. Datasets in this module are small and educational; real personal data should not be used. An AI result should be evaluated not only for accuracy but also for data balance, error distribution and explainability.

Next lesson

Collecting and Cleaning Data: Where do we gather raw data from, and how do we spot and fix wrong or missing records?

Start QuizBack to Introduction to Data and AI
QUESTION POOL

Reinforce this lesson with 10 questions

This lesson has a pool of 20 questions. Each attempt selects 10 and reshuffles the choices.