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 how to program, one problem many people face is how to transform an idea to go. Where should you start? In this chapter, we will learn that we can use the concept of sequential thinking to break down an idea into smaller tasks that...