English

What is the difference between operator in mathematics and logic?

Advertisements
Advertisements

Question

What is the difference between operator in mathematics and logic?

Distinguish Between
Advertisements

Solution

Basis of Difference Mathematical Operator Logical/Boolean Operator
Operands Usually operates on numerical quantities Operates on Boolean values 0 and 1
Main operations Addition, subtraction, multiplication and division AND, OR and NOT
Result May be any numerical value Always 0 or 1
Inverse Additive and multiplicative inverses generally exist Logical subtraction and division are not defined
Example [2 + 3 = 5] [1 + 0 = 1] in Boolean OR
shaalaa.com
  Is there an error in this question or solution?
Chapter 11: Boolean Algebra - EXERCISE [Page 218]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 11 Boolean Algebra
EXERCISE | Q 17. | Page 218
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×