Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent

The commands used for adding comments in QBASIC programming is

Computer Studies
WAEC 2023

The commands used for adding comments in QBASIC programming is

  • A. PRINT
  • B. REM
  • C. CLS.
  • D. INPUT
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Correct Answer: Option B
Explanation

The command used for adding comments in QBASIC programming is "REM."

In QBASIC, the "REM" statement is used to insert comments within your code. Comments are lines of text that are ignored by the computer when the program is executed. They are used to provide explanations, notes, or documentation about the code for the programmer's or reader's understanding. Any text following the "REM" keyword on the same line is treated as a comment and is not executed by the program. For example:

REM This is a comment explaining the purpose of the following code.
PRINT "Hello, World!"

In the example above, the text following "REM" is ignored by the program, and only the "PRINT" statement is executed.

The other options are incorrect. CLS is a statement that clears the screen. INPUT is a statement that gets input from the user. PRINT is a statement that prints text to the screen.


Report an Error Ask A Question Download App
Your School's Whatsapp Group - Join Us now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent

Contributions ({{ comment_count }})

Please wait...

{{ settings.no_comment_msg ? settings.no_comment_msg : 'There are no comments' }}

Quick Questions

Post your Contribution

Please don't post or ask to join a "Group" or "Whatsapp Group" as a comment. It will be deleted. To join or start a group, please click here

{{ quote.posted_by.display_name }}
{{ settings.form_textarea_description }}
 
Post UTME Past Questions Agent
Your School's Whatsapp Group - Join Us now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
WAEC and NECO CBT App for Mobile Devices - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent
Your School's Whatsapp Group - Join Us now
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now