Single Choice Moderate

QFor grade calculation, best is:

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

Choose the Best Option

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

  • A else-if ladder
  • B simple if
  • C loop
  • D sequence
Correct Answer

Explanation

Correct Answer Explanation:

Grade calculation naturally maps to an else-if ladder — cleanly checking each mark range in order.

Why the other options are incorrect:

  • Option B: Multiple simple ifs work but are less efficient.
  • Option C: Loops don't fit single classification.
  • Option D: Sequence can't classify by range.

Share This Question

Challenge a friend or share with your study group.