Yr 4 have used Lego WeDo to create sequences to carry out mathematical functions.
This video shows a multiplication machine in operation.
Yr 3 have used Lego WeDo to create models which are then controlled by a sequences.
A sensor has been built into the model to detect anything close to it.
Yr 5 have used basic spread sheet techniques to create an application that automatically works out whether a budget has been exceeded once all items and quantities are entered.