Skip to main content

Computer Science · Big Data · Topic 2 of 5

Before anything gets analysed, it has to be collected, cleaned, and shaped.

The 2026 specification names this whole chain explicitly: "generation, processing and analysing data in different formats." Papers repeatedly ask you to distinguish structured from unstructured data and explain how that difference changes what a platform can actually do with it.

A smartwatch on a wrist showing a world-clock face with multiple time zones.
Photo: Omar Al-Ghosson / Unsplash

Executive summary

Goal: explain where big data comes from, define structured vs unstructured (vs semi-structured) data precisely, and describe the pipeline that turns raw data into something a system can analyse.

SectionWhat it covers
Where big data comes fromFive common sources, none of them "someone typing it in"
Structured vs unstructured dataThe most consistently examined distinction in this topic
A simple processing pipelineCollection → Cleaning → Storage → Processing → Analysis
Worked exampleStructured vs unstructured data on X/TikTok, straight from a past paper

Where big data comes from​

Big data is generated continuously by many different sources, often without a single person deliberately "entering" it:

SourceExample
User activityPosts, likes, shares, comments, watch time on a platform
Sensors / IoT devicesSmartwatches, smart thermostats, industrial machinery sensors
TransactionsPurchases, bank transfers, ride-share trips
Location dataGPS from phones, Wi-Fi/cell tower triangulation
Web and app logsEvery page view, click, and search query

Structured vs unstructured data​

This distinction is one of the most consistently examined ideas in this topic.

Structured dataUnstructured data
DefinitionOrganised into a fixed, predictable format (rows/columns, key-value pairs)Has no predefined format or model
ExamplesUser IDs, timestamps, like counts, follower numbers, stored in a database tableVideo content, images, free-text captions, comments
How it's queriedDirectly with structured query languages (e.g. SQL) — fast, preciseRequires additional processing (e.g. natural language processing, computer vision) before it can be queried meaningfully
StorageRelational databasesDistributed file systems, object storage, NoSQL databases

Semi-structured data sits between the two — it has some organisational tags but not a fixed schema. JSON or XML data (e.g. a social media post object that contains structured fields like timestamp and like_count alongside an unstructured caption field) is the clearest example, and it's worth naming this middle category if a scenario clearly doesn't fit neatly into either extreme.

Why the difference matters for processing​

Because unstructured data has no fixed shape, it can't be searched or aggregated the way a spreadsheet column can. A platform can instantly calculate "average likes per post" from structured numeric fields with a simple query. To do anything with the content of a video or the sentiment of a caption, it first needs to be run through a separate process — object recognition, speech-to-text, sentiment analysis — that converts it into structured features a system can then analyse alongside the rest.

A simple processing pipeline​

Regardless of format, big data generally moves through the same broad stages before it becomes useful:

  • Collection — data is captured from the source (an app, a sensor, a form)
  • Cleaning & validation — duplicates, missing values, and obviously invalid entries (e.g. impossible timestamps) are removed or flagged
  • Storage — structured and unstructured data are often stored differently (see Topic 4)
  • Processing — unstructured data is converted into structured, analysable features
  • Analysis / output — patterns, trends, or predictions are generated from the processed data

Exit question​

A platform logs a post's timestamp, like-count, caption text, and an attached video. Sort these into structured and unstructured, and explain what has to happen to the unstructured ones before they can be analysed alongside the rest.

Key terms

  • structured data
  • unstructured data
  • semi-structured data
  • data cleaning / validation
  • data pipeline
  • natural language processing (NLP)
  • computer vision
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5