Wednesday, 27 November 2013

9b LOGIC GATES

 LO: To be able to identify the different Logic gates and the binary arithmetic associated with them.

Starter:
In binary you have 1 and 0.
If you have NOT 1, you have...?
If you have NOT 0, you have...?

Log in to your blog.

Main:

Open this Logic simulator

Below are 3 types of logic gates.
A logic gate is a component of a computer circuit that can have multiple inputs but only 1 output. The output is dependent on the combination of inputs. 



AND

OR

NOT Gates In the starter we were looking at a NOT gate.
Lets try it on the simulator.

Write a TRUTH TABLE for a NOT gate.


Input A Output B
0
1
1
0

AND Gates Now let's look at an AND gate. Notice the shape:

Notice that it has 2 inputs A & B and output C.

What combination of inputs could we have for A & B? (Remember binary can only be 1s or 0s.) 
As a class we will complete the table using the simulator.

You will need 2 high constants and 2 low constants, these will be our inputs, an AND gate and a light bulb to see the output.
If the button is pressed = 1  otherwise it is 0.
If the light bulb is on  = 1   otherwise it is 0.

        Input A        Input B        Output C
--
-
-


Copy the table in to your blog post.

What do we notice? What pattern is in the table?
Can you spot any multiplication?
On your blog write a conclusion to your findings.


OR Gates We are now going to do the same for an OR gate.





Using the same combination of numbers, how does our table look now?

Copy your OR table on to your blog post.

What do we notice? Any patterns?
Can you spot any addition?
On your blog write a conclusion to your findings.

Plenary:

Quick quiz - Click on the image to enlarge it.

Answer the questions on your blog post.
I will be collecting your marks out of 8.