COMPUTER SCIENCE AND ENGINEERING
ALGORITHMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Logical operators
|
|
Combination operators
|
|
Algorithmic operators
|
|
Flow operators
|
Detailed explanation-1: -Also known respectively as complementation, conjunction, and disjunction, these three logical connectives are the Boolean operators, which can be represented more technically but not yet symbolically as NOT, AND, and OR.
Detailed explanation-2: -Logical expressions, like comparison expressions, return a true (1) or false (0) value when processed. Logical operators combine two comparisons and return the true (1) or false (0) value depending on the results of the comparisons.
Detailed explanation-3: -Boolean is just an alias for logical now since logical is also a MATLAB type. Boolean is still used in Simulink. Infact, boolean in itself just simply calls the function logical.
Detailed explanation-4: -Common logical operators include AND, OR, and NOT.