Chapter 07 of 22 Part II: The Connected World

The Digital Detective

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-c07-p01

Measure a distance

Lab section: 1. Measure a distance · Related code: block-01.js

Objective: Investigate "Measure a distance" experimentally in the Chapter 07 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 07 Interactive Lab and select "1. Measure a distance".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 07 Code page and trace how the algorithm computes the output.
  4. 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 "1. Measure a distance" 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 07.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 07 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Measure a distance" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Measure a distance" make visible that you would not notice from using a finished app?

Project 2 of 3 · v1-c07-p02

Explore an imaginary grid

Lab section: 2. Explore an imaginary grid · Related code: block-02.js

Objective: Investigate "Explore an imaginary grid" experimentally in the Chapter 07 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 07 Interactive Lab and select "2. Explore an imaginary grid".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 07 Code page and trace how the algorithm computes the output.
  4. 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 "2. Explore an imaginary grid" 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 07.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 07 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Explore an imaginary grid" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Explore an imaginary grid" make visible that you would not notice from using a finished app?

Project 3 of 3 · v1-c07-p03

Inspect fictional evidence

Lab section: 3. Inspect fictional evidence · Related code: block-03.js

Objective: Investigate "Inspect fictional evidence" experimentally in the Chapter 07 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 07 Interactive Lab and select "3. Inspect fictional evidence".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 07 Code page and trace how the algorithm computes the output.
  4. 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 "3. Inspect fictional evidence" 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 07.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 07 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Inspect fictional evidence" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Inspect fictional evidence" make visible that you would not notice from using a finished app?