Metadata (College Board AP® Computer Science Principles): Revision Note

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

Updated on

Metadata fundamentals

What is metadata?

  • Metadata is data about data

  • It provides additional information that describes, explains or locates the primary data without changing the data itself

  • Metadata exists independently of the primary data and can be modified without affecting the original content

Data type

Primary data

Metadata examples

Digital photo

The image itself (pixel data)

Date taken, camera settings, GPS location, file size

Music file

The audio recording

Artist, album, track number, genre, duration

Text document

The written content

Author, date modified, word count, file format

Web page

The visible page content

Page title, description, keywords, character encoding

Metadata does not change primary data

  • Editing the metadata of a file does not alter the primary data it describes

  • This independence means metadata can be added, removed or corrected at any time without risk to the original data

Metadata applications

How is metadata used?

  • Metadata makes data easier to organize and manage by providing a consistent structure for categorizing large collections of data

  • A library catalog uses metadata (title, author, subject, ISBN) to organize thousands of books so users can search efficiently

  • Metadata increases the effectiveness of searching and filtering, as search engines use page titles and descriptions to index and rank results

  • File systems use metadata (file name, date, type) to allow users to sort, filter and locate files

  • Metadata supports data governance by recording who created or modified data and when, which is important for tracking changes and verifying sources

How is metadata used in computing systems?

  • Operating systems automatically generate metadata for every file, including date created, date modified, file size, file type and permissions

  • Databases use metadata to define the structure of tables, including column names, data types and relationships between tables

  • The internet relies on metadata in protocols and HTML tags to route, display and index content correctly

Examiner Tips and Tricks

  • A common exam question gives you a scenario and asks whether metadata or the data itself is more useful for answering a particular question. If the question can be answered using properties like date, location, file size or author without opening the file, the answer involves metadata. If you need to look at the actual content, it involves data. Remember that changing metadata never affects the primary data.

  • For the AP Create Performance Task, the files you submit contain metadata such as file size, date modified, and file type — be aware that metadata associated with your submission should not contain any identifying information that could compromise the anonymity of your work

Worked Example

A school stores digital photographs taken during school events. Each photograph has metadata including the date taken, the event name, the photographer and the file size.

A student wants to find all photographs taken at the school science fair. Which of the following best describes how metadata helps with this task?

(A) The metadata changes the photographs to display only science fair images

(B) The metadata allows the student to filter photographs by event name without opening each file

(C) The metadata compresses the photographs so they can be searched more quickly

(D) The metadata converts the photographs into a searchable text format

[1]

Answer:

(B) The metadata allows the student to filter photographs by event name without opening each file [1 mark]

  • Metadata provides descriptive information about each photograph allowing filtering by event name without opening each file; it does not alter, compress, or convert the primary data

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Robert Hampton

Author: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

James Woodhouse

Reviewer: James Woodhouse

Expertise: Computer Science & English Subject Lead

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.