What this deck covers
This deck focuses on Comparing Boolean Expressions, giving you a quick way to review the definitions, rules, and examples that matter most for AP Computer Science a.
Study Comparing Boolean Expressions in AP Computer Science a with focused flashcards that help you recognize the idea, recall the key rule, and apply it in practice-style prompts.
0% Complete
Determine the result of: !(false || (true && true)).
Tap card or press Space to flip
false. (true && true) is true, (false || true) is true, !(true) is false.
How well did you know it?
Card 1 / 48
Space to flip · ← / → to move · once flipped, → Got it · ← Still learning
This deck focuses on Comparing Boolean Expressions, giving you a quick way to review the definitions, rules, and examples that matter most for AP Computer Science a.
Work through these flashcards in short sessions. Try to answer each prompt before flipping the card, then revisit any cards you miss until the explanation feels automatic.
Answer: false. (true && true) is true, (false || true) is true, !(true) is false.
Answer: !a && !b. De Morgan's Law: negate OR, flip to AND, negate operands.
Answer: false. NOT operator flips true to false.
Answer: Negates the Boolean value. The NOT operator flips true to false and vice versa.
Answer: Logical OR. Returns true when at least one operand is true.
Answer: !a || !b. De Morgan's Law: negate AND, flip to OR, negate operands.
Answer: false. Both AND operations are false, so false OR false is false.
Answer: true. (true && true) is true, and true OR false is true.
Answer: true. Parentheses first: (false || true) is true, then true && true.
Answer: true. (true && false) is false, but false || true is true.
Answer: !, &&, ||. NOT has highest precedence, then AND, then OR.
Answer: false. (true || false) is true, but true && false is false.
Answer: !a || !b. De Morgan's Law: negate AND, flip to OR, negate operands.
Answer: false. Both AND operations are false, so false OR false is false.
Answer: true. true OR anything is always true.
Answer: true. OR returns true if at least one operand is true.
Answer: true!false is true, (true || false) is true, true && true is true.
Answer: false. Inner expression is true, so !(true) is false.
Answer: true!false is true, (true || false) is true, true && true is true.
Answer: Negates the Boolean value. The NOT operator flips true to false and vice versa.
Answer: true. (true || false) is true, and true && true is true.
Answer: !, &&, ||. NOT has highest precedence, then AND, then OR.
Answer: false. false AND anything is always false.
Answer: false. (true && true) is true, (false || true) is true, !(true) is false.
Answer: false. AND requires both operands to be true.
Answer: false. (true || false) is true, but true && false is false.
Answer: true. NOT operator flips false to true.
Answer: false. false OR !true becomes false OR false equals false.
Answer: true. (true || false) is true, and true && true is true.
Answer: false. Inner expression is true, so !(true) is false.
Answer: Logical AND. Returns true only when both operands are true.
Answer: false. NOT operator flips true to false.
Answer: true. (false && anything) is false, so !(false) is true.
Answer: true. true OR anything is always true.
Answer: true. (false && anything) is false, so !(false) is true.
Answer: true. true OR anything is always true.
Answer: !a && !b. De Morgan's Law: negate OR, flip to AND, negate operands.
Answer: false. false OR !true becomes false OR false equals false.
Answer: true. (true && true) is true, and true OR false is true.
Answer: Logical AND. Returns true only when both operands are true.
Answer: false. AND requires both operands to be true.
Answer: true. true OR anything is always true.
Answer: true. Parentheses first: (false || true) is true, then true && true.
Answer: true. (true && false) is false, but false || true is true.
Answer: Logical OR. Returns true when at least one operand is true.
Answer: true. NOT operator flips false to true.
Answer: false. false AND anything is always false.
Answer: true. OR returns true if at least one operand is true.