Introduction on Qbasic
Introduction
QBasic stands for Quick Beginners All-purpose Symbolic Instruction Code. It's a high-level programming language developed by Microsoft. It is designed to be quick, versatile, and perfect for those new to programming. Imagine it as a language that speaks to your computer in simple sentences. IN 1963 A.D, it was developed by John Kemeny and Thomas Kurtz.
Features of Qbasic:
1. It is a user friendly language.
2. It is widely known and accepted programming language.
3. It is one of the most flexible languages
4. Debugging can be easily done.
2. It is widely known and accepted programming language.
3. It is one of the most flexible languages
4. Debugging can be easily done.
Elements of Qbasic:
1. Variables:
- Used to store and manipulate data during program execution.
2. Keywords:
- Reserved words with specific meanings in the QBASIC language.
3. Constants:
- Fixed values that do not change during program execution.
4. Operators:
- Symbols that perform operations on variables and values.
Characters set:
Character set is a group of valid characteristics and symbols supported by a programming language. QBASIC supports a variety of characters in its character set. Here are the main categories:
1. Alphabets:
- Uppercase letters: A-Z
- Lowercase letters: a-z
2. Numbers:
- 0,1,2,3,4,5,6,7,8,9
3. Special Symbols:
- ! @ # $ % ^ & * ( ) - + = { } [ ] | \ : ; " ' < > , . ? / _
Operators:
QBASIC supports various operators for performing different operations. It is a symbol which perform logical and arithmetic operations. Here are the main types of operators in QBASIC:
1. Arithmetic operators : +, -, *, / ,
2. Relational operators: =, <, > , <=, <=
3. Logical operators:AND , OR , NOT
Comments
Post a Comment