What is QBasic? What are features of QBasic?

What is QBasic?
  • QBasic is a high level programming language developed by Microsoft Corporation in 1985. It is modular programming language where program is divided in different modules or procedures. Qbasic is easy to learn. It uses English like keywords and mathematical symbols to write a program.

Features of QBasic
  1. It is simple and easy to learn.
  2. It automatically checks syntax. Errors are identified and reported in a convenient way so that it is easier for the user to correct them immediately.
  3. It capitalizes the reserved words (keywords) automatically.
  4. It allows you to break lengthy programs into modules.
  5. QBASIC interprets a statement of a program at a time to CPU.  
  6. It has dynamic program debugging feature.
  7. It supports local and global variables. 
  8. It consists a simple user interface and menu structure and helps to develop the program with less number of steps.
  9. A single program can be separated into individual and logically independent modules.
  10. It also provides online help when required.

QBasic contains two window:
  1. Program Window: The upper window which is titled as ‘Untitled’ is the window where you write programs. This window is called Program Window. To see the output of the statements written in this window, pess Shift + F5 key.
  2. Immediate Window:The lower window which is titled as ‘Immediate’ is known as Immediate Window. It is the window to test commands, expressions etc. As soon as Enter key is pressed, it displays the output on the screen.
    • Importance of immediate window 
      • The immediate window is used if the user wants to get the output of a single statement.
      • To use the immediate window, the statement should be written in the immediate window and press the enter key. The output should be immediately displayed on the screen.

Note: F6 function key is used to switch from Program Window to Immediate Window and vice versa.

Share :

Twitter
Back To Top

facebook main

counter

Powered by Blogger.