BOOLEAN LOGIC Flashcards

1
Q

What is the truth table for AND gates?

A

A | B | P
————
0 | 0 | 0
————
0 | 1 | 0
————
1 | 0 | 0
————
1 | 1 | 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the truth table for OR gates?

A

A | B | P
————
0 | 0 | 0
————
0 | 1 | 1
————
1 | 0 | 1
————
1 | 1 | 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the truth table for NOT gates?

A

0 | 1
——-
1 | 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the truth table for XOR gates?

A

A | B | P
————
0 | 0 | 0
————
0 | 1 | 1
————
1 | 0 | 1
————
1 | 1 | 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the notation for conjunction (AND)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the notation for disjunction (OR)?

A

v

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the notation for negation (NOT)?

A

¬

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the notation for exclusive disjunction (XOR)?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the order of operations?

A
  • brackets
  • NOT
  • AND
  • OR/XOR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is De Morgan’s 1st law?

A

¬ (A v B) = ¬ A ^ ¬ B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is De Morgan’s 2nd law?

A

¬ (A ^ B) = ¬ A v ¬ B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

X ^ 0

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

X ^ ¬ X

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

X v X

A

X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

X ^ 1

A

X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

X v 0

A

X

17
Q

X v ¬ X

A

1

18
Q

X ^ X

A

X

19
Q

X v 1

A

1

20
Q

¬ ¬ X

A

X

21
Q

What is commutative law?

A

X ^ Y = Y ^ X
X v Y = Y v X

22
Q

What is associative rule?

A

X ^ (Y ^ Z) = (X ^ Y) ^ Z
X v (Y v Z) = (X v Y) v Z

23
Q

What is distributive rule?

A

X ^ (Y v Z) = (X ^ Y) V (X v Z)
(X v Y) ^ (W v Z) = (X ^ W) v (X ^ Z) v (Y ^ W) V (Y ^ Z)

24
Q

What is absorption rule?

A

X v (X ^ Y) = X
X ^ (X v Y) = X