Ap Computer Science Principles · EXAM PREP

Unit 2 · Data

- one exam, every section, every strategy
5 Sections9-page Guide
Our own words - no official Ap Computer Science Principles materials
Built for the current Ap Computer Science Principles format · kept up to date
The Complete AP Computer Science Principles Guide · AP Computer Science Principles

Unit 2 · Data

— Unit 2 map · Data
  • The Complete AP Computer Science Principles Guide
  • AP Computer Science Principles
  • 5 sections

Unit 2: Data accounts for 17–22% of AP Computer Science Principles multiple-choice content. Section I has 70 multiple-choice questions in 120 minutes and contributes 70% of the score. For Section II's 2 free-response questions in 60 minutes (30%), be ready to carry the same unit skills and representations into a complete solution. Data questions move between representation and interpretation. The multiple-choice range published for this Big Idea is 17–22% of Section I.

  • How AP Computer Science Principles assesses this 17–22% of the multiple-choice section · Section I: 70 MCQs in 120 min, 70% · Section II: 2 FRQs in 60 min, 30% · show the model with grouped binary string, data table with metadata, compression or visualization comparison
  • Key skills Represent binary numbers and digital data, Compare compression and abstraction, Analyze data transformations patterns bias and privacy
  • How to study for Unit 2 This page turns grouped binary string, data table with metadata, compression or visualization comparison into one route: identify how the data were generated encoded and transformed before interpreting the display.
  • The organizing decision distinguish representation transformation compression metadata and inference while preserving limitations and privacy
AP Computer Science Principles · Unit 2 of 5
Exam weight

Unit 2: Data accounts for 17–22% of AP Computer Science Principles multiple-choice content.

Official unit name and weighting: College Board course and exam description.

Unit 2 map · Data

Connect the published share to the unit model

Data questions move between representation and interpretation. The multiple-choice range published for this Big Idea is 17–22% of Section I.

A correct calculation can still support an invalid conclusion when metadata, collection method, or missing groups do not match the claim.

The decision that organizes this unit

Define the system and choose the route before calculating

distinguish representation transformation compression metadata and inference while preserving limitations and privacy

First move

identify how the data were generated encoded and transformed before interpreting the display

Mechanism route and repair branches

Relationships to preserve

  • A fixed number of bits creates a finite representation range
  • Lossless compression permits exact reconstruction while lossy compression discards selected detail
  • Data cleaning and visualization choices can reveal or conceal patterns and bias

Representations to read

  • grouped binary string
  • data table with metadata
  • compression or visualization comparison

Branches to reject

  • using zero-based indexes with AP pseudocode lists
  • claiming more data removes sampling or measurement bias
  • treating correlation discovered in data as causation
Key conceptWhy it's hardWhat scores
Binary representationPlace values change exponentiallyAlign weights and show carries
CompressionSmaller size can trade away detailMatch reversibility to the use case
Data-based conclusionsAssociation can be mistaken for causationName fields, context, and a limitation
Assessment

How AP Computer Science Principles assesses Data

What a complete response must make visible

Match the task to evidence that a reader can audit, then check the most likely reasoning failure before finalizing the response.

TaskEvidence to showHurdle
Represent binary numbers and digital datagrouped binary string; A fixed number of bits creates a finite representation rangeusing zero-based indexes with AP pseudocode lists
Compare compression and abstractiondata table with metadata; Lossless compression permits exact reconstruction while lossy compression discards selected detailclaiming more data removes sampling or measurement bias
Analyze data transformations patterns bias and privacycompression or visualization comparison; Data cleaning and visualization choices can reveal or conceal patterns and biastreating correlation discovered in data as causation
Worked example

Resolve the Data evidence conflict

Carry the model from prompt to check

Q. A wellness app records steps only when a phone is carried; explain the measurement bias and how aggregation could misrepresent two user groups.
  • Step 1Identify how the data were generated encoded and transformed before interpreting the display.
  • Step 2Render the evidence as grouped binary string and label the relevant object, scale, axis, source, speaker, or system.
  • Step 3Apply the governing relationship: A fixed number of bits creates a finite representation range
  • Step 4Audit the conclusion against this boundary: do not finish by using zero-based indexes with AP pseudocode lists.
