Question Detail

COS 102 6 lecture note; fundamentals of programming Objective Question

Question

In Python, which control structure is used for decisions and branching?
Options
A Sequential
B Selection
Correct Answer
C Repetition
D Iteration
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 18 explicitly states: 'Selection – used for decisions and branching.'

Hint

This structure allows different code paths based on a condition.

Question Info