Logic gateMedium

Question

Two 4 bits binary numbers, $A = 1101$ and $B = 1010$ are given in the inputs of a logic circuit shown in figure below. The output (Y) will be :

Options

A.$Y = 1101$
B.$Y = 0010$
C.$Y = 0111$
D.$Y = 1000$

Solution

Sol. [Key Concept: Invert A then NAND it with B: the output simplifies to $Y = A + B'$ (with $B'$ the complement of B); compute it bitwise.]

$${Y = \overline{\overline{A} \cdot B} = A + \overline{B} }{A = 1101 }$$B = 1010

$${\overline{B} = 0101 }{A + \overline{B} = 1101 }$$

Create a free account to view solution

View Solution Free
Topic: Logic gate·Practice all Logic gate questions

More Logic gate Questions