© Jesse Feiler 2018
Jesse FeilerLearn Computer Science with Swifthttps://doi.org/10.1007/978-1-4842-3066-4_4

4. Using Algorithms

Jesse Feiler
(1)
Suite 1, Plattsburgh, New York, USA
 
Algorithms are one of the key components of computer science, but they go back to days long before computers. In “The Miller’s Tale” (1391), Geoffrey Chaucer makes reference to “augrim” stones, which would have been stones used in counting algorithms, but the term and concept go back several centuries even before Chaucer. Simply described, an algorithm is a sequence of actions (usually numeric) that, when performed in a certain order, will produce a specific result.
Such sequences of actions can be written descriptively on paper, but they also can be written in code. ...

Get Learn Computer Science with Swift: Computation Concepts, Programming Paradigms, Data Management, and Modern Component Architectures with Swift and Playgrounds now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.