Chapter 14 of 22Part III: Trust, Cryptography & Security
The Invisible Digital Enemy
Each chapter features three guided investigations aligned with the book and Interactive Lab. Work through them in order, record predictions, and test edge cases.
Project 1 of 3 · v1-c14-p01
Stop the spread
Lab section: A. Stop the spread · Related code: block-01.js, block-04.js
Objective: Investigate "Stop the spread" experimentally in the Chapter 14 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 14 Interactive Lab and select "A. Stop the spread".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 14 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "A. Stop the spread" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 14.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 14 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Stop the spread" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Stop the spread" make visible that you would not notice from using a finished app?
Lab section: B. Detect a fictional marker · Related code: block-02.js, block-05.js
Objective: Investigate "Detect a fictional marker" experimentally in the Chapter 14 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 14 Interactive Lab and select "B. Detect a fictional marker".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 14 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "B. Detect a fictional marker" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 14.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 14 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Detect a fictional marker" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Detect a fictional marker" make visible that you would not notice from using a finished app?
Lab section: C. Review a fictional incident · Related code: block-03.js, block-04.js, block-05.js, block-06.js
Objective: Investigate "Review a fictional incident" experimentally in the Chapter 14 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 14 Interactive Lab and select "C. Review a fictional incident".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 14 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "C. Review a fictional incident" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 14.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 14 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Review a fictional incident" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Review a fictional incident" make visible that you would not notice from using a finished app?