Question Detail

COS 102 6 lecture note; fundamentals of programming Objective Question

Question

What is the primary definition of a program's 'control flow'?
Options
A The speed at which the program executes.
B The order in which the program's code executes.
Correct Answer
C The memory usage pattern of a program.
D The user interface design of an application.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Slide 18 states: 'A program’s control flow is the order in which the program’s code executes.'

Hint

Check the definition of 'CONTROL FLOW' on slide 18.

Question Info