Boolean Logic Flashcards
AI Generated. looked fine... (27 cards)
What is a logic gate?
A logic gate is an electronic component that performs a basic logical function on one or more binary inputs to produce a single binary output.
Which logic gate outputs true only when all inputs are true?
AND gate
True or False: An OR gate outputs true only when at least one input is false.
False
Fill in the blank: The ____ gate outputs true only when both inputs are false.
NOR
What symbol represents an AND gate in a logic diagram?
A flat-ended shape with a dot at the output.
Which logic gate is represented by a curved shape with two inputs and one output?
OR gate
What is the output of a NAND gate when both inputs are true?
False
True or False: A NOT gate can have multiple inputs.
False
What is the primary function of a NOT gate?
To invert the input signal.
Which logic gate is equivalent to an AND gate followed by a NOT gate?
NAND gate
What is the output of an XOR gate when both inputs are the same?
False
Fill in the blank: The ____ gate outputs true if the inputs are different.
XOR
What is the main use of logic gates in digital circuits?
To perform logical operations on binary data.
Which logic gate can be used to create a multiplexer?
AND, OR, and NOT gates can be used together.
True or False: A buffer is a type of logic gate that amplifies the input signal.
True
Which logic gate can be used to implement a full adder?
AND, OR, and XOR gates.
What is the function of a half adder?
To add two single-bit binary numbers and produce a sum and a carry output.
Fill in the blank: The ____ gate produces an output that is true unless both inputs are true.
NAND
What is the output of a NOR gate when at least one input is true?
False
Which logic gate is often used for error detection?
XOR gate
What is the truth table used for?
To represent the output of a logic gate for all possible input combinations.
True or False: Logic gates can be combined to create complex circuits.
True
What is a universal gate?
A gate that can be used to construct any other type of gate, such as NAND or NOR.