Order of Operations (Boolean Precedence)

Test yourself on Boolean Expressions with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Boolean ExpressionsGet your flashcardsBuild my revision planTrack my progress

Order of Operations (Boolean Precedence)

Just like BIDMAS in maths, Boolean expressions have an order of operations:

Priority Operation Symbol Example
1 (First) Brackets/Parentheses ( ) Evaluate (A OR B) before anything else
2 NOT NOT NOT(A) is evaluated before AND/OR
3 AND AND A AND B before OR (like × before +)
4 (Last) OR OR A OR B is evaluated last (like +)

Example without brackets: NOT A AND B OR C

  • Step 1: NOT A (NOT first)
  • Step 2: NOT(A) AND B (AND second)
  • Step 3: [NOT(A) AND B] OR C (OR last)

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.