Multiple choice

The _______ statement can be used to clear the output screen of any garbage before displaying program output.

  1. NEW

  2. ERASE

  3. CLS

  4. PRINT

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The CLS (Clear Screen) command is used to clear the output screen in BASIC programming. This removes any previous text or output, providing a clean slate for displaying new program results. It's especially useful when you want fresh, uncluttered output for the user.