Hour 9. Programming Algorithms

In this hour, you will learn about programming algorithms that are common across all programming languages. An algorithm is a common procedure or methodology for performing a certain task. In mathematics, algorithms provide step-by-step methods for solving a problem in a finite number of steps that can require some repetition. To keep things simple, you’ll see the algorithms in JavaScript, but the concepts you learn here are important no matter which programming language you use.

You will learn how to use your programs to count data values and accumulate totals. This is a technique that’s been touched upon in earlier lessons, but this hour will formalize your understanding of the topic. The computer is a perfect ...

Get Beginning Programming in 24 Hours, Sams Teach Yourself, Third Edition 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.