
Write the truth table of logic OR gate.
Answer
568.8k+ views
Hint: 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
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.
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
| A | B | Y |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
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.
Recently Updated Pages
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

How much time does it take to bleed after eating p class 12 biology CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

