Single Choice
Moderate
QFor deciding day of week from 1-7 use:
ID: #25953
MCQ Quiz - Class 8 - Decision Control Structure
3 views
Question Info
#25953Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
Mapping numbers 1-7 to weekday names is a multi-way selection — perfect for else-if ladder or switch.
Why the other options are incorrect:
- Option B: Loops don't classify.
- Option C: Sequence can't handle multiple cases.
- Option D: One if can't handle 7 cases cleanly.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic