KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Explain AND, OR, and X-OR logic gates with their truth tables.

Computing Evolution

1 Like

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 XInput YOutput (X · Y)
000
010
100
111

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 XInput YOutput (X + Y)
000
011
101
111

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 XInput YOutput (X ⊕ Y)
000
011
101
110

Answered By

2 Likes


Related Questions