I have been looking around on the internet and have not found a good answer yet. If anyone could be so kind and supply a code sample I would greatly appreciate it. I apologize for the simplicity of the question.
This is the simplest one of all: it's when your instructions are executed in the same order that they appear in your program, without repeating or skipping any instructions from the sequence.
For example, this is sequential execution:
On the other hand, this is not sequential execution, because one instruction is going to be skipped.
Sequential code means that it is accessed by a single thread. This means that a single thread can only do code in a specific order, hence it being sequential. The other thing is concurrent code, multiple threads may access the same code synchronously. The programming needs special care put in to it, as multi-threading can pose security risks and inconsistency risks.
protected by Thomas Owens♦ Oct 2 '13 at 13:49
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?