Computer ScienceExam code: 0984

Boolean Logic and Expressions

Boolean Logic

The reverse problem: you are given an expression and specific values for its variables, and have to compute the output.

Method. (1) Substitute each variable with its given 0 or 1. (2) Apply operators in order: brackets first, then NOT, then AND, then OR. (3) Write down every intermediate value rather than doing the whole thing in your head.

Quick check

3 short questions on this note. See what has stuck, and where to look if something hasn't.

About 1 minute

Build on this topic