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-c10-p01
Turn a clock into a ruler
Lab section: A. Turn a clock into a ruler · Related code: block-01.js
Objective: Investigate "Turn a clock into a ruler" experimentally in the Chapter 10 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 10 Interactive Lab and select "A. Turn a clock into a ruler".
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 10 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. Turn a clock into a ruler" 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 10.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 10 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Turn a clock into a ruler" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Turn a clock into a ruler" make visible that you would not notice from using a finished app?
Lab section: B. Find the mystery point · Related code: block-02.js
Objective: Investigate "Find the mystery point" experimentally in the Chapter 10 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 10 Interactive Lab and select "B. Find the mystery point".
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 10 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. Find the mystery point" 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 10.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 10 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Find the mystery point" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Find the mystery point" make visible that you would not notice from using a finished app?
Lab section: C. Fix an imperfect clock · Related code: block-03.js
Objective: Investigate "Fix an imperfect clock" experimentally in the Chapter 10 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 10 Interactive Lab and select "C. Fix an imperfect clock".
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 10 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. Fix an imperfect clock" 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 10.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 10 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Fix an imperfect clock" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Fix an imperfect clock" make visible that you would not notice from using a finished app?