A Computer Science Curriculum for Kids
Using three flashlights, lamps, or phone flashlights, have three kids stimulate a logic gate. Two of them will be the “input” and whether they are on or not (true or false), and depending on what logical operator the teacher picks, the third lamp will be the output of that compound conditional.
Have the kids practice logic operators using truth tables. Give them an expression like (not p) or (p and not q) and have them create a truth table. Have them use modularity to break down this intimidating compound conditional into smaller more manageable parts (p, not p, q, not q, …)
Using variables like the time, whether you are hungry, and whether you have school to create a simulator of your everyday routine. The students should have at least two compound conditionals. For example if the time is less than 1000 (10:00) and hungry is true, print “time for breakfast”! Encourage the kids to get creative using integers, bools, and strings to represent states of the parts of their mornings.