Section 1a

The Concept of Linear Progression, or Sequence


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Introduction

The concept of sequential operations is basic to all computer programs. While there are some different ways to approach programming, and there are some changes that can be made in the sequence of the processes, every computer program follows one step after the other unless there are specific reasons to change the order of operations. It is not hard to understand the value and need to follow a certain path toward solving a problem or accomplishing a task.

Consider what you had to do this morning to get started:

When it came to getting dressed, brushing your teeth, and eating breakfast, the order was not critical, and could have been conducted in a variety of ways. However, the first four steps had to be implemented in the proper order. People who move from their sitting/lying position to a standing position without removing their covers or opening their eyes usually regret it at some point.

Beyond the required sequential steps, consider the fact that even when you did put on your clothes, brush your teeth, and eat your breakfast, you still had to do them in a fairly linear progression. You should not try to eat while brushing your teeth, and while you might be able get dressed while eating, there are bound to be accidents. Hence, even when you have the option to change which thing you do first, the processes will still occur in a generally linear sequence.

Think about other sequences you conduct every day, such as cooking breakfast, starting and driving your car, going to classes, and so on.

Watch the video on this concept.