Introduction
A computer perform operation in response to data and instruction. This is done with the help of a program. A program is a list of steps that instruct the computer on how to solve a problem. BASIC is composed of easily understandable statements and command and is one of the simplest programming language to learn. BASIC provides an interactive human machine interface by allowing direct communication with the processor. It is a conversational programming language that use simple English-like statements and familiar mathematical notations to perform an operation.
Like all programming languages BASIC has a grammar and a vocabulary. Grammar refers to the rules of the syntactical relation of BASIC statements. The vocabulary consists of set of symbols. A discrete string of symbols is referred as a statement.
Operators perform mathematical or logical operations on values.
The operators provided by BASIC are divided into four categories :
1. Arithmetic operators
2. Relational operators
3. Logical operators
4. String operators
No comments:
Post a Comment