Answer
64.8k+ views
Hint: The logic gates includes the OR gate, AND gate, NOR gate, NAND gate and NOT gate. Out of which the NOR gate, NAND gate and NOT gates are the negative logic gates. They have a wide range of applications in a day to day life, out of which the given question is also one of those.
Complete solution:
From the given data, it is clear that the garages should open automatically when a car enters either of the two garages. This condition is fulfilled by the OR gate. This is because the gate provides the output $1$ , when any one of the input is $1$ or if both the input is $1$.
But if both the output is $0$ , then the result will also be $0$ . That is if a car enters any one of the garages or if the car enters both the garages the doors will be opened automatically, else the garages will be closed. The below table shows the condition of the OR gate.![](https://www.vedantu.com/question-sets/4f066bd5-0a73-40d5-94d5-07b5ed2859bf7284016621070669562.png)
Hence the OR gate resembles this situation of the car garages.
Note: On the other hand, let us take the AND gate in this situation. If the logic gates AND is used, then the garages will be automatically open only if the car enters both the garages at a time. Hence the AND gate is not the answer for this condition.
Complete solution:
From the given data, it is clear that the garages should open automatically when a car enters either of the two garages. This condition is fulfilled by the OR gate. This is because the gate provides the output $1$ , when any one of the input is $1$ or if both the input is $1$.
But if both the output is $0$ , then the result will also be $0$ . That is if a car enters any one of the garages or if the car enters both the garages the doors will be opened automatically, else the garages will be closed. The below table shows the condition of the OR gate.
![](https://www.vedantu.com/question-sets/4f066bd5-0a73-40d5-94d5-07b5ed2859bf7284016621070669562.png)
Input 1 | Input $2$ | Output |
$0$ | $0$ | $0$ |
$0$ | $1$ | $1$ |
$1$ | $0$ | $1$ |
$1$ | $1$ | $1$ |
Hence the OR gate resembles this situation of the car garages.
Note: On the other hand, let us take the AND gate in this situation. If the logic gates AND is used, then the garages will be automatically open only if the car enters both the garages at a time. Hence the AND gate is not the answer for this condition.
Recently Updated Pages
Write a composition in approximately 450 500 words class 10 english JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Arrange the sentences P Q R between S1 and S5 such class 10 english JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
What is the common property of the oxides CONO and class 10 chemistry JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
What happens when dilute hydrochloric acid is added class 10 chemistry JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
If four points A63B 35C4 2 and Dx3x are given in such class 10 maths JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
The area of square inscribed in a circle of diameter class 10 maths JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Other Pages
A boat takes 2 hours to go 8 km and come back to a class 11 physics JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Electric field due to uniformly charged sphere class 12 physics JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
In the ground state an element has 13 electrons in class 11 chemistry JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
According to classical free electron theory A There class 11 physics JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Differentiate between homogeneous and heterogeneous class 12 chemistry JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Excluding stoppages the speed of a bus is 54 kmph and class 11 maths JEE_Main
![arrow-right](/cdn/images/seo-templates/arrow-right.png)