Define logic gate.
A device that performs a basic operation on one or more binary inputs to produce a single output.
What is the output of an AND gate with both inputs true?
The output is true.
True or false: An OR gate outputs true only if both inputs are true.
FALSE
An OR gate outputs true if at least one input is true.
Fill in the blank: A NOT gate inverts the _______ of its input.
value
What is a NAND gate?
A logic gate that outputs false only when all its inputs are true.
Define XOR gate.
A gate that outputs true if the number of true inputs is odd.
What does a NOR gate do?
It outputs true only when all inputs are false.
True or false: A buffer increases the signal strength.
TRUE
What is the primary function of a flip-flop?
To store a single bit of data.
Fill in the blank: A multiplexer selects one input from multiple _______.
inputs
What is a demultiplexer?
A device that takes a single input and channels it to one of several outputs.
Define combinational circuit.
A circuit where the output depends only on the current inputs.
What is a sequential circuit?
A circuit whose output depends on current inputs and past inputs.
True or false: Logic circuits can be built using only AND and NOT gates.
TRUE
This is known as functional completeness.
Fill in the blank: The truth table lists all possible input combinations and their _______.
outputs
What is the purpose of a truth table?
To systematically list the output for every possible input combination.
Define circuit diagram.
A graphical representation of an electrical circuit.
What does de Morgan’s theorem state?
It relates the AND and OR operations through negation.
True or false: XOR is a linear function.
FALSE
Fill in the blank: A logic level represents the _______ of a signal.
state
What is a half adder?
A circuit that adds two single binary digits and outputs a sum and carry.
Define full adder.
A circuit that adds three binary digits, producing a sum and carry.
What is the function of a decoder?
To convert binary information from encoded inputs to unique outputs.
True or false: A 7-segment display can show all decimal digits.
TRUE