Keywords are specific words that are reserved as programming language commands. This words may only be used for their intended purpose some of the keywords of QBASIC programming are REM, INPUT, PRINT etc.
Logical Operators combine two or more relational expressions to evaluate a single value as True (Non Zero) or False (Zero). The result of evaluation is used to make decisions about the program flow. The commonly used logical operators in QBASIC are AND, OR and NOT. It's any two types are as follows: a)AND b) OR
Two rules of logical operator are as follows. i) The output of the logical AND operation is TRUE if Both the logical expressions are individually TRUE. ii) The output of the logical OR operation is TRUE if either or the logical expressions is TRUE.
Comments
Post a Comment