# PSC HELPER

Public Service Commission Preparation & Blogging

Practical Guides

Practice Sets

Tips & Tricks

Practical Guides

Practice Sets

Tips & Tricks

Practical Guides

Practice Sets

Tips & Tricks

Practical Guides

Practice Sets

Tips & Tricks

MCQ Sets

MCQ Sets

MCQ Sets

MCQ Sets

MCQ Sets

MCQ Sets

MCQ Sets

## Interviews Preparations

### Tips & Tricks

Based on Experience

Modal Sets

Modal Sets

Modal Sets

Modal Sets

Modal Sets

Tutorials

Tutorials

Tutorials

Tutorials

Tutorials

Tutorials

## Blogging & Wordpress Tutorials, Courses

Tips

Tips

New Strategies

New Strategies

Make Money

Make money

Guide

Guide

For Beginners

For Beginners

Tutorials

Tutorials

How to start?

How to start?

Intermediate

### Wordpress

Intermediate

The following are the elements of Qbasic Language.
1. Character set.
2. Variables.
3. Constant.
4. Operators.
5. Expression.
6. Statement.

1. Character set:  The following are the character set that are used in Qbasic Programming Language while written in program.
• Digit: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
• Letters: A-Z, a-z
• Special Characters: +, -, *, <, >, =, ', ", ;, /, ^, #, \$, %, !, ?
2. Variables: To store data in the computer, location are used. To locate or naming the address variables are used. Variable is a symbolic name that is used to store data (numbers, text, string, special characters etc) in the computer memory. During the program execution, the value of a variable is assigned to the computer memory. The following are the types of variables.
• Numeric Variable
• String Variable
a. Numeric Variable: Numeric Variable is a symbolic name which  is used to store only the numeric data.  To declare numeric variable, the characters A-Z, a-z, string, special characters are used. For example
x=5
a=10
A=12.5
B=10
SUM=A+B
A_DD=1+2

b. String Variable: String Variable is a symbolic name which is used to store text, text with numbers. \$ sign is used at the end of string variable. The value of the string variable is stored in double quotation marks " ". The following are the example to store string variable.

NAME\$ = "My name is Mohan Bhatt."
Live\$ = "I live in Api 12, Darchula."

In the above example, NAME\$, Lives\$ are the string variables which stores the value "My name is Mohan Bhatt." and "I live in Api 12, Darchula."

3. Constant: Constant is the fixed value which is used in  the program.They are two types.

• Numeric Constants.
• String Constants.
a. Numeric Constants: Numeric constant is a numeric value which is used in program. For example,

SUM = 10 + 5
In the above example, 10 and 5 are numeric constants.

b. String Constants: String constant is a string value which is used in program. In other words, it is the collection of numbers or texts or text with numbers. For example

A\$="Computer"
B\$="Text_Apple"