Chapter 01 of 22Part I: Foundations of Digital Information
Magic or Mathematics?
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-c01-p01
Mind reader
Lab section: A · Mind reader · Related code: block-01.js, block-04.js
Objective: Investigate "Mind reader" experimentally in the Chapter 01 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 01 Interactive Lab and select "A · Mind reader".
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 01 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 · Mind reader" 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 01.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 01 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Mind reader" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Mind reader" make visible that you would not notice from using a finished app?
Lab section: B · Card detective · Related code: block-02.js
Objective: Investigate "Card detective" experimentally in the Chapter 01 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 01 Interactive Lab and select "B · Card detective".
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 01 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 · Card detective" 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 01.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 01 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Card detective" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Card detective" make visible that you would not notice from using a finished app?
Lab section: C · Message from Mars · Related code: block-03.js, block-04.js
Objective: Investigate "Message from Mars" experimentally in the Chapter 01 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 01 Interactive Lab and select "C · Message from Mars".
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 01 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 · Message from Mars" 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 01.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 01 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Message from Mars" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Message from Mars" make visible that you would not notice from using a finished app?