Computer Science (Year 9)

Algorithms

What is the function of an algorithm in computer science?