Boolean Logic (OCR A-Level Computer Science): Flashcards

📚Flashcards
Boolean Logic
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

Boolean Logic output values

True (1) or False (0)

AND operator - when True?

Both inputs are True

OR operator - when True?

At least one input is True

NOT operator - what does it do?

Returns inverse of input

XOR operator - when True?

Exactly one input is True

AND symbol in Boolean logic

\wedge

OR symbol in Boolean logic

\vee

NOT symbol in Boolean logic

¬\neg

XOR symbol in Boolean logic

\oplus

Truth table definition

Lists all possible input combinations and their outputs

Order of operations: which comes first?

NOT before AND or OR

XOR vs OR: key difference

XOR true only when exactly one input true, not both

Result of TTT \wedge T (AND)

T

Result of FFF \vee F (OR)

F

Result of TTT \oplus T (XOR)

F

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Quizzes by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.