Boolean logic gates Flashcards
(20 cards)
What is a Boolean logic gate?
A device that implements a Boolean function, performing operations on one or more binary inputs to produce a single binary output.
What is the output of an AND gate when both inputs are true?
True
Fill in the blank: The output of a NOT gate is the ______ of its input.
negation
True or False: An OR gate will output true if at least one input is true.
True
What does an XOR gate output when both inputs are the same?
False
Complete the truth table for an AND gate: 0 AND 0 = ?, 0 AND 1 = ?, 1 AND 0 = ?, 1 AND 1 = ?
0, 0, 0, 1
Which gate produces an output of true only when both inputs are false?
NAND gate
What is the output of a NOR gate when both inputs are true?
False
How many inputs can a typical logic gate have?
Typically 2, but can have more.
True or False: The output of a NAND gate is the negation of the AND gate output.
True
What is the primary function of a NOT gate?
To invert the input signal.
Complete the truth table for an XOR gate: 0 XOR 0 = ?, 0 XOR 1 = ?, 1 XOR 0 = ?, 1 XOR 1 = ?
0, 1, 1, 0
What is the output of an OR gate when both inputs are false?
False
Fill in the blank: The symbol for an AND gate is a ______ shape.
D
Which gate is known as the universal gate?
NAND gate
True or False: An OR gate can only have two inputs.
False
What is the output of a NOR gate when both inputs are false?
True
Complete the truth table for a NAND gate: 0 NAND 0 = ?, 0 NAND 1 = ?, 1 NAND 0 = ?, 1 NAND 1 = ?
1, 1, 1, 0
What is the output of a NOT gate when the input is true?
False
Fill in the blank: The output of an OR gate is true if at least one input is ______.
true