Pupils from Kincardine O’Neil Primary School have been learning all about robots.
They were visited by a touring programme of science shows delivered by the Edinburgh International Science Festival.
During the Generation Science workshop on Monday, the youngsters joined the robot sports training camp.
They were were put through their paces using Lego WeDo kits, building their own goalkeepers and programming them for a World Cup penalty shoot-out.
Bricks and Blocks is one of 15 shows and workshops provided by Generation Science that are designed to make science fun, exciting, easy to understand and to help teachers cover the school science curriculum.
Generation Science has been working with Total E&P UK since 2013 and, through its support, annually reaches more than 2,000 primary pupils at 60 different schools in Aberdeen and Aberdeenshire.
This year’s tour will take in 45 schools in Aberdeenshire and 15 in the city.
Frances Ridley, head teacher at Kincardine O’Neil Primary School, said: “We are delighted to welcome the Generation Science tour to the school.
“Bricks and Blocks is an excellent way of engaging children with science and teaching them the basics of computer programming using a hands-on practical approach.
“Our pupils will have opportunities of extending their learning following the visit. We teach science as a subject but we also use it as a way of developing life skills.”
Total is encouraging schoolchildren to learn STEM subjects and through its work with Generation Science wants to ensure that every primary school in Aberdeen, Aberdeenshire and the Shetland Islands will have the opportunity to see science brought to life in their classroom by the end of the year.
Joan Davidson, Generation Science manager said: “We were delighted to be visiting Kincardine O’Neil Primary School this year. “Thanks to our supporters like Total E&P UK, over the spring and summer terms we will visit over 600 schools in Scotland, educating young learners about the wonder of science and its real-world applications.
“Our aim is to improve the provision of science education in Scottish primary schools, bring science to life in the classroom and inform, inspire and engage young learners in science.”