Back

Challenge Set 22

Unlocks after Activity 2.17. Two code challenges and one extra credit about the limits of bits and squeezing them.

divider

What This Set Is For

Each challenge turns a lesson into a tool. Overflow Guard catches Activity 2.16's overflow before it happens. Compression Picker measures when Activity 2.17's run-length encoding is worth using. Sample Rate, the extra credit, shows the trade between storage and accuracy that 2.16's sound meter only hinted at.


All of Them Are Briefs

Nobody lists the steps. Write the requirements list first — input, calculate, output, every decision you made yourself, and for each method, what it takes and what it returns.

If that is unfamiliar, read it once here: How to Read a Brief, in Challenge Set 1.


The Challenges

Overflow Guard and Compression Picker count toward the five. Sample Rate is optional and earns extra credit on top.

These are options, not a checklist. Challenge Sets 21, 22, 23 and 24 are one pool; pick whichever combination gets you to what the dropbox asks for.


Which Homework These Feed

These can go in the build drop due after Activity 2.18, or the one due after Activity 2.20.

The dropbox says how many. This page only says what is available.

Commence Challenges