Thursday, October 6

Fundamental to QBasic


In this thread, I will make you aware of the basic language that study in our early most class, std. 6th, when we are capable of understanding the fore most terms that make a basic program. The basic language is QBasic or Quick Basic. This language of computers is the easiest one and even a beginner to computer can compile a basic program out with it. This language is even easy than C programming, even C is somewhat advanced to it. So we will learn it later. 

 
 
You can download a copy of QBasic from here,
Download Link: HERE

Now let’s begin: 

Some uses:
Can be used to create a calculator, and even can help in calculating various mathematical expressions. And can also create a report card of few subjects of as many students you want. Helps in comparing two or more numbers, display a table of a number. In short, I would say it is the best tool ever that can use by the students of mathematical to solve their problems in an easy and interesting manner.

Some Basic Commands:

CLS – Clearing the screen.

INPUT – For entering any data.

PRINT – For printing a data.

LET – For pre-define value of a variable.
E.g. LET X = 1 To 6

Variable – It is fixed during a program
E.g. A = 6

END – End program.

Some Basic Programs:
 

SORRY! Here, the BOX between A and 2 is “*”. As the software I used to make the screenshot of a program does not support “*”. So the box appeared. I am Sorry for it...

Program to Compare Two Numbers - 



Here, I explained you about some basic programs I learned when I first used this language to learn the basic of it. So, Well I guess now even you can compile some programs by yourself too.
And if you got stuck to any point while compiling a program. Even you can post the code of your program, where you’re stuck, in the comment section and I will help you with it. And even I will share some more programs with you all in the comment or in my next post.

Download a copy of QBasic from here:
Download Link: HERE

Even you can share one with all and get few tips or any more suggestion on the one you compiled.
So, at last my post on “Fundamental to QBasic” ends here.
Thanks

No comments:

Post a Comment

Enter your Comment...