Logic Gates and Circuits Flashcards

1
Q

x + x and x * x is equal to? Also what is the rule called?

A

x + x = x, x* x = x (Idenpotent Rule)

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

What is the rule, where anything + 1 is equal to 1?

A

x + 1 = 1 , Unit and Zero property

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

What is the zero property with products (AND GATES)?

A

x*0 = 0

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

What is the fancy word for double negation?

A

Involution x = ((x)’)’

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

What does the associative rule mean? Does it work for both OR and AND gates?

A

Yes!
x + ( y + z) = (x + y) + z
x · (y · z) = (x ·y) · z

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

What is Demorgan’s law.

A
(x+y)' = x'y'
(xy)' = x' + y'
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the absorption law?

A

x + xy = x

x · (x + y) = x

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

What is the operator precedance?

A

1- Brackets
2- NOT
3- AND
4- OR

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

What are the common ways to minimize logic circuit?

A

By using boolean algebra and/or K-maps

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

What are Minterms and Maxterms?

A

minterms are when the function’s output is 1 (true). The max term is when the function’s output is 0.

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

How is the k-map setup?

A

the k-map must be setup so that only 1 variable changes from one box to the other.
Ex: 00, 01, 11, 10

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

What are the restrictions of the k-map?

A

The k-map can only use 4 or 5 variables.

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

What is a prime implicant?

A

The prime implicant is the most reduced expression.

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

What is the difference between SOP and POS.

A

Sum of products. Example: ABC+A’B+B’C

Product of sums Example: (A+B+C)(A’+B)(B’+C)

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

How do you simplify using the K-map?

A

By making groups of 2^n
Groups of 2 -> 1 variable gets dropped
Groups of 4 ->2 variables gets dropped
Group of 8 -> 3 variables gets dropped

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

Why do people tend to design their circuits using NAND gates?

A

Because the NAND gates are cheaper to build and they make the circuit easier to physically implement.

17
Q

How do you deal with extra inputs to a AND logic gate?

A

By connecting the left over inputs to 1.

18
Q

How do you deal with extra inputs to a OR logic gate?

A

By connecting the left over inputs to 0.

19
Q

How do you implement an AND gate using only NAND?

A

By using only 2 NAND gates.
Results (gate by gate)
AB->(AB)’->((AB)’)’ -> AB

20
Q

How do you implement a NOT gate using NAND?

A

By connecting the same variable to both inputs of the NAND. since, (AA)’ = A’

21
Q

How do you implement a NOR gate using NAND gates?

A

By using 3 NAND gates. Using the same principale as the NOT gate, You can get A going into the 2 inputs of the first NAND gate exclusively. You can also do that with B. That way you have A’ and B’ as inputs into the last NAND gate. Which result in (A’B’)’ = A+B

22
Q

What is the boolean expression for XOR gate?

A

F = A’B + AB’