Grade 8 · Technology, computer science and digital literacy · 35 minutes
Unit 1 · Data Decisions and Digital Claims · Lesson 1 of 2
Audit a Rule-Based Sorting System
Trace a small automated rule and explain why its output depends on the data and criteria chosen.
Mr. S Teaches · Original starter mini-lesson · MS8-TECH-01 · Elective / rotation; availability variesLearning objective
Classify six fictional items with an explicit rule, identify one specification problem and explain a revision using table evidence.
Before you begin
- Trace if/else decisions; compare numbers; distinguish a rule from a measured outcome.
Gather your materials
- Paper
- Pencil
- The six fictional library-item records below
Language to know
- Classification
- Assigning an item to a category using a rule.
- Threshold
- A boundary value that changes a rule’s decision.
- Missing data
- Information that was not supplied or recorded.
- Audit
- A careful check of how a system behaves and where it may fail.
Understand the concept
A fictional library tool flags an item for review if its wait count is at least 4 AND its available-copy count is less than 2. Records: A, wait 5/copies 1; B, 4/2; C, 3/1; D, 6/0; E, 4/1; F, wait unknown/copies 1. The tool flags inventory items, not people. A flag means “review,” not “buy automatically.” AND requires both conditions. Missing data are not the same as zero. The rule may overlook context such as an incoming shipment, so the output should be interpreted under the stated purpose rather than treated as an unquestionable decision.
Teach it step by step
- Write the two conditions separately and make a table with item, wait test, copy test and final output.
- Trace A and B together, noticing that equality at wait 4 passes the first test while copies 2 fails the second.
- Complete C–F. Give F an “insufficient data” outcome rather than quietly replacing unknown with zero.
- Write an audit note explaining the rule, two examples, a missing-data policy and one context limitation. Propose a precise revision and predict which records it would change.
Make the thinking visible
Worked example or model response
A passes 5 ≥ 4 and 1 < 2, so flag. B passes 4 ≥ 4 but fails 2 < 2, so do not flag. F cannot be fully evaluated because its wait count is unknown. A useful policy is “send missing records for data check,” which is distinct from an inventory-need flag.
Guided practice
Compare AND with OR for B and C. Explain why changing the connector changes the meaning of the rule even when thresholds remain the same.
Independent practice
Complete the six-record audit table. Then write a 100-word technical explanation of two boundary decisions, the handling of F and one possible revision. State that the records are fictional and that a flag requires human review rather than automatic action.
Quick assessment
Why is replacing F’s unknown wait count with zero a substantive assumption rather than a neutral formatting choice?
Answer key & assessment criteria
Answers and teaching guidance
- Guided: With OR, B qualifies through wait count and C through copy count; neither qualifies with AND because each fails one test.
- Independent: A flag; B no flag; C no flag; D flag; E flag; F insufficient data/data check. A revision must be explicit, such as copies <3, and predict changed outcomes accurately: B would then be flagged.
- Quick check: Zero asserts that no items are waiting, while unknown states the count is unavailable. Substituting zero changes the evidence and can change the output.
Look for: Check the explanation of AND, thresholds and missing data. Ask whether the audit note keeps an inventory-review flag distinct from an automatic action.
Make it work for your learner
More support
Provide a two-column true/false checklist and trace one condition at a time. Use plain-language “both” before introducing AND.
Extension challenge
Add a fictional incoming-shipment field and design a revised review rule. Test all six records and explain a tradeoff created by the extra condition.
Selected contributions · Official sources
Standards connections
Subject-content alignment not yet verified
Supporting Common Core connection
W.8.2.bCommon Core · Grade 8
Develop a technical explanation using relevant data and concrete examples.
Read the official standard ↗The audit note practices explanatory detail using supplied fictional data. Computer-science subject-content standards and comprehensive algorithm auditing are not verified by this activity.
Source and mapping checked 2026-11-04. This mini-lesson contributes selected skills; it does not claim full attainment.
