Functional Operators

A function is used in an expression to call a predetermined operation to be performed in an operand They must be used in conjunction with either a statement or a command Examples are shown in table below Functions Meaning SIN (x) The sign of x Cos (x + y) The cosine of the addition of …

View Subject

Log Operators

They perform test on multiple relations, bit multiplication or Boolean operators and return a true (non-zero or false zero) value to be used in making decision Table 12.5 shows logical operators and their meanings. below are relational operators and their meaning Operator Operations NOT : Logical Complement AND : Conjunction OR : Disjunction (inclusive OR) …

View Subject

Expression and Operators

An expression is a rule for computing a value. Expressions in BASIC are classified into five main categories namely: 1. Arithmetic operation 2. Relational symbols / logic operations 3. Functional operators 4. Punctuation mark 5. Keywords

STATEMENTS

It is a computer instruction given to the computer defining what action or processing is to be carried out on data. It comprises of expression, assignments and reserved words. Examples are A = 27.57 ‘assignment statement.  

not allowed!