Robotics & Artificial Intelligence
Answer
AND Gate:
The AND gate produces output '1' only when both inputs are '1'. For all other input combinations, the output is '0'.
Truth Table (AND Gate):
| Input X | Input Y | Output (X · Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR Gate:
The OR gate produces output '1' when at least one input is '1'. It produces '0' only when both inputs are '0'.
Truth Table (OR Gate):
| Input X | Input Y | Output (X + Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
X-OR (Exclusive OR) Gate:
The X-OR gate produces output '1' when the two inputs are different (one is '1' and the other is '0'). It produces '0' when both inputs are the same.
Truth Table (X-OR Gate):
| Input X | Input Y | Output (X ⊕ Y) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Related Questions
What do you understand by machine learning and deep learning? Explain.
Suppose you want to design a system to predict whether it would rain or not? Which computing technique would be suitable and why?
Why is binary logic system important?
Justify with the help of an example why probabilistic computing is better than deterministic computing in solving some real-world problems.