Skip to content
PrajnAI Lab

PreviewRead-only preview of Code & Reason through Experimentation. Register to take quizzes, submit work and save progress.

Register free

Computer Science · Grades 3–8

Code & Reason through Experimentation

Fifteen chapters that treat code as a laboratory: ask “what if?”, write a hypothesis, change one variable at a time, and read bugs as surprise data. Every chapter has a story to read, experiments to run in your course lab, and bug-detective cases to solve.

Like what you see?

Register for free to run the labs, solve the cases and track your progress. Your work is saved on your device and syncs to your account.

Syllabus

Part 1 · The Curious Mind

  1. Chapter 1

    The Power of "What If?"
  2. Chapter 2

    Making Predictions (The Hypothesis)
  3. Chapter 3

    Kitchen & Backyard Science (Unplugged Experiments)

Part 2 · Coding as a Laboratory

  1. Chapter 4

    Welcome to the Code Sandbox
  2. Chapter 5

    Variables as Knobs and Sliders
  3. Chapter 6

    Loops as Cycles of Observation
  4. Chapter 7

    Conditionals as Decision Trees

Part 3 · Running Your First Code Experiments

  1. Chapter 8

    The Predict-Run-Observe Routine
  2. Chapter 9

    Hands-on Python & Visual Block Play
  3. Chapter 10

    Isolating Your Changes
  4. Chapter 11

    Bugs Are Just Surprise Data!

Part 4 · Advanced Play: A/B Testing and Beyond

  1. Chapter 12

    Designing Your First Mini-Game Sandbox
  2. Chapter 13

    Running an A/B Test
  3. Chapter 14

    Metrics for Fun
  4. Chapter 15

    The Endless Loop of Discovery