AP Courses AP Biology AP Biology Units AP Human Geography AP HUG Units AP Computer Science Principles AP CSP Units
Practice Daily Practice Practice by Course Practice by Topic Practice Tests
AP Exam Resources AP Exam Dates Registration Fees Scores & Credit What to Bring
Start Practicing → Login Register →

AP Computer Science Principles · Unit 2 · Data

AP CSP Unit 2 Cheat Sheet

Supporting resource for AP CSP Unit 2—use with concept guides and the full practice set.

This AP CSP Unit 2 cheat sheet collects conversion steps, compression picks, metadata cues, and big-data traps in one table—use it five minutes before quizzes, then drill linked guides for explanations.

Updated May 21, 2026Reviewed by APScore5 Editorial Team

Step 1Unit 2 Guide14-step journey map Step 2ReviewBig ideas and exam weight You are hereAP CSP Unit 2 Cheat SheetOpen related concept guides next Step 450 MCQsFull practice with weak-area links
Direct answer

This AP CSP Unit 2 cheat sheet lists conversion steps, compression picks, and exam traps so you can review five minutes before practice.

Read the table once, then close the page and recite each row from memory. If you stumble on ratio or EXIF rows, open the linked guide the same day.

TopicRememberWhy it matters on the exam
Binary → decimalSum powers of two where bit = 1Small conversions appear without calculators
Decimal → binarySubtract largest power of 2 repeatedlyShow structure to avoid off-by-one bits
n bits2ⁿ values; max unsigned = 2ⁿ − 1Capacity and overflow stems
Bit vs byte8 bits = 1 byte; label unitsMbps vs MB traps
Compression ratioOriginal : compressed (100:25 = 4:1)Do not confuse with percent saved (75%)
RLECount + symbol for runsFails on random noise
PhotosJPEG lossy; PNG losslessScenario “best format” MCQs
AudioMP3 lossy; FLAC losslessStreaming vs archive stories
Legal / medical textLossless onlyIntegrity beats size
MetadataData about data; EXIF may include GPSPrivacy prompts
Filtering vs sortingFilter = keep rows; sort = reorderInformation extraction
CorrelationMoves together ≠ causesSocietal-impact writing
3 VsVolume, velocity, varietyBig-data definitions
PII + re-IDFields can deanonymize tablesEthics and policy items

Five traps that repeat

Trap 1: Treating binary 101 as one hundred one instead of five. Trap 2: Forgetting overflow after a correct conversion. Trap 3: Answering 75% when the question asked for 4:1. Trap 4: Picking JPEG for text screenshots. Trap 5: Claiming causation from correlation alone.

Next steps after the table

Run the eighteen-question Unit 2 quiz timed, then conversion practice for any miss tagged “binary.” Return here the morning of practice tests until every row feels automatic.

Worked compression example

A yearbook committee exports 200 MB of photos. After JPEG batch processing, the folder is 50 MB. Ratio = 200:50 = 4:1. Percent saved = (150÷200)×100 = 75%. If a stem only asks ratio, do not answer 75% unless it asks for percent saved.

ASCII and byte quick example

The word “Hi” needs two bytes in simple ASCII: 72 for H and 105 for i. A stem that says “two characters, one byte each” is testing bytes, not bits—sixteen bits total unless Unicode is mentioned.

Metadata scenario cue

Posting a team photo with EXIF GPS still attached can reveal the gym location even when the caption says nothing about place. Compression does not remove metadata; stripping EXIF is a separate privacy step.

Quick answers

Frequently asked questions

What is on this AP CSP Unit 2 cheat sheet?

Binary place values, bit and byte reminders, compression ratio layout, lossless vs lossy format picks, metadata privacy clues, and PII, re-identification, and data bias traps. Use it for last-minute recall, not first-time learning.

Is a cheat sheet enough for Unit 2?

No. Formulas help, but AP CSP asks you to apply ideas to scenarios. Glance at this page before the quiz or practice, then answer questions from understanding. Scores improve when the sheet backs up guides and MCQs.

What binary facts should I memorize?

Place values 1, 2, 4, 8, 16; sum powers under 1s; quick checks 101₂ = 5 and 1010₂ = 10. Eight bits = one byte. Do not treat binary 100 as decimal one hundred.

What compression formulas should I know?

Ratio = original : compressed. Percent saved = (original − compressed) ÷ original. RLE helps repeated runs; random or encrypted data compresses poorly.

How do I remember lossless vs lossy?

Lossless = exact rebuild (ZIP, PNG for UI shots). Lossy = smaller with permanent loss (JPEG photos, MP3 audio). Match the file type in the stem, not buzzwords alone.

What metadata clues matter on the exam?

Metadata describes files—author, time, device, GPS. EXIF GPS can leak location even when the image looks innocent. Stripping metadata is a privacy step separate from compression.

What privacy and bias traps should I know?

PII identifies a person; combining datasets can re-identify “anonymous” records. Biased training data can produce unfair predictions—state benefit and harm in one sentence.

How should I use this before the Unit 2 quiz?

Spend five minutes on the table, close the page, then take the eighteen-question quiz without notes. Reopen only to fix misses after you finish.

When should I stop using the cheat sheet?

Stop when you score at least eighty percent on mixed practice without opening it. Keep one personal trap line (like inverted compression ratio) until practice stays steady.

Where should I go after the cheat sheet?

Take the Unit 2 quiz, then the fifty practice MCQs. Open concept guides for any tag you miss twice.

50 MCQs Unit 2 Guide