Single Choice Moderate

QCorrect chain form is:

ID: #25865 MCQ Quiz - Class 8 - Programming 5 views
Question Info
#25865Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

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

  • A if...else if...else if...else
  • B if else if only
  • C else if else
  • D None
Correct Answer

Explanation

Correct Answer Explanation:

The valid form: if starts the chain, one or more else if follow, and an optional else at the end.

Why the other options are incorrect:

  • Option B: Missing the initial if.
  • Option C: Missing initial if.
  • Option D: The chain form exists — 'none' is wrong.

Share This Question

Challenge a friend or share with your study group.