11/28/2024

Class 8 Chapter 20 Introduction to QBASIC Programming Language

 Chapter 20 Introduction to QBASIC Programming Language 

Write very short answer of the following questions. 
a. When was the programming language BASIC developed? 
Ans: BASIC programming language was developed in 1964.
b. Is Java high level programming language?
Ans: Yes, Java is a high-level programming language.
c. QBASIC is Compiler or Interpreter based programming language? 
Ans: QBASIC is an Interpreter-based programming language.
d. What is the extension of QBASIC program file? 
Ans: The extension of a QBASIC program file is .BAS (Dot BAS)
e. Which key is used to run QBASIC program? 
Ans: The F5 key is used to run a QBASIC program.
f. In which window you can see the result immediately after pressing enter key? 
Ans: You can see the result immediately in the Immediate Window.
g. Which part of QBASIC is located at top most windows? 
Ans: The title bar is located at the topmost part of the QBASIC window.

Write short answer of the following questions: 
a. What is BASIC programming language? 
Ans: BASIC is a simple, high-level programming language designed for beginners. It has easy-to-understand syntax and was widely used for learning programming and creating simple applications.

b. Write the different versions of BASIC programming language. 
Ans: Different version of BASIC are:
  • True BASIC
  • QBASIC
  • Visual BASIC
  • GW-BASIC
  • BASIC-256
  • c. Why is QBASIC called an interpreter based programming language? 
    Ans: QBASIC is called an interpreter-based language because it executes code line by line, without compiling the entire program.

    d. What are the different parts of QBASIC window? 
    Ans:The different parts of the QBASIC window are:
    1. Title Bar: Displays the name of the program.
    2. Menu Bar: Contains options like File, Edit, Run, etc.
    3. Tool Bar: Provides quick access to common tools.
    4. Editor Window: Where the code is written.
    5. Immediate Window: Displays output and results of commands.
    6. Status Bar: Shows information like the current line number.
    e. What is the difference between immediate window and view window? 
    Ans: The Immediate Window in QBASIC allows you to enter commands and see their results instantly, helping with testing and debugging code. 
    The View Window, on the other hand, shows the output of the program when it is run, displaying results like printed text or graphical outputs generated by the program.

    f. What do you mean by running a program? 
    Ans: Running a program means executing the code so the computer performs the tasks as instructed, producing results or interacting with the user.

    Write long answer of the following questions. 
    a. What is programming? Why is programming necessary? 
    b. What is BASIC programming language? Discuss the features of QBASIC.



    Disclaimer: This content is provided to assist and support your learning. It is intended to help you understand the concepts better, but it is important to study and practice the material on your own as well. Please use this as a reference and not as a substitute for your own efforts in learning.

    No comments:

    Post a Comment