Team:INSA Toulouse/contenu/project/binary reminder
From 2013.igem.org
(Difference between revisions)
Mesnageclem (Talk | contribs) |
Mesnageclem (Talk | contribs) |
||
Line 69: | Line 69: | ||
filter:progid:DXImageTransform.Microsoft.Shadow(color=#e5e6e6, Direction=180, Strength=0);} | filter:progid:DXImageTransform.Microsoft.Shadow(color=#e5e6e6, Direction=180, Strength=0);} | ||
- | .tablecontent tr{height:42px; color:#5a6060; font-family:'Open Sans'; font-size:14px;} | + | .tablecontent tr{height:42px; color:#5a6060; font-family:'Open Sans'; font-size:14px;text-align:center;} |
.tablecontent td{padding:0 25px 0 20px;} | .tablecontent td{padding:0 25px 0 20px;} | ||
Line 93: | Line 93: | ||
<tr style="background-color:#20a8da; height:50px; color:#ffffff;" > | <tr style="background-color:#20a8da; height:50px; color:#ffffff;" > | ||
- | <td style="border-bottom:4px solid #e5e6e6; border-top-left-radius:9px;"> </td> | + | <td style="border-bottom:4px solid #e5e6e6; border-top-left-radius:9px;background-color:#F3F3F3;"> </td> |
- | <td style="border-bottom:4px solid #e5e6e6 | + | <td style="border-bottom:4px solid #e5e6e6; " colspan = "2">Operation</td> |
<td style="border-bottom:4px solid #e5e6e6; border-top-right-radius:9px;">Result</td> | <td style="border-bottom:4px solid #e5e6e6; border-top-right-radius:9px;">Result</td> | ||
</tr> | </tr> |
Revision as of 13:26, 21 August 2013
Binary Reminder
How to count with binary numbers?
For those who don’t remember (or who don’t have any idea of) binary courses, a little reminder about binary counting is here for you!
Operation | Result | ||
Decimal | 5 | 2 | 7 |
Binary | 1 (1*2^2) 0 (0*2^1) 1 (1*2^0) |
0 (0*2^2) 1 (1*2^1) 0 (0*2^0) |
1 (1*2^2) 1 (1*2^1) 1 (1*2^0) |
What is a logic gate?
AND Gate
For a AND gate, two inputs are needed to have a result egal 1.
OR Gate
For a OR gate, one or the other (or both) of the inputs are needed to have a result egal 1.
XOR Gate
For a XOR gate, one or the other of the inputs are needed to have a result egal 1 but not both of them.
Full Adder
This is the truth table of a full adder.