234k views
5 votes
Define the following BASIC terms:
1. Keywords
2. Constants
3.Variables

User Mayang
by
3.2k points

1 Answer

4 votes

Answer:

Step-by-step explanation:

  1. Keywords: Keywords are those words which have special meanings in QBASIC. Keywords are formed by using characters of QBASIC characters set. Keywords are statements, commands, functions (built in functions) and names of operators. The keywords are also called Reserved Words. Some reserved words are CLS, REM, INPUT, LET, PRINT, FOR, DO, SELECT, ASC, SQR, LEN, and INT.
  2. Constants: They are divided into:
  • Numeric constants: include all numbers (real, integer, not real,...)
  • Character constants: include all character sete (letters, digits, symbols) between two double quotation marks e.g. "BASIC", "the width is 83" etc.

3. Variables: A variable is a name which can hold or contain a value.

Hope this helps!!

User Banuj
by
3.3k points