Single Choice Moderate

Qif-else provides:

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

Choose the Best Option

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

  • A Two paths
  • B One path
  • C No path
  • D Loop
Correct Answer

Explanation

Correct Answer Explanation:

if-else provides exactly two paths: one for when the condition is true (if block), another for false (else block).

Why the other options are incorrect:

  • Option B: One path is plain if without else.
  • Option C: 'No path' isn't a valid decision structure.
  • Option D: Loops repeat; if-else chooses.

Share This Question

Challenge a friend or share with your study group.