Single Choice Moderate

QAvoid overly deep:

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

Choose the Best Option

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

  • A Nesting
  • B Comments
  • C Loops
  • D Variables
Correct Answer

Explanation

Correct Answer Explanation:

Deep nesting makes code hard to read and understand. Use else-if ladders, guard clauses, or extract into functions to flatten structure.

Why the other options are incorrect:

  • Option B: Comments should be sufficient and clear.
  • Option C: Loops are needed and should be used well.
  • Option D: Variables are needed and should be used well.

Share This Question

Challenge a friend or share with your study group.