In CS Principles we have moved on from Data and are now covering Questions. In this unit we cover logic gates and if-thens. I want the students to make a connection between the hardware, all the binary we did earlier in the year, and how conditionals work in programming,
Logic Gates Video
This explanation starts with a scenario - What if you need to trigger an alarm in a room with two sensors?
I love this approach. So often we start with the truth table, then go to a scenario, and by that point you have lost them.
After this we used the Logic.ly website to let them try making their own logic gates.
Next class we'll be watching this video explaining how the OR and AND gates are made. The students had a lot of questions about this today and this makes it pretty clear.
image from logic.ly online demo |
Logic Gates Video
This explanation starts with a scenario - What if you need to trigger an alarm in a room with two sensors?
I love this approach. So often we start with the truth table, then go to a scenario, and by that point you have lost them.
After this we used the Logic.ly website to let them try making their own logic gates.
Next class we'll be watching this video explaining how the OR and AND gates are made. The students had a lot of questions about this today and this makes it pretty clear.
0 comments:
Post a Comment