Logic Gates And Boolean Algebra Flashcards

1
Q

What is the order of logic gates simplification?

A
  • Brackets
  • Negation (NOT)
  • Multiplication (AND)
  • Addition (OR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the commutative laws?

A
  • A /\ B = B /\ A

- A V B = B V A

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

What are the associative laws?

A
  • (A V B) V C = A V (B V C) = A V B V C

- (A /\ B) /\ C = A /\ (B /\ C) = A /\ B /\ C

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

What are the distributive laws?

A
  • A /\ (B V C) = (A /\ B) V (A /\ C)

- A V B /\ C = (A V B) /\ (A V C)

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

What are De Morgan’s Laws?

A

¬(A V B) = ¬A /\ ¬B

¬(A /\ B) = ¬A V ¬B

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

What are the AND rules?

A
  • A /\ 0 = 0
  • A /\ A = A
  • A /\ 1 = A
  • A /\ ¬A = 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the OR rules?

A
  • A V 0 = A
  • A V 1 = 1
  • A V A = A
  • A V ¬A = 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why do we simplify boolean algebra?

A
  • practical use in circuit design

- fewer gates = cheaper

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

What is a NAND gate? Truth table?

A
  • table in book
  • AND combined with a NOT gate
  • true all the time unless both inputs are true
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a NOR gate? Truth table?

A
  • table in book
  • NOT and OR gate combined
  • only true if both inputs are false
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a XOR gate? Truth table?

A
  • exclusive OR

- true if one of the inputs is but not if both are

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

What are adder circuits used for?

A

Binary addition - also deals with carry digits

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

What is a half adder?

A
  • 2 inputs and a carry digit are fed to it

- carry digit and an output are generated

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

What is a full adder?

A
  • 2 inputs and a carry and sent in
  • sum of 2 inputs is sent to another adder and combined with original carry digit to create the final sum.
  • Carry digit of first sum is sent to a OR gate and combined with carry digit of second sum to produce final carry digit output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a flip-flop circuit?

A
  • circuit compromising of NAND dates (storage used in SSD’s)
  • can exist in either on or off state which enables it to store store one item of data (1 or 0). Flips between the 2 states, hence name
  • combine to make other range of flip flops
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the D-type flip flop?

A
  • combination of 2 flip-flops
  • uses clock controlled circuit to control the output, delaying it by on clock pulse. D stands for delay
  • 2 inputs; data and clock; and two outputs: they delayed data and the inverse of the delayed data
17
Q

Draw a flip-flop and D type flip-flop circuit

A

Images in book