CHAPTER EIGHT

PROGRAMMING LANGUAGE

The Qbasic window comprised of the following parts:
    1. Title bar
    2. Menu bar
    3. Work space.

8.2.1.4. Basic terminologies

Some of the terminologies used in Basic are:

  1. Line number
  2. Remark (REM)
  1. Line number

This gives line numbers on the statements

  1. Remark (REM)

 This is a remark or comments written before a statement to give explanation
about the statement.

8.2.1.5. Basic commands or statements

Commands are the basic instructions which tell the computer or the Qbasic program what to do, how to do it and when to do it.
Some of the common Qbasic commands are:

  1. Print command
  2. CLS
  3. END
  4. INPUT
  5.  IF command, END IF,  and STOP commands

8.2.1.5. a. Print command

The first Basic command you should learn is the PRINT Command.

Example 1

PRINT command

Step 1

Open your Qbasic by double clicking on the icon. You will have something like this on your desk top.

Press ESC to clear the screen

Write your codes- Print "Well come to Jalingo Taraba State"

Click to page53 Page54 Click to page 55
Copyright2016@Digital Vision Jalingo. Nigeria
www.digitalvision.net.ng