Unlike other programming language,Small Basic does not have……………logical operator.
a)AND b)OR c)NOT d)None of these
Answers
Explanation:
What is an Operator
An operator is a symbol to express an operation (function).
Unary Operator
An unary operation has one operator and one operand.
Sign Operator
In Small Basic, sign operator is only minus. So, plus operator becomes error such as x = +1.
- minus
Binary Operators
An binary operation has one operator and two operands.
Substitution Operator
Substitution statements in Small Basic give value into variables or properties with substitution operator.
= (substitute)
Arithmetic Operators
There are for arithmetic operators in Small Basic.
+ (add)
- (subtract)
* (multiple)
/ (divide)
Comparison Operators
There are six comparison operators in Small Basic. These operators can be used in conditions for If, While and For statements. Only equal (=) operator can compare two texts or two numbers. Other operators are for numbers only.
= (equal to)
< (less than)
> (greater than)
<= (less than or equal to)
>= (greater than or equal to)
<> (not equal to)
Logical Operators
There are two logical (Boolean) operators in Small Basic. Logical operators can be used in conditions for If and While statements.
And
Or
Text Operator
There is one text operator in Small Basic. This operator uses same character (+) for add operator. If one of two operands is not number, the operator is treated as concatenate.
+ (concatenate)
Answer:
the answer of this question is +