Boolean Logic (OCR A-Level Computer Science): Flashcards
📚Flashcards
Practise the cards
15 cards from this deck
ShowHide
Practise the cards
15 cards from this deck
Boolean Logic output values
Boolean Logic output values
True (1) or False (0)
AND operator - when True?
AND operator - when True?
Both inputs are True
OR operator - when True?
OR operator - when True?
At least one input is True
NOT operator - what does it do?
NOT operator - what does it do?
Returns inverse of input
XOR operator - when True?
XOR operator - when True?
Exactly one input is True
AND symbol in Boolean logic
AND symbol in Boolean logic
OR symbol in Boolean logic
OR symbol in Boolean logic
NOT symbol in Boolean logic
NOT symbol in Boolean logic
XOR symbol in Boolean logic
XOR symbol in Boolean logic
Truth table definition
Truth table definition
Lists all possible input combinations and their outputs
Order of operations: which comes first?
Order of operations: which comes first?
NOT before AND or OR
XOR vs OR: key difference
XOR vs OR: key difference
XOR true only when exactly one input true, not both
Result of (AND)
Result of (AND)
T
Result of (OR)
Result of (OR)
F
Result of (XOR)
Result of (XOR)
F
