Sequence Structures

 

Probably the most basic structure in programming is the sequence structure.  It relates to the need for things to be done in a particular order.

Think about when you get ready for classes in the morning.  You want to make sure you shower before you dress, though it isn't likely to make a difference whether you put your right sock on before your left sock unless you are an athlete and you have a "winning" combination.

The following diagram represents the sequence structure.