Single Choice
Moderate
QCharacter check A-Z uses:
ID: #25952
MCQ Quiz - Class 8 - Decision Control Structure
3 views
Question Info
#25952Q 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:
Compound condition like (c >= 'A' && c <= 'Z') checks if a character is an uppercase letter.
Why the other options are incorrect:
- Option B: Sequence alone can't check ranges.
- Option C: One character doesn't need a loop.
- Option D: The check is definite and useful.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic