Single Choice Moderate

QComments are used to:

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

Choose the Best Option

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

  • A Explain code to humans
  • B Speed up program
  • C Delete files
  • D Print output
Correct Answer

Explanation

Correct Answer Explanation:

Comments explain code to human readers. The compiler ignores comments — they exist purely to help developers understand what the code does.

Why the other options are incorrect:

  • Option B: Comments don't affect execution speed.
  • Option C: Comments don't delete anything.
  • Option D: Print statements produce output, not comments.

Share This Question

Challenge a friend or share with your study group.