Metadata (College Board AP® Computer Science Principles): Study Guide
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!
Was this revision note helpful?