Question Detail

COS 102 6 lecture note; fundamentals of programming Objective Question

Question

In a Sequential control structure, how are instructions typically executed?
Options
A Instructions are executed repeatedly until a specific condition is met.
B Instructions are executed based on the evaluation of a Boolean expression, choosing one path over another.
C Instructions are executed one after another in the exact order they are written in the code.
Correct Answer
D Instructions are executed concurrently, with multiple operations running at the same time.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 32 of the document defines sequence: "Sequence is the default control structure; instructions are executed one after another."

Hint

Consider the simplest form of program execution where code runs from top to bottom without any branching or repetition.

Question Info