Based on the previous post, you have learned about the logic gate. This post you'll be introduce to a new basic of learning in computer structure. The truth table is just to show on how a logic circuit’s output responds
to various combination of input.
Every computer used binary system(1,0) because it's the basic languages that can be understood by computer. The binary '1 and 0' also known as 'Truth and False' statement.
example of truth table:
A
|
B
|
C
|
0
|
0
|
0
|
1
|
0
|
1
|
0
|
1
|
1
|
1
|
1
|
1
|
input(A)+input(B)=output(C)
the example given are only for two inputs, but the truth table can be used for extend number of bits such 2n
n=the number of input.
you'll know on how many column by knowing how many inputs you want to used.
- "OR"
- "AND"
For "OR" logical function, we used '+' expression. Thus, the output will always be 'Truth' or 1 if in the input there got 'Truth' or 1 statement.
and for "AND" logical function, the input given will be multiply altogether. Hence, the output will most common be 'False' or 0 if in the input has 'False'or 0 statement.
A
|
B
|
C
|
0
|
0
|
0
|
1
|
0
|
0
|
0
|
1
|
0
|
1
|
1
|
1
|
[input(A)][input(B)]=output(C)
That all for now, hope you guys can understand clearly of what was written here. Do give comment in the section below. Happy reading :)
BY Ikhwan Bin Ali( B031210376)
No comments:
Post a Comment