Write the truth table of AND and OR operators.
Answers
Answered by
1
Answer:
Since any Boolean variable can only be either 0 or 1 (Boolean algebra is a two- state system) then if it is 0 its complement is 1 and vice versa. ... The input(s) and output(s) are used to label the columns of a truth table, with the rows representing all possible inputs to the circuit and the corresponding outputs
Answered by
1
Answer:
We can combine several "boolean" statements that have true/false meaning into a single statement using the key concepts AND and OR (and NOT). If I want to go to the movie AND I have enough money, then I will go to the movie. BOTH conditions have to evaluate to true (have to be true) before the entire expression is true.
Explanation:
OR is written with double "pipes" ||
AND is written with double "ampersands" &&
True is written: true;
False is written: false;
Similar questions