Unit 8 - Boolean Algebra Flashcards

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

What are the functions of each logic gate? (AND, OR, NOT, XOR, NAND, NOR)

A

AND - returns 1 if both inputs are 1
OR - returns 1 if any input is 1
NOT - inverts the input (1 -> 0, 0 -> 1)
XOR - returns 1 if both inputs are different (one is 1, the other is 0)

(not as important):
NAND - returns the inverse of the AND gate
NOR - returns the inverse of the OR gate

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

What does each symbol represent (logic gates)?
¬


A

¬ - NOT
∧ - AND
∨ - OR
⊻ - XOR

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

What is a half adder?

A
  • A logic circuit used for addition
  • Takes two bits as inputs (A and B) and outputs a sum bit (A XOR B) and a carry bit (A AND B)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a full adder?

A
  • Combination of two half adders to add three bits together (A, B, and a carry bit C)
  • Outputs a sum bit (A XOR B XOR C) and a carry bit ((A AND B) OR (C AND (A XOR B))
  • Full adders can be connected together so that x fuller adders can be used to add x bits (sounds wrong to me ngl get this checked)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are D-type flip-flops?

A

mannnn they gay as hell thats fa sho

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