Single Choice Moderate

Qif statement executes body when:

ID: #25910 MCQ Quiz - Class 8 - Decision Control Structure 3 views
Question Info
#25910Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Condition is true
  • B Condition is false
  • C Always
  • D Never
Correct Answer

Explanation

Correct Answer Explanation:

The if body executes only when the condition evaluates to TRUE.

Why the other options are incorrect:

  • Option B: When false, the if body is skipped.
  • Option C: 'Always' would defeat the purpose of decision-making.
  • Option D: 'Never' means the body never runs, which is wrong.

Share This Question

Challenge a friend or share with your study group.