The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+16 votes

In the following truth table, $V = 1$ if and only if the input is valid.

Inputs Outputs
$D_0$ $D_1$ $D_2$ $D_3$ $X_0$ $X_1$ $V$
$0$ $0$ $0$ $0$ $x$ $x$ $0$
$1$ $0$ $0$ $0$ $0$ $0$ $1$
$x$ $1$ $0$ $0$ $0$ $1$ $1$
$x$ $x$ $1$ $0$ $1$ $0$ $1$
$x$ $x$ $x$ $1$ $1$ $1$ $1$

What function does the truth table represent?

  1. Priority encoder    
  2. Decoder    
  3. Multiplexer    
  4. Demultiplexer
asked in Digital Logic by Veteran (355k points)
retagged by | 1.3k views

3 Answers

+22 votes
Best answer

Answer is A.

For $2^n \text{ inputs we are having } n \text{ outputs. Here n=2. }$

answered by Active (4.2k points)
selected by
what is significance of don't care here in priority encoder.

To Give priority to Di+1 over Di


A multiplexer or MUX is a combination circuit that contains more than one input line, one output line and more than one selection line. Whereas, an encoder is also considered a type of  multiplexer but without a single output line. It is a combinational logic function that has $2^{n}$ (or fewer) input lines and $n$ output lines.

+9 votes


answered by Boss (12.7k points)
–6 votes
ans b)
answered by Active (5.2k points)
Ans should b A

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,111 questions
45,619 answers
49,291 users