The CTP Book

A book for teaching Computational Thinking and Programming skills to people with a background in the Humanities

View on GitHub

Chapter “Programming languages”, exercise 1

Text

What is the boolean value of not (not True or False and True) or False?

Answer

not (not True or False and True) or False =>
not (False    or False and True) or False =>
not (False    or False         ) or False =>
not False                        or False =>
True                             or False =>
True