Let's start to learn computer programming with the Q-BASIC
An overview about Q-BASIC:
Before learning about Q-BASIC ,let's talk about the BASIC. BASIC stands for Begineers All Purpose Symbolic Instructions Code. It is the high level programming language specially designed for learners or begineers. It was designed by professor J.G Kemeny and Thomas Kurtz at Darthmouth college New Hampshire U.SA.
Different versions of BASIC are:
i)BASICA ii)GWBASIC
iii)QBASIC iv)Turbo BASIC
Q-BASIC is language processing software which contains many facilities required by a programmer including compiler.It was developed by Microsoft Company in 1985 A.D. It stands for Quick-Begineers All Purpose Symbolic Instuction Code. Some of it's features are as follow:
Modes of Q-BASIC:
a.Immediate mode:
Immediate mode is check syntax and displays immediately result to the next line after pressing Enter key
b.Programming Mode:
Programming mode is used to write whole program and execute by pressing F5 key
Some important technical terms about the Q-BASIC:
1)Write a programme (WAP)to find the perimeter a rectangle.
CLS
Input "enter the lenght";L
Input "enter the breadth";B
Let P=2*(L+B)
Print "Perimeter of rectangle";P
END
2)WAP to find sum of any three numbers.
CLS
Input "enter the value";a
Input "enter the value";b
Input "enter the value";c
sum=a+b+c
print"the sum of the three numbers";sum
END
3)WAP to input the temperature is celsius and convert it in farenheit.
CLS
Input "enter temperature in celcius";c
Let F= 9/5*c+32
Print"equivalent temperature in fareheit is";F
END
An overview about Q-BASIC:
Before learning about Q-BASIC ,let's talk about the BASIC. BASIC stands for Begineers All Purpose Symbolic Instructions Code. It is the high level programming language specially designed for learners or begineers. It was designed by professor J.G Kemeny and Thomas Kurtz at Darthmouth college New Hampshire U.SA.
Different versions of BASIC are:
i)BASICA ii)GWBASIC
iii)QBASIC iv)Turbo BASIC
Q-BASIC is language processing software which contains many facilities required by a programmer including compiler.It was developed by Microsoft Company in 1985 A.D. It stands for Quick-Begineers All Purpose Symbolic Instuction Code. Some of it's features are as follow:
- It has full screen editor which checks syntax errors.
- It supports structural programming.
- It checks syntax of statement automatically.
- Q-BASIC editor has it's own interpreter
Modes of Q-BASIC:
a.Immediate mode:
Immediate mode is check syntax and displays immediately result to the next line after pressing Enter key
b.Programming Mode:
Programming mode is used to write whole program and execute by pressing F5 key
Some important technical terms about the Q-BASIC:
- Commad : Command is the keyword that instructs the computer to carryout the action.
- Statement: The set of instructions written using keywords or commands to write program is called statements
- Variable: Variable is a data item whose values are changeable during the time of program executing
- Constant: Constant are the data items whose values remain during the time of program execution.
- Syntax: Syntax is the rule that is needed to follow while writing meaning in Q-BASIC.
1)Write a programme (WAP)to find the perimeter a rectangle.
CLS
Input "enter the lenght";L
Input "enter the breadth";B
Let P=2*(L+B)
Print "Perimeter of rectangle";P
END
2)WAP to find sum of any three numbers.
CLS
Input "enter the value";a
Input "enter the value";b
Input "enter the value";c
sum=a+b+c
print"the sum of the three numbers";sum
END
3)WAP to input the temperature is celsius and convert it in farenheit.
CLS
Input "enter temperature in celcius";c
Let F= 9/5*c+32
Print"equivalent temperature in fareheit is";F
END
This comment has been removed by the author.
ReplyDeleteSir interesting xa aaru dherai programming post garnu xa
ReplyDeletethank you samarpan khadka for supporting us
Deletewe will be looking forward to post new programmings
Stay Connected with us
Interesting Sir It's very good so I like it plz sir post more programming about Q-BASIC.
ReplyDeleteI want to get more knowledge about this program.
Thank you Shiva Budhathoki ;
Deletewe will be always attentive for your knowledge bulid up and we will be more eager to post
q basic programming
just stay connected with us
welcome sir as well as tq sir
Delete
ReplyDeleteGood job.. keep doing...
thank you soo muchh........!!!!!!!!!!!!!!! :) :) :)
DeleteStay connected with us Sir
DeleteFor more information
wish it helped you