Question Detail

BIO 107 While Loops & Control Flow Objective Question

Question

Although not explicitly defined in detail, based on the context of 'While Loops & Control Flow' as a topic, what does 'Control Flow' most generally refer to in programming?
Options
A The speed at which a program executes.
B The order in which individual statements or instructions are executed.
Correct Answer
C The ability to control external hardware devices.
D The process of debugging errors in a program.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Control flow is a fundamental programming concept that refers to the order in which individual statements or instructions of a program are executed. While loops, conditional statements (like if/else), and function calls are all mechanisms that control this execution order.

Hint

Think about what while loops, if statements, and other conditional structures do for a program's execution. They dictate *the flow* of control.

Question Info