ex 1.1.5 - compound logical expression