Solveeit Logo

Question

Question: Write the truth table of logic OR gate....

Write the truth table of logic OR gate.

Explanation

Solution

Logic gates are the switching circuit where two or more inputs are given and one output is obtained. The inputs given are either high (ON) or low (OFF). There are basically three main logic gates, one of which is the OR gate. Here we have to write the truth table for OR gate. Truth table is the tabulated representation of given inputs and obtained output.

Complete step by step answer:
Logic gates are the digital circuit or switching circuit with one or more inputs and single output.
The given inputs can be either high or low or in binary language it can be either 1 or 0. Similarly output can value either values of 1 or 0. The tabulate representation of the inputs and output in binary language is known as truth table.
As mentioned earlier, logic gates are mainly of three types: AND gate, OR gate, NOT gate.
Here we will discuss the OR gate. Basically, OR gates have two or more inputs where all can be high or all can be low or combination of high and low. For all the combinations of inputs if any one input is high we will get the output high. The only case where we can get low input is when all inputs are low. Hence, the truth table for OR gate having two inputs can be given as

ABY
000
011
101
111

Where A and B are the inputs and Y is the output.
Circuit diagram for OR gate can be given as

Symbol for OR gate is given as

And Boolean expression for logic gate is
A+B=Y
Where + denotes the OR operation.

Note: The truth table is always given in terms of 1 and 0 which is in binary language. 1 denotes high input or high signal and 0 represents low input or low signal. From the Boolean expression also we can see that the only case where we will get 0 is where both inputs are 0. The + sign represents OR operation not mathematical addition or binary addition.