B2 · How Artificial Intelligence Works: Data and Learning

Collecting and Organising Data

Collecting data means gathering facts through methods such as surveys, sensors and observation. Organising data means arranging it so that patterns are easy to see, using tools such as tally marks, tables, pictographs and bar graphs.

10 min Beginner Jump to the activity

What you need: Nothing. This page starts from the beginning, with no programming and no formulas.

Definition

How many people in your group like each sport? How would you find out quickly?

Collecting data means gathering facts through methods such as surveys, sensors and observation. Organising data means arranging it so that patterns are easy to see, using tools such as tally marks, tables, pictographs and bar graphs.

In simple words

A long list of answers is hard to read. Count them with tally marks, write the totals in a table, then draw a bar for each total. Now one look tells you the favourite. AI systems also need data that is collected carefully and organised well before they can learn from it.

Why it matters

Organising data is often most of the work in an AI project. Teams spend more time collecting, cleaning and arranging data than building the model, because a model can only be as good as the data it learns from.

How it works

MethodHow it collects dataExample
SurveyAsking people questionsA form about favourite foods
SensorA device measures automaticallyA weather station recording rainfall
ObservationWatching and noting what happensCounting birds in a park

Tally marks group counts in fives, so they are quick to add. A table holds the totals. A bar graph turns totals into bars you can compare at a glance.

Try it yourself

Turn survey answers into a table and a bar graph

Count each answer, watch the table and graph grow, then read the graph.

Common mistakes

  • Asking only people who agree with you. That gives one-sided data.
  • Forgetting to label a graph. Without labels, nobody knows what the bars mean.
  • Counting the same answer twice.

Check yourself

Question 1

1. A weather station measuring rain every hour is an example of…

Question 2

2. Why use a bar graph?

Question 3

3. In tally marks, one group of lines stands for…

Summary

  • Data is collected by surveys, sensors and observation.
  • Tallies, tables and bar graphs organise data so patterns show.
  • Careful collection and organisation come before any AI can learn.

Finished reading?