jagomart
digital resources
picture1_Qbasic Programming Pdf 189606 | Introduction To Qbasic


 202x       Filetype PDF       File size 0.03 MB       Source: onlinetechstudies.files.wordpress.com


File: Qbasic Programming Pdf 189606 | Introduction To Qbasic
what is qbasic qbasic stands for quick beginner s all purpose symbolic instruction code qbasic is the most popular high level programming language it was invented in 1963 at dartmouth ...

icon picture PDF Filetype PDF | Posted on 03 Feb 2023 | 2 years ago
Partial capture of text on file.
          What is QBASIC? 
               QBASIC stands for Quick Beginner’s All Purpose Symbolic Instruction 
                Code. 
               QBASIC is the most popular high level programming language. 
               It was invented in 1963, at Dartmouth College, by the mathematicians John 
                George Kemeny and Tom Kurtzas. 
               Various versions of BASIC have been developed by Microsoft Company.  
               BASIC is an interpreter (which means it reads every line, translates it and 
                lets the computer execute it before reading another) for the BASIC 
                programming languages provided by Microsoft with the MSDOS and 
                Windows 95 operating systems. It replaces GW-BASIC.  
                 
          Advantages of QBASIC 
               This language is quite simple to understand and has been adopted by most of 
                the microcomputers. 
               It is suitable for both mathematical and business problems. 
                 
          Rules of QBASIC 
          Every programming language has a set of rules that have to be followed while 
          writing a program, following are some rules of QBASIC language: 
                1. All QBasic programs are made up of series of statements, which are 
                  executed in the order in which they are written. 
                   
                2. Every statement should have at least one QBasic command word. The 
                  words that BASIC recognizes are called keywords. 
                3. All the command words have to be written using some standard rules, 
                  which are called “Syntax Rules”. Syntax is the grammar of writing the 
                  statement in a language. Syntax   Errors are generated when improper 
                  syntax is detected. 
                 
          Types of mode 
           Direct mode                             Program mode 
            1. Accept single line instruction      1.  Accept multi line instruction 
               from the user.                         from the user. 
            2.  It does not have any line          2.  It has line number. 
               number. 
             3.  The instructions are not stored     3.  The instructions are stored in          
                in memory.                              memory.                                 
             4.  We press enter key to get the       4.  We give the command RUN to 
                output.                                 get the output.                         
             5.  E.g. : print 3+4                    5.  E.g.: 10 print 3+4                     
                                                               20 end 
                                                               run                              
           
          Questions for practice: 
           
          A. Fill in the blanks. 
               
             1. QBASIC stands for _________________________. 
             2. QBASIC is a _____________________ programming language. 
             3. QBASIC was invented in ________, at Dartmouth College, by the 
                mathematicians _____________________and ______________________. 
             4. BASIC is an _________________________. 
                 
          B.  Answer the following questions. 
               
             1. Why BASIC is an interpreter? 
             2. What the rules for writing a QBASIC program? 
             3. What are the differences between Direct mode and Program mode? 
             4. What are the advantages of QBASIC? 
          __________________________________________________________________ 
           
           
           
           
The words contained in this file might help you see if this file matches what you are looking for:

...What is qbasic stands for quick beginner s all purpose symbolic instruction code the most popular high level programming language it was invented in at dartmouth college by mathematicians john george kemeny and tom kurtzas various versions of basic have been developed microsoft company an interpreter which means reads every line translates lets computer execute before reading another languages provided with msdos windows operating systems replaces gw advantages this quite simple to understand has adopted microcomputers suitable both mathematical business problems rules a set that be followed while writing program following are some programs made up series statements executed order they written statement should least one command word words recognizes called keywords using standard syntax grammar errors generated when improper detected types mode direct accept single multi from user does not any number instructions stored memory we press enter key get give run output e g print end questi...

no reviews yet
Please Login to review.