Lesson 4
Repeated Practice Makes Perfect
Chapter 2: Logical operators
Boolean logic
For those not familiar with boolean logic:
A or B or C
isTrue
if at least one ofA
,B
orC
isTrue
. It isFalse
otherwise.A and B and C
isTrue
only if allA
,B
andC
areTrue
. It isFalse
otherwise.not A
will always return the inverse ofA
Let’s see whether you understand what you have read above.
I have included some explanations in the quiz questions, so do read them whether or not you answered the questions correctly!
❮
❯