Logic Gates Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are Logic Gates?

A

They are circuits used to perform logical operations

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

What is a Truth Table?

A

A Truth Table is a diagram that shows all possible logical inputs and their associated outputs.

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

Name the 6 logic gates.

A
AND
OR
NOT
XOR
NAND 
NOR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does a NOT gate do and what does it look like and how is it represented in an expression?

A
  • The output is the inverse of the input
  • Has a triangle and a little circle
  • represented by an overbar, Q = ‾A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does a AND gate do and what does it look like and how is it represented in an expression?

A
  • Two or more inputs where the output is true if all inputs are true
  • Has a D shape
  • represented by a dot, Q = A . B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does an OR gate do and what does it look like and how is it represented in an expression?

A
  • Two or more inputs where the output is true if either or both inputs are true
  • Has a crescent shape
  • represented by a plus, Q = A + B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what does an XOR gate do and what does it look like and how is it represented in an expression?

A
  • Takes two or more inputs where the output is true if one input is exclusively true
  • Has a crescent shape with an extra curved line
  • represented by a circle with a plus inside, Q = A⊕B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what does a NAND gate do and what does it look like and how is it represented in an expression?

A
  • It inverts the output of an AND gate
  • Has a D shape and a little circle
  • represented by an overbar over A . B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what does a NOR gate do and what does it look like and how is it represented in an expression?

A
  • Takes two or more inputs where the output is true when all inputs are false
  • Has a crescent shape with a little circle
  • represented by an overbar over A + B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you know how many rows to fill in in a logic table?

A

Do 2 to the power of the number of inputs
2^2 inputs = 4 rows
2^3 inputs = 8 rows

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