Exercises with Boolean algebra

Exercise Type: Prediction

Instructions

When we combine logical values in a complex way, working with logical operators can be quite challenging and they need some practice. Calculate these expressions using nothing else but your brains - do not use the computer!


Example

The result of

TRUE | (TRUE & FALSE)

is TRUE.


A

TRUE & (TRUE & FALSE)

B

TRUE | (TRUE & FALSE)

C

!(TRUE | (TRUE | FALSE))

D

TRUE & !(FALSE | TRUE)

E

!TRUE & !FALSE

F

TRUE | xor(TRUE, TRUE)