Single Choice Moderate

QProgram to test max of two uses:

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

Choose the Best Option

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

  • A if-else
  • B Only sequence
  • C Only loop
  • D Only nested loops
Correct Answer

Explanation

Correct Answer Explanation:

if-else checks which is larger and prints accordingly — the two-way branch handles both outcomes.

Why the other options are incorrect:

  • Option B: Sequence can't compare and decide.
  • Option C: No repetition needed.
  • Option D: Nested loops are unnecessary.

Share This Question

Challenge a friend or share with your study group.