Chapter 5: Sequence – The Basic Building Block of a Computer Program

When it comes to programming, the most fundamental concept is the sequence. It indicates what we do and when we do it, one after another. However, when we take a closer look, we find that there is more to this, and, in this chapter, we will learn what it is.

We will also use the concept of a sequence to decide what steps a program will need to perform to accomplish its overall task. Since it can be tough to have both an overview of everything that needs to be done and, at the same time, look at all the details, we will require a concept that can assist us. Thinking of the sequence in which the program needs to do things in, for instance, could be such a tool.

When learning ...

Get Computer Programming for Absolute Beginners 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.