by David J. Malan <malan@post.harvard.edu>
Printer-Friendly Version of Tutorial

« Previous | Table of Contents | Next »

Boolean Expressions

In programming, a Boolean expression is an expression that is either true or false. In Scratch, any block shaped like an elongated diamond is a Boolean expression.

One such block is:



After all, it is either true that the mouse button is down or it is false.

Another such block is:



After all, it is either true that some number is less than another number or it is false.

With Boolean expressions can we construct conditions, to which we turn our attention next.

« Previous | Table of Contents | Next »