Selection, the 'if else' block (part 1): Sense Basics 3.2
Channel: Paul Carter
Date: 2014-11-03

When an if else block’s Boolean condition evaluates to true, any blocks between its upper jaws are executed. 

If an if else block’s Boolean condition evaluates to false, any blocks between its lower jaws are executed. 

In general, if there were blocks in the stack below the lower jaw of the if else block, these would then be executed. 

The completed program for this exercise can be found in SPG_Project_16_completed.

If you are not yet an Open University student and would like to know more about learning to program using Sense or would like more information about studying Information and Communication Technologies then use this link to go to the Open University website:

www.computing.open.ac.uk/