Skip to main content
AP CSP course

Topic 3.15 · Interactive concept example

Inclusive random ranges and expected outcomes

  • Inclusive integer bounds
  • Exact event probability
  • Expected count is not a guarantee

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: Inclusive random ranges and expected outcomes
  1. Lower bound (0–10)2Waiting
  2. Upper bound (0–10)6Waiting
  3. Success at or below (0–10)3Waiting

Ready to explore: Inclusive random ranges and expected outcomes

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.