YourLearning

Grade 8 · Algebra · Coding and Data Decisions

Code an Evidence-Based Decision

Code can organize a data set, calculate useful measures, test conditions, and produce output that helps people make a decision.

The big idea

Efficient code makes its reasoning inspectable

A trustworthy program keeps data, calculations, decision rules, and output distinct so each part can be checked and revised.

Work it through

Recommend a travel method from time data

  1. 1. Store measured travel times for each method in separate lists.
  2. 2. Calculate a representative value and inspect variation or outliers.
  3. 3. Apply an explicit decision rule, such as choosing the reliable method with the lowest median.
  4. 4. Report the recommendation with the calculated evidence and limitations.