What is a Boolean expression?
Expression that evaluates to True or False
What are the three Boolean operators?
AND OR NOT
What is the AND operator?
True if both conditions are true otherwise False
What is the OR operator?
True if at least one condition is true otherwise False
What is the NOT operator?
Reverses the truth value
What is a truth table?
Table showing output for all input combinations
What is a logic gate?
Electronic component performing Boolean operations
What are the main logic gates?
AND OR NOT NAND NOR XOR XNOR
What is the output of a NAND gate?
Opposite of AND
What is the output of a NOR gate?
Opposite of OR
What is the output of an XOR gate?
True if inputs are different
What is the output of an XNOR gate?
True if inputs are the same
How is a Boolean expression simplified?
Using laws like De Morgan’s and algebraic manipulation
What is a compound Boolean expression?
Expression combining multiple operators
What is a conditional statement?
Decision based on a Boolean expression
What is truth table testing?
Checking all possible input combinations for correctness
What is the use of logic gates in computers?
Form the basis of circuits and decision-making
What is De Morgan’s law?
Rules for simplifying NOT over AND/OR expressions
What is the difference between hardware and software logic?
Hardware uses gates Software uses Boolean operations
Why are XOR gates used in computers?
For addition and comparison operations
What is a logic circuit?
Combination of gates performing a function
What is sequential logic?
Output depends on current and previous inputs
What is combinational logic?
Output depends only on current inputs
What is a flip-flop?
Memory element storing one bit