ISAT252LABfinal - ISAT 252 Spring 2012

advertisement
Nick, Gordon, and Lauren
AND 4 Input
Research Question: What is the output under various conditions of an AND gate with four inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
Actual Results
A
B
C
D
A AND B AND C
A AND B AND C
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
1
0
1
0
0
0
1
1
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
1
1
0
0
1
1
0
0
0
0
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
1
1
1
Nick, Gordon, and Lauren
Results: Our hypothesis was correct. As seen in the results the four circuits did not light up the LED in
any of the experiements except for when all four of them were in the on position. We came to this
hypothesis because we believed that in order for the electricty to flow through an AND gate they would
all have to be in 1 positions.
Nick, Gordon, and Lauren
OR 3 Input
Research Question: What is the output under various conditions of an OR gate with three inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
Actual Results
A
B
C
A OR B OR C
A OR B OR C
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
1
1
Results: This experiment our hypothesis was correct. We assumed that OR gates would provide
electricity to the LED regardless what switch pattern was used. As seen in the data above the only time
the LED does not light up is when all the switches are in 0. If one or more switches is turned on than the
current will flow through the OR gate.
Nick, Gordon, and Lauren
XOR 3 input
Research Question: What is the output under various conditions of an XOR gate with three inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
Actual Results
A
B
C
A XOR B XOR C
A XOR B XOR C
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
0
1
1
0
0
1
0
0
1
1
1
0
1
0
0
1
1
0
0
0
1
1
1
1
1
The table above proves that our hypothesis was correct. From the results in our experiment we have
come to the conlusion that the output of an XOR gate is only 1 when all three inputs are 1 or when only
1 input is 1.
For futher research we plan to try a 4-input gate and would think that the output of the XOR gate is only
1 when all four inputs are 1 or just when 1 input is 1.
Nick, Gordon, and Lauren
NAND 3 Input
Research question: What is the output under various conditions of an NAND gate with three inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
Actual Results
A
B
C
A NAND B NAND C
A NAND B NAND C
0
0
0
0
1
0
0
1
1
1
0
1
0
1
1
0
1
1
0
1
1
0
0
1
1
1
0
1
0
1
1
1
0
0
1
1
1
1
1
0
The table above proves that our hypothesis was incorrect. From the results of our experiment we have
determined that the output of an NAND gate is 1 with any combination of the input except when all
inputs are 1.
For further research we plan to try a 4-input gate and would think that the output of the NAND gate will
be 1 every time except when all 4 inputs are 1.
NOR 4 Input
Nick, Gordon, and Lauren
Research question: What is the output under various conditions of an NOR gate with four inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
Actual Results
A NOR B NOR C
A NOR B NOR
C
D
A
B
C
0
0
0
0
1
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
1
1
0
0
1
1
0
1
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
1
0
0
1
1
0
0
1
0
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
1
0
0
Nick, Gordon, and Lauren
Results: Our hypothesis showed us picking any 2 inputs or no inputs as making the LED light up. We
thought this would work because the OR was any single input or any 2 or all of them. We thought that
since OR was that, that NOR would be the opposite, but it turned out that only all of the inputs in the off
position would turn it on. After seeing this take place we realized that because this is an N gate there is
no inputs but still a current flow.
Nick, Gordon, and Lauren
XNOR 4 input
Research Question: What is the output under various conditions of an XNOR gate with four inputs?
Hypothesis: We will construct a truth table and make our best guesses about what the output will result in.
Inputs
Hypotheses
D
A
B
C
0
0
0
0
0
0
Actual Results
A XNOR B
A XNOR B XNOR C
XNOR C
0
1
1
0
1
0
0
0
1
0
0
0
0
0
1
1
1
1
0
1
0
0
0
0
0
1
0
1
1
1
0
1
1
0
1
1
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
1
1
1
1
0
1
0
1
1
1
0
1
1
0
0
1
1
0
0
1
1
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
1
0
1
Nick, Gordon, and Lauren
Results: We thought that pairs of 2 inputs would make the light come on and when we tested it we
we were correct. We knew this would be the opposite of NOR which is almost like OR. Any 2 inputs,
no inputs and all the inputs make the LED activate.
Questions Raised? I think that these logic gates raised some questions such as, how do these apply to
specific processes in the computer and when we run programs etc. Is it possible to have more than 4
inputs? Can we have one gate connecting more than one LED?
Download