Free account: track your progress — Sign up free

GCE Computer Studies 2025 Objective — Question 22

Question 22 of 50 from the General Certificate of Education (GCE) Computer Studies 2025 Objective paper, with the correct answer and a full explanation.

Advertisement

Use the QBASIC program below to answer this question. The main function of the statement in line 20 (CLS) in the QBASIC program above is to

  • A. assign variable names before the execution of current program
  • B. create memory location 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

CLS (Clear Screen) clears any previously displayed output on the screen before the current program's output is shown.

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.