Showing posts with label gates. Show all posts
Showing posts with label gates. Show all posts

Great Logic Gates Video

Friday, June 3, 2016

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,

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 well 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.
Read More..

Play Doh Logic Gates

Wednesday, March 30, 2016

Still working on Logic Gates in the Cs Principles class. Today they constructed logic gates using play-doh.

OR Gate
We started we watched this video connecting logic gates, AND and OR gates to binary numbers.

Before we did the logic gates I gave them a few challenge problems. I gave them a truth table and they had to construct a logic gate to produce the result. We used the logic.ly website to demo. Want to try one? Here you go:

Then they made logic gates with play-doh. The materials are fairly cheap. The most expensive part are the batteries and the battery holders (these run about $3). The good news is this activity works well with groups of 3 - 4 students, so you dont need a lot of these.

Materials:

  • Play-Doh 
  • LED lights
  • Battery Holder (I use rechargable AA batteries)

I personally do not use the insulating play-doh. I am sure it would be helpful, but I barely have time to cook dinner for my own kids this week, much less make craft supplies.

I left the instructions very open ended. Each group got two battery packs, an LED and some play-doh. The instructions were to make an OR and an AND gate, and take a picture of each.

Post on PlayDoh circuit Ted Talk
Read More..