Logic Gates Flashcards

1
Q

What is a gate?

A

A device that performs a basic operation on electrical signals

Consist of transistors

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

What are circuits?

A

Gates combined to perform more complicated tasks

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

What are boolean expressions?

A

Uses Boolean algebra, a mathematical notation for expressing two-valued logic

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

What are logic diagrams?

A

A graphical representation of a circuit; each gate has its own symbol

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

What are truth tables?

A

A table showing all possible input values and the associated output values

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

What is functional notation?

A

Uses a function name followed
by a list of arguments in place of
the operands used in Boolean
expressions

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

What are the two main roles of transistors?

A

amplifier or binary switch

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

What is a NOT gate? What are notations?

A

accepts one input signal (0 or 1) and returns the opposite signal as output, sometimes referred to as an inverter

X= A′= Ā= ¬A

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

Why do we need to use transistors?

A

need to be able to implement the logic
functions in hardware and need to be able to pass the output
of one function to an input of another

they are power efficient and fast

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

What is an AND gate? Notation?

A

accepts two signals (0 or 1)

returns a 1 if both signals are one, if not it returns a 0

X=A*B

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

What is an OR gate? Notation?

A

accepts two signal (0 or 1)

returns a 0 if both inputs are zero otherwise it outputs a 1

X= A + B

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

What is the NAND gate? Notation?

A

(NOT of AND gate)

accepts two input signals, if both are 1 the output is 0 otherwise the output is 1

X=(A*B)’

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

What is the NOR gate? Notation?

A

(NOT of OR gate)

accepts two inputs, If both are 0, the output is 1; otherwise, the output is 0

X = (A+B)’

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

Can some gates be generalized to accept three or more input values?

A

yes

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

What would a three input AND gate act like?

A

will produce an output of 1 only if all input values are 1

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

What is the XOR gate? Notation?

A

accepts only two input signals, if both inputs are the same the output is 0, otherwise it is 1

X= A (circle with cross) B

17
Q

What is the boolean and functional notation of NOT gate?

A

X=A’

X=NOT(A)

18
Q

What is the boolean and functional notation of OR gate?

A

X = A + B

X=OR(A,B)

19
Q

What is the boolean and functional notation of AND gate?

A

X = A * B

X=AND(A,B)

20
Q

What is the boolean and functional notation of NOR gate?

A

X = (A + B)’

X=NOT(OR(A,B))

21
Q

What is the boolean and functional notation of NAND gate?

A

X = (A * B)’

X=(NOT(AND(A,B))

22
Q

How can you define the XOR function in functional and boolean notation in terms of AND, OR, and NOT? How can the XOR function be simplified?

A

X = (A + B) * (A * B)’

X = AND(OR(A,B),NOT(AND(A,B)))

X = NOT(A=B)
X = A<>B

23
Q

How are circuits combined?

A

by using the output of one gate as the input for another

24
Q

How many rows in a truth table are required to show all outcomes for three inputs?

A

8

25
Q

What is the distributive law of boolean algebra?

A

you can turn X=AB + AC (3 gate circuit) into X=A * ( B + C) (2 gate circuit)

26
Q

How are addition operations carried out at the digital logic level?

A

special circuits called adders

27
Q

What is the difference between a half adder and a full adder?

A

half: computes the sum of two bits and produces the correct carry bit

full: computes the sum of two bits and a carry bit and produces the correct carry bit

28
Q

How many cases is evaluated to 1 in AND gate?

A

1 (input of 1,1)

29
Q

How many causes evaluate to 1 in XOR gate?

A

2 (1,0 and 0,1)

30
Q

What is a general formula to find the number of rows in a truth table given the number of inputs?

A

2^n

n is number of rows