English

In a two-input logic gate, when one input is 1 and the other is 0 the output is 1. But even if both inputs are 0, the output is 1. The logic gate is ______.

Advertisements
Advertisements

Question

In a two-input logic gate, when one input is 1 and the other is 0 the output is 1. But even if both inputs are 0, the output is 1. The logic gate is ______.

Options

  • a X-OR gate

  • an AND gate

  • a NOR gate

  • a NAND gate

MCQ
Fill in the Blanks
Advertisements

Solution

In a two-input logic gate, when one input is 1 and the other is 0 the output is 1. But even if both inputs are 0, the output is 1. The logic gate is a NAND gate.

Explanation:

According to a given situation, the truth table can be given as,

Input Output
A B AB `(Y) = overline(AB)`
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0

Hence, the given logic gate is the NAND gate.

shaalaa.com
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×