Free account: track your progress — Sign up free

WAEC Computer Studies 2025 Objective — Question 22

Question 22 of 50 from the West African Examinations Council (WAEC) Computer Studies 2025 Objective paper, with the correct answer and a full explanation.

Advertisement

The main function of the statement in line 20 (CLS) in the given QBASIC program is to:

  • A. Assign variable names before the execution of the current program
  • B. Create memory locations for all the variables that will be declared in the current program
  • C. Erase previously printed output on the screen before the output of the current programCorrect
  • D. Indicate that the current program is command based

Explanation

The CLS command simply clears (erases) previously printed output on the screen before the output of the current program.

Advertisement

Sign up free to unlock

  • Score tracking
  • Practice history
  • Saved questions
  • Progress dashboard
  • Personalized sessions
  • Weak-topic breakdown

…and/or go further with premium services and No Ads.