This section contains 460 words (approx. 2 pages at 300 words per page) |
Sequential control refers to the execution of statements in the order in which they were written by the programmer. Typically, sequential execution occurs in subroutines that, when combined, form the complete program code. The sequential execution is important as the execution of one statement can depend on the execution of a preceding statement.
In most programs, the sequential control is the default function. Unless otherwise commanded by the programmer, a computer will execute statements in stepwise order and will continue until a termination command is read. If a nonsequential order of statement execution is desired, this order must be written into the code by the programmer.
The use of a sequential control is especially beneficial in longer programs. In short programs, where only a few lines of code may be present, the execution of statements by the computer and the comprehension of the code by the...
This section contains 460 words (approx. 2 pages at 300 words per page) |