Answer. The defensible Data resolution uses the stated evidence and relationship, then limits the conclusion to the context and conditions supplied by the prompt.
Check. Translate the result into compression or visualization comparison; the claim, direction, source, units, or comparison criterion must survive unchanged.
Glossary

Key terms for Unit 2: Data

Models, uses, and boundaries

Represent Binary Numbers And Digital Data
A fixed number of bits creates a finite representation range Use this Data relationship when the prompt presents grouped binary string and asks you to distinguish representation transformation compression metadata and inference while preserving limitations and privacy. Stop and repair if the response starts by using zero-based indexes with AP pseudocode lists.
Compare Compression And Abstraction
Lossless compression permits exact reconstruction while lossy compression discards selected detail Use this Data relationship when the prompt presents data table with metadata and asks you to distinguish representation transformation compression metadata and inference while preserving limitations and privacy. Stop and repair if the response starts by claiming more data removes sampling or measurement bias.
Analyze Data Transformations Patterns Bias And Privacy
Data cleaning and visualization choices can reveal or conceal patterns and bias Use this Data relationship when the prompt presents compression or visualization comparison and asks you to distinguish representation transformation compression metadata and inference while preserving limitations and privacy. Stop and repair if the response starts by treating correlation discovered in data as causation.
Data boundary-first decision
First move: identify how the data were generated encoded and transformed before interpreting the display Use this opening move for the original scenario: A wellness app records steps only when a phone is carried; explain the measurement bias and how aggregation could misrepresent two user groups. Represent the evidence with data table with metadata before extending the conclusion. The move is incomplete if it ends by claiming more data removes sampling or measurement bias; return to the named evidence, condition, source, or comparison boundary.
FAQ

AP Computer Science Principles Unit 2 FAQ

How much of AP Computer Science Principles does Unit 2 carry?

Unit 2: Data accounts for 17–22% of AP Computer Science Principles multiple-choice content.

What is the first move on a Data problem?

identify how the data were generated encoded and transformed before interpreting the display

Which relationships should I preserve?

A fixed number of bits creates a finite representation range Lossless compression permits exact reconstruction while lossy compression discards selected detail Data cleaning and visualization choices can reveal or conceal patterns and bias

Which representations should I practice?

Practice moving among grouped binary string, data table with metadata, compression or visualization comparison.

What error should I check before submitting an answer?

Check for using zero-based indexes with AP pseudocode lists; claiming more data removes sampling or measurement bias; treating correlation discovered in data as causation.

Evidence workshop

Continue from the free model into complete practice

The full unit guide continues with the chapter’s worked examples, figures, scoring tables, and answer checks.

  • Choose compression by the recovery requirement
  • Match data fields to the claim

Full unit practice. Open the complete guide for the full evidence workshop and synthesis.

Study strategy

How to study AP Computer Science Principles Unit 2

Start with the organizing decision

Before solving, restate the decision in operational terms: distinguish representation transformation compression metadata and inference while preserving limitations and privacy. Your first written move should be to identify how the data were generated encoded and transformed before interpreting the display.

Practice the same idea in several representations

Rotate through grouped binary string, data table with metadata, compression or visualization comparison. Use each representation to practice Represent binary numbers and digital data, Compare compression and abstraction, Analyze data transformations patterns bias and privacy, and explain what stays invariant when the surface form changes.

Turn each error into a repair check

After every attempt, audit the response for using zero-based indexes with AP pseudocode lists; claiming more data removes sampling or measurement bias; treating correlation discovered in data as causation. Then redo only the first step that made the reasoning diverge, keeping units, direction, and model conditions visible.

Confirm current course details in the official College Board course and exam description for the May 2027 administration.

AskSia is not affiliated with or endorsed by the College Board. AP is a registered trademark of the College Board.
A+Everything unlocked
Unlocks this guide + all 5 Ap Computer Science Principles sections - and more exam prep guides across AskSia.
Sia - your Ap Computer Science Principles prep tutor, unlimited, worked the way the exam marks it
The full 9-page guide + practice bank with worked solutions
Chrome extension - bring Sia to any practice question on the web
Bilingual EN / Chinese on every guide and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Ap Computer Science Principles · Data - independent study guide on the AskSia Library. More Ap Computer Science Principles prep
Unlock the full Ap Computer Science Principles guide + 5 Ap Computer Science Principles sections
$0.99 Trial