Data · Structures for Storing Data
up to +70 XP
Stop 6.6 · Data · 3 min

Structures for Storing Data

How different storage structures support data management and transformation

Learning Objectives:
  • Understand what metadata is and explain its purpose in providing context for data.
  • Identify and describe file-based and directory-based data storage structures.
  • Explain hierarchy-based data structures and where they are used.
  • Explain how different data storage structures support data transformation and interpretation.

Structures for Storing Data

Metadata

What it is: Data about data.

Purpose: Provides context so information can be understood.

Example: A photo’s metadata may include time taken, GPS location, and camera type.

File-based & Directory-based Structures

File-based

  • Stores data in individual files (e.g., .txt, .csv, .docx)
  • Best for small or simple datasets
  • Example: Customer details stored in a single CSV file

Directory-based

  • Organises files into folders and subfolders
  • Helps manage projects and locate data efficiently
  • Example: A project folder with /images, /docs, /code

Hierarchy-based Structures

What it is: A tree-like parent/child structure.

Purpose: Organises complex data with clear relationships.

  • File systems (e.g., C:/Users/Documents/file.txt)
  • XML or JSON nested elements
  • Company organisational charts

Links to Data Transformation

  • Metadata: Guides correct interpretation (e.g., date formats, file encoding)
  • File/Directory structures: Make it easier to locate and extract data
  • Hierarchy structures: Allow conversion into tables, JSON, XML, or graphs
  • Example: CSV converted into a database, JSON converted into tabular data
Quick check · 7 questions

Check what stuck.

+10 XP each
Question 1

Question 1 of 7

What is metadata?

Question 2

Question 2 of 7

Which is an example of metadata for a photo?

Question 3

Question 3 of 7

Storing customer details in a single CSV file is…

Question 4

Question 4 of 7

Organising files into folders and subfolders is…

Question 5

Question 5 of 7

A tree-like parent/child structure is…

Question 6

Question 6 of 7

How does metadata help transform data?

Question 7

Question 7 of 7 · Fill in the blanks

Information that describes other data, such as a file's size and date created, is .