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-c08-p01
Mini DNS
Lab section: 1. Mini DNS · Related code: block-01.js
Objective: Investigate "Mini DNS" experimentally in the Chapter 08 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 08 Interactive Lab and select "1. Mini DNS".
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 08 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 "1. Mini DNS" 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 08.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 08 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Mini DNS" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Mini DNS" make visible that you would not notice from using a finished app?
Lab section: 2. Route around broken links · Related code: block-02.js
Objective: Investigate "Route around broken links" experimentally in the Chapter 08 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 08 Interactive Lab and select "2. Route around broken links".
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 08 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 "2. Route around broken links" 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 08.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 08 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Route around broken links" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Route around broken links" make visible that you would not notice from using a finished app?
Lab section: 3. Message delivery · Related code: block-03.js
Objective: Investigate "Message delivery" experimentally in the Chapter 08 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 08 Interactive Lab and select "3. Message delivery".
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 08 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 "3. Message delivery" 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 08.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 08 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Message delivery" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Message delivery" make visible that you would not notice from using a finished app?