Question Detail

COS 102 6 lecture note; fundamentals of programming Objective Question

Question

Which of the following is NOT listed as a type of decision control statement in Python?
Options
A Simple If
B If – else
C Nested If
D GoTo statement
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

Page 20 lists Simple If, If-else, Nested If, and If-elif-else as decision control statements. GoTo statements are generally avoided in structured programming and are not a standard control flow construct in Python.

Hint

Recall the conditional statements discussed for decision-making.

Question Info