Computer PPSC
Which of the following are all Boolean operators?
Show answer
Correct answer: B) AND, OR, NOT
The three fundamental Boolean operators are AND, OR and NOT. NOR is a derived gate, and IF, THEN, ELSE are control-flow keywords, not Boolean operators.
Related facts:
AND gives true only when both inputs are true.
OR gives true when at least one input is true.
NOT inverts the input value.
Exam tip: Boolean operators are exactly AND, OR and NOT.
Explanation
The three fundamental Boolean operators are AND, OR and NOT. NOR is a derived gate, and IF, THEN, ELSE are control-flow keywords, not Boolean operators.
Related facts:
AND gives true only when both inputs are true.
OR gives true when at least one input is true.
NOT inverts the input value.
Exam tip: Boolean operators are exactly AND, OR and NOT.