Skip to main content
AP CSP course

Topic 3.15 · Interactive concept example

Fair positions, duplicate labels and removal

  • Inclusive RANDOM bounds
  • Category probabilities
  • Sampling without replacement
  • Empty-list guard

Change it · step through · explain

Change an input, predict what will happen, then advance one step. Read why the state changes, reset and experiment. This fixed teaching model does not save progress or award XP.

Ready · Make a prediction

Ready to explore: Fair positions, duplicate labels and removal
  1. Labels, comma separated (max 8)A,A,BWaiting
  2. Supplied draw position (1–8)1Waiting
  3. After selectionremove-occurrenceWaiting

Ready to explore: Fair positions, duplicate labels and removal

Why: Change an input, predict the first effect, then advance one step.

Try this: Change one input or choose another listed case. Predict the effect, reset and compare the states and governing rule.