Calendar An icon of a desk calendar. Cancel An icon of a circle with a diagonal line across. Caret An icon of a block arrow pointing to the right. Email An icon of a paper envelope. Facebook An icon of the Facebook "f" mark. Google An icon of the Google "G" mark. Linked In An icon of the Linked In "in" mark. Logout An icon representing logout. Profile An icon that resembles human head and shoulders. Telephone An icon of a traditional telephone receiver. Tick An icon of a tick mark. Is Public An icon of a human eye and eyelashes. Is Not Public An icon of a human eye and eyelashes with a diagonal line through it. Pause Icon A two-lined pause icon for stopping interactions. Quote Mark A opening quote mark. Quote Mark A closing quote mark. Arrow An icon of an arrow. Folder An icon of a paper folder. Breaking An icon of an exclamation mark on a circular background. Camera An icon of a digital camera. Caret An icon of a caret arrow. Clock An icon of a clock face. Close An icon of the an X shape. Close Icon An icon used to represent where to interact to collapse or dismiss a component Comment An icon of a speech bubble. Comments An icon of a speech bubble, denoting user comments. Ellipsis An icon of 3 horizontal dots. Envelope An icon of a paper envelope. Facebook An icon of a facebook f logo. Camera An icon of a digital camera. Home An icon of a house. Instagram An icon of the Instagram logo. LinkedIn An icon of the LinkedIn logo. Magnifying Glass An icon of a magnifying glass. Search Icon A magnifying glass icon that is used to represent the function of searching. Menu An icon of 3 horizontal lines. Hamburger Menu Icon An icon used to represent a collapsed menu. Next An icon of an arrow pointing to the right. Notice An explanation mark centred inside a circle. Previous An icon of an arrow pointing to the left. Rating An icon of a star. Tag An icon of a tag. Twitter An icon of the Twitter logo. Video Camera An icon of a video camera shape. Speech Bubble Icon A icon displaying a speech bubble WhatsApp An icon of the WhatsApp logo. Information An icon of an information logo. Plus A mathematical 'plus' symbol. Duration An icon indicating Time. Success Tick An icon of a green tick. Success Tick Timeout An icon of a greyed out success tick. Loading Spinner An icon of a loading spinner.

Computer coders at Moray school triumph in global competition

S3 pupils from Elgin Academy came first in a competition for computer coding. L-R: Matthew Hamilton, James Orr, Daniel Campbell, and Adam Govier.
S3 pupils from Elgin Academy came first in a competition for computer coding. L-R: Matthew Hamilton, James Orr, Daniel Campbell, and Adam Govier.

A teenage team of crack computer coders at a Moray school have beaten off global competition to design new software.

Four S3 pupils from Elgin Academy used micro-computers to devise algorithms that could run a jukebox, quiz and stopwatch.

Adam Govier and Daniel Campbell were two of only eight students from more than 5,000 entries worldwide to get full marks in the Grok Learning contest. Classmates James Orr and Matthew Hamilton also made it into the global top 10.

The pupils were given a weekly brief to design a program – beginning with a simple code to switch on a lightbulb up to a complex sequence of hundreds of letters and numbers that could run a game show-style quiz. The computing students have been learning the python code during classes at Elgin Academy.

Roseisle resident Daniel Campbell said: “The code was really unforgiving. One little mistake could mean the whole thing didn’t work and you have to go through it all again to find out where.”

Jukeboxes designed by the students have been programmed to play about a dozen songs at the click of a mouse, including classical tunes and happy birthday.

A picture to accompany the melodies is also displayed on the computer monitor while the music is playing.

Hopeman teenager Adam Govier is now eager to pursue a career in designing software.

He said: “I would like to do computer programming in the future. I do it as a hobby at the moment but I find it fun – I like the problem solving part of it.

“It was quite a challenge to work out how we would go about designing the programs every week. It’s amazing to see how well we all did in the competition.”

Computing teacher Donald Mackay explained that programming had several educational benefits and that although there was no prize for the teenagers they had undoubtedly claimed “bragging rights”.

He said: “It encourages logical thinking and it’s also good for problem solving, which can be applied in a number of subjects or in life.

“The students have shown a great deal of interest in it so this was a way to see if they could stretch and push themselves. They’ve all done incredibly well.”

Already a subscriber? Sign in

[[title]]

[[text]]