(a || b) && a
a

The expression simplifies to a because both of the statements below are true.

b is not relevant. Note that if only 1 of the statements above was true, the expression would not simplify to a.

Exercise 5 solution
Exercise 7 solution
Exercises
All solutions