Single Choice Moderate

QCheck positive/negative uses:

ID: #25935 MCQ Quiz - Class 8 - Decision Control Structure 2 views
Question Info
#25935Q 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 loop only
  • C sequence only
  • D None
Correct Answer

Explanation

Correct Answer Explanation:

Checking if a number is positive or negative requires comparison — if-else provides the two branches needed.

Why the other options are incorrect:

  • Option B: No repetition needed.
  • Option C: Pure sequence can't compare and decide.
  • Option D: The problem needs decision logic.

Share This Question

Challenge a friend or share with your study group.