logical operation Flashcards
1
Q
what is a logical operator?
A
symbols used to represent circuits of transistors within a computer
2
Q
what is a truth table?
A
a visual way of displaying all possible outcomes of a logical operator
3
Q
NOT logical operator
A
produces an output which is opposite of the input
4
Q
AND logical operator
A
will output 1 only if both inputs are also 1
5
Q
OR logical operator
A
will output 1 if either input is 1
6
Q
XOR logical operator
A
will output 1 if the inputs are different and output 0 if the inputs are the same
7
Q
commutative law
A.B =
A+ B =
A
8
Q
Idempotent law
A.A=
A+A=
A
9
Q
Complement law _ A.A = _ A + A =
A
10
Q
identity law
A.1 =
A + 0 =
A
11
Q
Annulment law
A.0 =
A + 1 =
A
12
Q
Absorption law
A.(A+B)
A + (A.B)
A
13
Q
Association law
A.(B.C) =
A + (B+C)=
A
14
Q
Distribution law
A+ (B.C) =
A.(B+C) =
A