APCSP Boolean Logic 1 — Questions and Answers
Question 1: What is the result of TRUE AND FALSE in Boolean logic?
- TRUE
- FALSE (Correct answer)
- UNDEFINED
- NULL
Correct answer: FALSE
AND returns TRUE only when both inputs are TRUE; since one input is FALSE, the result is FALSE.
Question 2: What is the result of TRUE OR FALSE in Boolean logic?
- FALSE
- UNDEFINED
- TRUE (Correct answer)
- NULL
Correct answer: TRUE
OR returns TRUE when at least one input is TRUE, and TRUE is one of the inputs.
Question 3: What does the NOT operator return when applied to TRUE?
- TRUE
- FALSE (Correct answer)
- NULL
- UNDEFINED
Correct answer: FALSE
NOT inverts the Boolean value, so NOT(TRUE) evaluates to FALSE.
Question 4: Which value does the expression TRUE AND (TRUE OR FALSE) evaluate to?
- FALSE
- UNDEFINED
- TRUE (Correct answer)
- NULL
Correct answer: TRUE
TRUE OR FALSE = TRUE, then TRUE AND TRUE = TRUE.
Question 5: What is the result of NOT(FALSE)?
- FALSE
- UNDEFINED
- NULL
- TRUE (Correct answer)
Correct answer: TRUE
NOT inverts the Boolean value, so NOT(FALSE) evaluates to TRUE.
Question 6: What is the purpose of a truth table in Boolean logic?
- To store data in a database
- To show all possible input/output combinations for a logical expression (Correct answer)
- To calculate arithmetic operations
- To display network connections
Correct 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.
Question 7: Which of the following correctly shows the result of the AND operation?
- 0 AND 0 = 1
- 1 AND 0 = 1
- 0 AND 1 = 1
- 1 AND 1 = 1 (Correct answer)
Correct answer: 1 AND 1 = 1
AND only outputs 1 (TRUE) when both inputs are 1 (TRUE); all other input combinations produce 0.
What is the result of TRUE AND FALSE in Boolean logic?