Boolean Logic Flashcards
7 cards from real APCSP practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Boolean Logic flashcards as text
What is the result of TRUE AND FALSE in Boolean logic?
Answer: FALSE
AND returns TRUE only when both inputs are TRUE; since one input is FALSE, the result is FALSE.
What is the result of TRUE OR FALSE in Boolean logic?
Answer: TRUE
OR returns TRUE when at least one input is TRUE, and TRUE is one of the inputs.
What does the NOT operator return when applied to TRUE?
Answer: FALSE
NOT inverts the Boolean value, so NOT(TRUE) evaluates to FALSE.
Which value does the expression TRUE AND (TRUE OR FALSE) evaluate to?
Answer: TRUE
TRUE OR FALSE = TRUE, then TRUE AND TRUE = TRUE.
What is the result of NOT(FALSE)?
Answer: TRUE
NOT inverts the Boolean value, so NOT(FALSE) evaluates to TRUE.
What is the purpose of a truth table in Boolean logic?
Answer: To show all possible input/output combinations for a logical expression
A truth table systematically lists all possible input combinations and their corresponding outputs for a Boolean expression.
Which of the following correctly shows the result of the AND operation?
Answer: 1 AND 1 = 1
AND only outputs 1 (TRUE) when both inputs are 1 (TRUE); all other input combinations produce 0.