Computer Studies
Name the three types of logical operators and also mention how they are used in QBASIC.
Related Questions
Complete the table with reference to arithmetical operators as shown below:
Operation Operand Format used in QBASIC Multiplication M * N Addition + M / N ^ Subtraction M - N Write down the names of the following relational operators:
Relational Operator Meaning > <= = <> < >= Convert the following mathematical expressions into QBASIC expressions.
Mathematical Expressions QBASIC Expressions 4 x 5 + 15 a + bc (ab + cd)/2 pqr a2 + b3 + c4 Rewrite the given instructions in QBASIC:
- The product of p, q and r is divided by 100.
- m raised to the power 2 plus n raised to the power 3.
- The sum of a and b is divided by the product of a and b.
- Subtract 5 from m and the result is multiplied by 10.
- The sum of p and q is multiplied by 2.
- A is greater than or equal to B.
- The sum of A and B is less than the product of A and B.
- Twice the product of A plus thrice the product of B is greater than or equal to 50.