jagomart
digital resources
picture1_Qbasic Pdf 184987 | Structure Of Qbasic Keywords


 207x       Filetype PDF       File size 0.02 MB       Source: onlinetechstudies.files.wordpress.com


File: Qbasic Pdf 184987 | Structure Of Qbasic Keywords
5 command keywords in qbasic and their functions keywords are those words which have special meanings in qbasic keywords are formed by using characters of qbasic characters set keywords are ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
           5. COMMAND/KEYWORDS IN QBASIC AND THEIR FUNCTIONS 
            
                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 and their functions are: 
            
            Keywords            Functions of the keywords 
            LIST                command is used to list the program on the screen. 
            RUN                 command is used to execute the program. 
            LLIST               command is used to list of program as a hardcopy. 
            LPRINT              command is used to get the output of the program on the hard copy. 
            NEW                 command is used to clear the memory of the existing program. 
            SYSTEM              command is used to take you back to dos prompt. 
            PRINT               command  is used to view the display on the screen. 
            CLS                 command is used to clear the screen. 
            RME                 Command is used to take notes while writing a program. This is an abbreviation for remark. SYNTAX 
                                : REM notes. Anything after the REM command up to the end of the line is ignored by 
                                the Qbasic compiler.  
            SAVE                command is used to save the program. E.g. SAVE “PROGRAM1” QBasic will 
                                automatically add a period and an extension “bas” to the filename. 
            LOAD                command is used to LOAD the program from the disk to the memory. E.g. 
                                LOAD”PROGRAM1”. 
            INPUT               command  is used to input any data from the keyboard. SYNTAX: INPUT < VARIABLE > 
                                E.g. Input A 
                                Input N$ 
                                Input ”Enter your name:”; a$ 
            END                 command is usually given at the end of the program. 
            DELETE              command delete a line number in a program. 
                                E.g. Delete 10 will delete line number 10 
                                Delete 30-50 will delete all line numbers between 30 to 50 
                                SYNTAX: DELETE  
            
      Questions for practice:        
      A. Fill in the blanks. 
          
         1. Keywords are formed by using characters of QBASIC__________________________.  
         2. Keywords are also called _______________________. 
         3. ________________________ command delete a line number in a program. 
         4.  ________________________ command  is used to input any data from the keyboard. 
         5.  ________________________ command is usually given at the end of the program. 
         6.  ____________________________ is the extension of QBASIC file. 
         7.  ____________________________ command is used to LOAD the program from the disk to the memory. 
         8.  Anything after the ___________________________command up to the end of the line is ignored by the QBASIC compiler.  
         9.  ___________________________ command is used to execute the QBASIC program. 
         10.  __________________________ command is used to take you back to dos prompt. 
         11.  __________________________ command is used to clear the memory of the existing program. 
         12.  _______________________ command is used to get the output of the program on the hard copy. 
         13. ________________________ command is used to list of program as a hardcopy. 
         14. ________________________ command is used to list the program on the screen. 
         15. ___________________________ command  is used to view the display on the screen. 
          
         ___________________________________________________________________________________________________________ 
The words contained in this file might help you see if this file matches what you are looking for:

...Command keywords in qbasic and their functions are those words which have special meanings formed by using characters of set statements commands built names operators the also called reserved some list is used to program on screen run execute llist as a hardcopy lprint get output hard copy new clear memory existing system take you back dos prompt print view display cls rme notes while writing this an abbreviation for remark syntax rem anything after up end line ignored compiler save e g will automatically add period extension bas filename load from disk input any data keyboard variable n enter your name usually given at delete number all numbers between questions practice fill blanks file...

no reviews yet
Please Login to review.