Some Foundation Stage pupils were making robots while others programmed the Beebot to travel along a path.