Chapter 23 - Logic gates Flashcards
summarise a NOT gate
- triangle with a circle at the end
- if input is 0, input is 1
- if input is 1, output is 0
- reverses the output
what are all the logic gates
- AND
- OR
- NOT
- XOR
- NAND
- NOR
Booleon expression for NOT gate
line over the letter(s)
summarise an AND (conjunction) gate
- buzzer shape (two inputs one output)
- if both inputs are 1, output is 1, otherwise output is 0
- booleon expression is dot between letters
summarise OR gate (disjunction)
- if either input is 1 then output is 1, otherwise output is 0
- 2 inputs and one output
- curved arrow
- booleon expression is +
summarise XOR gate
- if one, but not both of the inputs is 1, output is 1, otherwise, output is 0
- curved arrow with line going through
- booleon expression is plus in a circle
summarise NAND gate
- if both A and B are 1 , output 0, else output 1
- buzzer shape with circle at the end
- booleon expression is a line over with a dot separating
benefits of NAND gate
- a single type of a NAND gate can perform two separate functions, reducing development costs
- cheaper than separate gates
summarise a NOR gate
- gate only produces an output of 1 if both inputs are 0
- booleon expression is A + B with line over it
- curved arrow with circle at the end
NOT is also known as
negation
how can de morgan’s law be remembered
“change the sign break the bar”, or “change the sign build a bar”
why is NAND known as a universal gate
because all the other gates are created by using this gate
If a logic gate expression is A.B + C, how do you know how to draw it?
In logic gate expressions, AND (·) operations are performed before OR (+) operations unless parentheses specify otherwise. For A.B + C, the expression is equivalent to (A.B) + C