Yes, you are correct. A program runs through a linear sequence, mind you this may involve branching or looping conditions, but big picture is A -> B -> C. May I refer you to Chapter 5 - Functions and Program Structure as well as Chapter 3 - Statements and Control Flow for a more in depth explanation.