Binary Logic
A binary digit, or bit, can have one of two states. That is what DW described.
Binary logic is usually used to refer to computer gates that create a result based on binary input.
Binary logic is usually used to refer to computer gates that create a result based on binary input.
0 = (not 0) 1
1 = (not 1) 0
Not gates don't need a signal (0) to output a signal.
And gates need both inputs to be on (1) to output a signal.
0 AND 0 = 0
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1
or gates need atleast one input to be on (1) to output a signal.
0 OR 0 = 0
0 OR 1 = 1
1 OR 0 = 1
1 OR 1 = 1
0 OR 1 = 1
1 OR 0 = 1
1 OR 1 = 1
on switch- 1
off switch- 0



No comments:
Post a Comment