Class 02 — Variables & Strings / Ohm's Law¶
Example page
This page demonstrates the per-class template with brief, neutral placeholder text. It is not final lesson content.
Python focus: Variable assignment; string concatenation and formatting Electronics focus: Ohm's Law (V = I × R) as a predictive tool, not just a formula Kit materials: Computer with Python 3, multimeter, resistor assortment, breadboard, jumper wires
Demo¶
The instructor stores a value in a variable, reassigns it, and shows how the same line of code now produces a different result — then measures voltage and current across a known resistor to show the same predictability in a circuit.
Code-Along¶
Students declare a few variables of different types, build a sentence using string concatenation, and compute a missing value in Ohm's Law given the other two.
Independent Practice¶
Each student writes a program that stores a resistor's voltage and resistance in variables and calculates the resulting current.
Show & Tell¶
Students share their calculated current value and verify it against a multimeter reading on the physical circuit.